15.12.2012 Views

Implementing an IEEE 1588 V2 Node on the ColdFire MCF5441x ...

Implementing an IEEE 1588 V2 Node on the ColdFire MCF5441x ...

Implementing an IEEE 1588 V2 Node on the ColdFire MCF5441x ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Detailed descripti<strong>on</strong> of <strong>the</strong> <str<strong>on</strong>g>IEEE</str<strong>on</strong>g><str<strong>on</strong>g>1588</str<strong>on</strong>g> demo software<br />

4.5.1 Serial line c<strong>on</strong>sole<br />

14<br />

Table 2. Compile time c<strong>on</strong>figurati<strong>on</strong> opti<strong>on</strong>s of <strong>the</strong> MQX<str<strong>on</strong>g>1588</str<strong>on</strong>g> demo<br />

Opti<strong>on</strong> Value<br />

MQX<str<strong>on</strong>g>1588</str<strong>on</strong>g>DEMOCFG_ENABLE_WEBSERVER 1<br />

MQX<str<strong>on</strong>g>1588</str<strong>on</strong>g>DEMOCFG_ENABLE_TELNET_SERVER 1<br />

The MQX shell library is a part of MQX <str<strong>on</strong>g>an</str<strong>on</strong>g>d allows you to execute comm<str<strong>on</strong>g>an</str<strong>on</strong>g>ds <strong>on</strong> <strong>the</strong> target system ei<strong>the</strong>r<br />

through <strong>the</strong> serial line or <strong>the</strong> Telnet client. In additi<strong>on</strong> to <strong>the</strong> st<str<strong>on</strong>g>an</str<strong>on</strong>g>dard shell utilities, <strong>the</strong> user c<str<strong>on</strong>g>an</str<strong>on</strong>g> add o<strong>the</strong>r<br />

comm<str<strong>on</strong>g>an</str<strong>on</strong>g>ds to <strong>the</strong> shell. These c<str<strong>on</strong>g>an</str<strong>on</strong>g> be useful for setting up applicati<strong>on</strong> parameters, m<strong>on</strong>itoring <str<strong>on</strong>g>an</str<strong>on</strong>g>d c<strong>on</strong>trol<br />

of <strong>the</strong> PTP engine. The list of embedded shell comm<str<strong>on</strong>g>an</str<strong>on</strong>g>ds defined for <strong>the</strong> <str<strong>on</strong>g>IEEE</str<strong>on</strong>g><str<strong>on</strong>g>1588</str<strong>on</strong>g> demo applicati<strong>on</strong> is<br />

summarized in Table 3.<br />

Table 3. Embedded shell comm<str<strong>on</strong>g>an</str<strong>on</strong>g>ds overview<br />

Comm<str<strong>on</strong>g>an</str<strong>on</strong>g>d Functi<strong>on</strong>ality<br />

exit Usage — exit<br />

Exits <strong>the</strong> shell.<br />

ptp Usage — ptp [<strong>on</strong>|off]<br />

<strong>on</strong> – starts <strong>the</strong> IXXAT <str<strong>on</strong>g>IEEE</str<strong>on</strong>g><str<strong>on</strong>g>1588</str<strong>on</strong>g> engine<br />

off – stops <strong>the</strong> IXXAT <str<strong>on</strong>g>IEEE</str<strong>on</strong>g><str<strong>on</strong>g>1588</str<strong>on</strong>g> engine<br />

ptpdisplay Usage — ptpdisplay <br />

Selects what <str<strong>on</strong>g>IEEE</str<strong>on</strong>g><str<strong>on</strong>g>1588</str<strong>on</strong>g> specific runtime data will be printed out when show comm<str<strong>on</strong>g>an</str<strong>on</strong>g>d<br />

executed.<br />

Opti<strong>on</strong>s:<br />

offs – actual offset to master (unfiltered/filtered)<br />

mtsd – actual master-to-slave delay (unfiltered/filtered)<br />

stmd – actual slave-to-master delay (unfiltered/filtered)<br />

owd – actual <strong>on</strong>e-way delay (unfiltered/filtered)<br />

me<str<strong>on</strong>g>an</str<strong>on</strong>g>Drft – actual drift [psec/sec] between Slave <str<strong>on</strong>g>an</str<strong>on</strong>g>d Master<br />

gmstraddr – actual gr<str<strong>on</strong>g>an</str<strong>on</strong>g>d master address<br />

mstraddr – actual master address<br />

<str<strong>on</strong>g>Implementing</str<strong>on</strong>g> <str<strong>on</strong>g>an</str<strong>on</strong>g> <str<strong>on</strong>g>IEEE</str<strong>on</strong>g> <str<strong>on</strong>g>1588</str<strong>on</strong>g> <str<strong>on</strong>g>V2</str<strong>on</strong>g> <str<strong>on</strong>g>Node</str<strong>on</strong>g> <strong>on</strong> <strong>the</strong> MCF5441X, Rev. 0<br />

Freescale Semic<strong>on</strong>ductor

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!