UART0
From t-hack.com - Hack X300T / X301T
(UART0 page added) |
(→How to built a debug interface) |
||
Line 8: | Line 8: | ||
UART0 is used to output some debug information during startup, unfortunately most of the debug output in the Bootloader was disabled, so there is not much to see during startup. | UART0 is used to output some debug information during startup, unfortunately most of the debug output in the Bootloader was disabled, so there is not much to see during startup. | ||
+ | |||
+ | the serial port settings are 115000 baud and 8N1 | ||
<pre> | <pre> | ||
Line 25: | Line 27: | ||
The only interesting information on this output is the bootloader version ... 1039 in this case. | The only interesting information on this output is the bootloader version ... 1039 in this case. | ||
− | |||
== How to built a debug interface == | == How to built a debug interface == | ||
[[image:Pinout.jpg|thumb]] | [[image:Pinout.jpg|thumb]] | ||
− | The needed pins are show in the image on the right | + | The needed pins are show in the image on the right (NOTE: vcc-pin (5V) is on the left hand side next to the ground pin) |
Please note that the voltage level of the I/O pins is 3.3V so you will need a voltage level convertor to interface with a standard PC serial port. | Please note that the voltage level of the I/O pins is 3.3V so you will need a voltage level convertor to interface with a standard PC serial port. | ||
This can be done with a Max3232 chip, but I would advise to use a "3.3Vserial port -> USB connector". | This can be done with a Max3232 chip, but I would advise to use a "3.3Vserial port -> USB connector". | ||
− | You can find cheap mobile interface cables that | + | You can find cheap mobile interface cables that perfectly fit: |
+ | *original Siemens data cable DCA-510 (USB) | ||
+ | *original Siemens data cable DCA-500 (serial) | ||
+ | **NOTE: since the 3,3v level-converter is not powered from pc, one need to connect the vcc pin in order to power the max3232. however, this is only needed for the original cables, no-name cables are usually powered from pc | ||
+ | |||
+ | |||
+ | Both can be grabbed from ebay for some euros. | ||
+ | |||
+ | |||
+ | The below picture shows the connector pinout for the Siemens S55 (and others): | ||
[[image:Siemens_12p.gif]] | [[image:Siemens_12p.gif]] |