
16
3)
Connect the ISP interface on Embedded Pi with your PC (or Raspberry Pi) according to the
instruction of the ISP tool. Figure 3-5 shows the pins of the ISP interface on Embedded Pi.
When using a PC to program Embedded Pi, an RS232 voltage conversion chip is needed
between to convert the TTL voltage level of Embedded Pi to the RS232 voltage level of PC.
4)
Configure JP1 to select the bus voltage between 3.3V and 5V according to the Arduino
TM
shields in use. For configuration information of JP1, refer to
3.12 Jumper
.
5)
Power on Embedded Pi, the power indicator LED will be lighted. Press BOOT0 and hold it
there, and press RESET button for 1 second, then release BOOT0, the Embedded Pi will enter
the ISP mode.
6)
Launch the ISP tool to program Embedded Pi.
3.8.2
External Debugger Mode
Since Embedded Pi has no debugger onboard, an external JTAG/SWD debugger is needed to
program Embedded Pi in the External Debugger Mode, like J-Link and CoLinkEx.
The configuration steps are as below:
1)
Disconnect Embedded Pi from power.
2)
Install the debugger driver on PC. You can ship this step if you have installed one. To install
the driver of CoLinkEx, refer to
http://www.coocox.org/Colinkex.htm
.
3)
Install the integrated development environment on PC. You can ship this step if you have
installed one. To install CoIDE, refer to
http://www.coocox.org/CooCox_CoIDE.htm
.
4)
Connect Embedded Pi to the PC via the 10-Pin JTAG/SWD interface (JP2).
Figure 3-6 Pin-outs of the 10-Pin JTAG/SWD interface
5)
Power on Embedded Pi, the power indicator LED will be lighted.
6)
Start download and debug your program.
Note: SWD debuggers are supported by default. To use a JTAG debugger, you need to connect
Summary of Contents for Embedded Pi
Page 41: ...40 20 Set breakpoints in the C code window or the Disassembly window...
Page 42: ...41 6 Schematics...
Page 43: ...42...
Page 44: ...43...
Page 45: ...44...