Minimum Flash Programming Connection; Internal Vector Mode And Programming Via Bootrom; Programming Pins; Asynchronous Programming - Fujitsu ALL FR 460 Series Application Note

Table of Contents

Advertisement

4 Minimum Flash Programming Connection

THIS CHAPTER SHOWS WHICH CONNECTIONS ARE NEEDED FOR PROGRAMMING

4.1 Internal vector mode and Programming via BootROM

When using a target board, which normally operates in single vector mode, the mode pins of
the MCU has to be set to MD2-0 = 0. It is possible to jump to serial programming mode via the
BootROM.
When the device does not start from an INITX (external power-on reset) or the
bootloader is disabled (boot security vector), the boot loader cannot be started.
If the boot security vector is not valid the Boot-ROM enters a short check loop in order
to verify the actual boot-conditions. This is the reception of character 'V' from the
internal UART4 at 9600 Baud (serial trigger). But at first the boot loader is scanning for
a falling edge at SCK4. If falling edge is detected at SCK4, the serial interface will be
initialized for synchronous communication.

4.2 Programming Pins

For serial programming the following pins are affected:
1. SIN4
2. SOT4
3. SCK4
4. INITX
After the MCU Reset the UART4 pins will be initialized for serial communication for the debug
or Flash loader. UART4. The other pins are GPIO or external bus.

4.3 Asynchronous Programming

The following schematic shows a possible configuration:
MB90F46x
Figure 1: Serial asynchronous programming interface
Important note: In run mode the ports corresponding to SIN4 and SOT4 have to be set to
output or input with internal pull-up, if not connected to other circuitries! Otherwise this port
pins will be floating. Another way is to use an external pull up or down resistors. Make sure the
MCU-AN-300033-E-V15
FR460 Hardware Set Up
Chapter 4 Minimum Flash Programming Connection
serial input
serial output
clock input
reset input
VCC5
SCK4
SOT4
SIN4
INITX
2k
1n
Programmer
5V/3V
330R
330R
- 20 -
© Fujitsu Microelectronics Europe GmbH
+
RESET

Advertisement

Table of Contents
loading

Table of Contents