Template:BaseboardID: Difference between revisions
From embeddedTS Manuals
(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 ...") |
No edit summary |
||
Line 1: | Line 1: | ||
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. | 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 | You can find example code for accessing the baseboard ID in {{{1}}}. For example, "{{{1}}} -B" will return "baseboard_model=" with the detected baseboard. | ||
{{{1}}} -B | |||
[[File:BoardID.png|360px|thumb|TS-8160 baseboard ID resulting in ID 6.]] | [[File:BoardID.png|360px|thumb|TS-8160 baseboard ID resulting in ID 6.]] |
Revision as of 10:38, 10 January 2013
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" will return "baseboard_model=" with the detected baseboard.
ID | Baseboard |
---|---|
2 | TS-TPC-8390 |
4 | TS-8500 |
6 | TS-8160 |
7 | TS-8100 |
10 | TS-TPC-8900 |
255 | TS-8200 |