Datasheet

M16C/2
6
Programming Flash Memory via Flash-Over-USB™
REU05B0042-0100Z June 2003
Page 3 of 8
TxD1 pin is for CMOS output from the MCU. The RTS1 (BUSY) pin outputs a low level when ready for data
reception and a high level when reception starts.
Since the USB-Monitor uses the Renesas factory boot code to communicate with the target MCU, the proper pin
connections should be considered on your target board design. An example connection for the M16C/26 is
shown in Figure 4.
Vcc
P6_4/RTS1 (Busy)
P6_5/CLK1 (SCLK)
P6_6/RxD1 (RxD)
P8_6/XCout (CE)
Vss
!RESET
CNVss
P6_7/TxD1 (TxD)
M30262F
10-Pin
Header
Vcc
47K
(nominal)
!RESET
1
2
3
4
5
6
7
8
9
10
BUSY
Vcc
CLK
RxD
CE
EPM
GND
CNVss
TxD
Figure 4 A typical M16C/26 target board hardware connection for FoUSB Connectivity
When the USB-Monitor is connected to a computer for the first time, Windows will recognize the new hardware
and will request for the drivers. The drivers were already installed during the install, for example, if the installation
directory is ‘C:\MTOOL\FOUSB’, then the required device driver will be located in ‘C:\MTOOL\FOUSB\Device
Drivers\’ and needs to be pointed to if asked by Windows. For Windows XP, a dialog box is displayed warning
that the driver has not been tested for Windows XP compatibility. This warning message should be disregarded
and continue driver installation.
4.0 Using the FoUSB Programmer
The main steps that need to be followed for programming the flash memory of an M16C/26 MCU chip using
FoUSB are described below. The name of a button or option that has to be clicked or selected is written in bold
italics. All other items extracted from the programmer software GUI (Graphical User Interface) appears in normal
italics. Sections 4.1 to 4.4 covers buttons and options that are absolutely essential for flash programming of an
MCU. Description of all buttons or options that are available in the various windows of FoUSB can be found in the
Help section that can be invoked by clicking on HELP on the FoUSB main GUI shown in
Figure 5
.