Template:BaseboardID

From embeddedTS Manuals
Revision as of 10:36, 10 January 2013 by Mark (talk | contribs) (Created page with "All of our default baseboards contain a hard wired 3-state 8-input multiplexers. This is not required to implement in custom baseboards, but it can be useful to identify the ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

All of our default baseboards contain a hard wired 3-state 8-input multiplexers. This is not required to implement in custom baseboards, but it can be useful to identify the board in software. During startup of the macrocontroller 4 DIO are used to obtain the baseboard model id. The red LED (CN2_06) is state 0, green LED (CN2_08) is state 1, BUS_DIR (CN1_98), and BD_ID_DATA (CN1_83) are used for this purpose.

You can find example code for accessing the baseboard ID in {{{1}}}. For example:

{{{1}}} -B

This will return "baseboard_model=" with the detected baseboard.

TS-8160 baseboard ID resulting in ID 6.
TS-Baseboard IDs
ID Baseboard
2 TS-TPC-8390
4 TS-8500
6 TS-8160
7 TS-8100
10 TS-TPC-8900
255 TS-8200