Datasheet
M16C
Target Setup for the FoUSB Programme
r
REU05B0059-0101Z March 2004
Page 3 of 7
3. The ICD requires 5V for re-programming if a new MCU file (MMI) needs to be downloaded to the ICD (i.e. when the
target MCU selected does not match the MCU file on the ICD). To accomplish this, disconnect the ICD from the target,
set to Bus Power Mode, and then download new MCU file. After MCU file has been downloaded, switch back to Target
Power Mode.
3.0 Hardware Connectivity for In-System Programming
This section describes the hardware connections to the ICD for in-system programming purposes. Examples for
different M16C MCU’s are shown at the end of the section.
The ICD connects to an M16C target board through a polarized, .100” (2.54mm), 10-pin connection using a flat
ribbon cable. It communicates with the M16C MCU using the boot UART/SIO in a clocked SIO configuration. The
signals used and how these signals are assigned is described below.
Figure 3 Target Board 10-Pin Header/Connector Signal Assignment
Note: All target interface lines are in high impedance state until instructed to do otherwise by the FoUSB Programmer
application.
3.1 Vcc – Power Supply Pin
This provides the common connection point for power between ICD and the target board. This must be
connected to the target board’s Vcc line/plane.
In Target Power mode, the ICD requires at least 3.3V (5.0V max) and 45mA to operate properly.
3.2 Busy – Target MCU SIO Busy Signal
This line indicates whether the target is busy (and cannot receive data) or not. This must be connected to the
target MCU’s boot UART/SIO BUSY (CTS/RTS) pin.
This pin may be used for other applications as long as the user ensures that the ICD can drive the pin to valid
levels with 5mA current.
3.3 SCLK – Target MCU Serial Clock Signal
This clock is used for synchronous serial communication between ICD and target board. This must be connected
to the target MCU’s boot UART/SIO SCLK pin.
1
3
5
7
9
2
4
6
8
10
Vcc
SCLK
CE
GND
CNVss
BUSY
RXD
EPM
RESET
TXD