MBED Serial Debugging » History » Version 1
peter, 2013-10-27 13:38
1 | 1 | peter | h1. MBED Serial Debugging |
---|---|---|---|
2 | |||
3 | The MBED device includes a "USB DISK" interface (to update the firmware) and a "Serial" interface (to debug and communicate with the PC). They are both using the same USB cable that you connect to the MBED (No additional USB/Serial FTDI cable required). However: The "USB DISK" shows up immediately if you connect the MBED, the serial may need an additional driver (on Windows) and a terminal (serial communication program) to use. |
||
4 | |||
5 | h1. MBED Serial driver. |
||
6 | |||
7 | The MBED serial driver is only required for Windows (Mac and Linux have the serial driver installed by default). |
||
8 | See http://mbed.org/handbook/Windows-serial-configuration for the howto on the installation. |
||
9 | |||
10 | h1. Serial communication program |
||
11 | |||
12 | a.k.a. "Terminal Program" |
||
13 | See http://mbed.org/handbook/Terminals for a list of possible terminal programs. We advise to use putty. |
||
14 | |||
15 | |||
16 | h1. Configuration |
||
17 | |||
18 | Standard Laos terminal settings: 115200 bps, 8 bits, No parity, 1 stop bit |
||
19 | |||
20 | h1. Tips and Tricks |
||
21 | |||
22 | h2. Reset |
||
23 | |||
24 | Sending a "BREAK" via the serial line will reboot the MBED. This is handy if you just copied new firmware to the MBED. This has the same effect as the Physical "Reset" button on the MBED. |
||
25 | Putty will send a "Break" if you press the "CTRL" and "BREAK" key on the keyboard at the same time. |
||
26 | |||
27 | h2. Newlines. |
||
28 | |||
29 | If the debug messages do not line up correctly, check that you have set "Implicit CR in each LF" ON in the Putty "Settings --> Terminal" menu |
||
30 |