Renesas H8S2215R Computer Hardware User Manual


 
Chapter 8. Programming Methods
All of the Flash ROM on the device can be programmed when the device is in Boot mode. Once in boot mode, the boot-loader program
pre-programmed into the microcontroller executes and attempts a connection with a host (for example a PC). On establishing a connection
with the microcontroller, the host may then transmit program data to the microcontroller via the appropriate programming port.
Table 8-1 below shows the programming port for this Renesas Microcontroller and its associated pins
Programming Port Table – Programming port pins and their CPU board signal names
E8 Port E8_TXD, PIN 31 E8_RXD, PIN 32
CPU board Signal Name PTTX (Port A, Pin1) PTRX (Port A, Pin2)
Table 8-1: Serial Port Boot Channel
8.1. E8 Header
This device supports an E8 debugging interface. The E8 provides additional debugging features including hardware breakpoints and
hardware trace capability. (Check with the website at
www.renesas.com or your distributor for a full feature list).
Connect the E8 to port labelled E8.
To enable the E8 functions the user must ensure that the jumper links in position J13 & J15 are removed (Default positions).
8.2. E10A Header
This device supports an optional E10A debugging interface. The E10A provides additional debugging features including hardware
breakpoints and hardware trace capability. (Check with the website at
www.renesas.com or your distributor for a full feature list).
To enable the E10A functions the user needs to fit a jumper link in position J13.
When J13 is fitted the microcontroller will not operate correctly unless operated via the E10A.
8.3. USB port programming
This sequence is not required when debugging using the E8 supplied with the kit.
The microcontroller must enter boot mode for programming, and the programming port must be connected to a host for program download.
To execute the boot transition, and allow programs to download to the microcontroller, the user must perform the following procedure:
Press the BOOT switch and keep this held down.
Press the RESET switch once, and release.
Release the BOOT switch The BOOT LED will be illuminated.
Now connect a USB cable between the host PC and USB port of the RSK.
The Flash Development Toolkit (FDT) is supplied to allow programs to be loaded directly on to the board using this method. Please select
USB Direct interface while downloading the program.
Do not use the on board boot latch function when the E8 is connected.
21