FR FAMILY MB91460 SERIES FLASH PROGRAMMING 32-BIT MICROCONTROLLER APPLICATION NOTE. Fujitsu Microelectronics Europe Application Note

Similar documents
F2MC MB90385 series Evaluation Board Documentation. Revision Date Comment V New document

F²MC-8L FAMILY MB89201 SERIES FLASH PROGRAMMING 8-BIT MICROCONTROLLER APPLICATION NOTE. Fujitsu Microelectronics Europe Application Note

MB90F3XX/F4XX/F5XX/F8XX/F9XX

F²MC-8FX FAMILY MB951XX SERIES SYNCHRONOUS FLASH PROGRAMMING 8-BIT MICROCONTROLLER APPLICATION NOTE. Fujitsu Microelectronics Europe Application Note

CPU369-Module Documentation. Fujitsu Microelectronics Europe GmbH Am Siebenstein Dreieich-Buchschlag, Germany

F²MC-8L/16LX/FR FAMILY ALL SERIES GALEP-4 8/16/32-BIT MICROCONTROLLER APPLICATION NOTE. Fujitsu Microelectronics Europe Application Note

F²MC-8L/16LX/16FX/FR FAMILY

The Bootconcept. of Fujitsu s MB91360 Devices

FME FR FLASHPROGRAMMER

F²MC-16FX FAMILY ALL SERIES FLASH SECURITY 16-BIT MICROCONTROLLER APPLICATION NOTE. Fujitsu Microelectronics Europe Application Note

Application Note. Startup DevKit16. History 19 th June 00 TKa V1.0 started 20 th June 00 TKa V1.1 Some minor text corrections

EMULATOR SYSTEM MB

16-Bit Emulator Setup for MB2141 and MB

FR FAMILY MB91460 SERIES MB91461 EMULATION 32-BIT MICROCONTROLLER APPLICATION NOTE. Fujitsu Microelectronics Europe Application Note

Emulator Setup Instructions for MB91360

F²MC-8FX FAMILY MB95100 SERIES EMULATOR HW SETUP 8-BIT MICROCONTROLLER APPLICATION NOTE. Fujitsu Microelectronics Europe Application Note

FR FAMILY SK MAIN V1.2 EVALUATION BOARD USER GUIDE. Fujitsu Microelectronics Europe User Guide FMEMCU-UG

F²MC-16LX FAMILY MB90F897 DUAL OPERATION FLASH 16-BIT MICROCONTROLLER APPLICATION NOTE. Fujitsu Microelectronics Europe Application Note

EMULATOR SETUP MB BIT COMPACT-ICE

FR FAMILY FR60 FAMILY ISR DOUBLE EXECUTION 32-BIT MICROCONTROLLER APPLICATION NOTE. Fujitsu Microelectronics Europe Application Note

TRACE APPLICATION NOTE VERSION MB86R0X 'JADE' SERIES DEVICES & GREENHILLS TOOLCHAIN. Fujitsu Microelectronics Europe Application Note

Fujitsu Microelectronics Europe Application Note MCU-AN E-V12 F²MC-16FX FAMILY 16-BIT MICROCONTROLLER ALL SERIES CLOCK OUTPUT APPLICATION NOTE

Fujitsu Semiconductor Europe User Manual. FSEUGCC-UM_SK-86R12-CPU01_Rev1.1 EMERALD-P CPU MODULE SK-86R12-CPU01 USERGUIDE

Fujitsu Microelectronics Europe Application Note MCU-AN E-V10 FR FAMILY 32-BIT MICROCONTROLLER MB91460 REAL TIME CLOCK APPLICATION NOTE

ALL 16LX SERIES WITH FLASH PROGRAMMING FLASH MCU S

APIX AUTOMOTIVE SHELL SW-EMULATION USE CASE

F²MC-16FX FAMILY ALL SERIES STANDBY MODES & POWER MANAGEMENT 16-BIT MICROCONTROLLER APPLICATION NOTE. Fujitsu Microelectronics Europe Application Note

GRAPHICS CONTROLLERS DEVICE SETUP AND FUJITSU DEVELOPER SUITE

F²MC-16LX FAMILY MB90XXX RELOCATED INTERRUPT VECTOR TABLE 16-BIT MICROCONTROLLER APPLICATION NOTE. Fujitsu Microelectronics Europe Application Note

Application Note. EMC Design Guide. F 2 MC-8L Family. History 04 th Jul 02 NFL V1.0 new version

GRAPHICS CONTROLLERS SPRITE ENGINE PERFORMANCE MB88F332 'INDIGO' MB88F333 'INDIGO-L' APPLICATION NOTE GRAPHICS COMPETENCE CENTER

Fujitsu Microelectronics Europe Application Note MCU-AN E-V10 F²MC-FR FAMILY 32-BIT MICROCONTROLLER MB91460 RELOAD TIMER APPLICATION NOTE

Serial Flash Programmer Version 3.17 for FR Devices. User s Guide

The following document contains information on Cypress products.

JASMINE- Subboard Documentation. Fujitsu Microelectronics Europe GmbH Am Siebenstein Dreieich-Buchschlag, Germany

Fujitsu Microelectronics Europe User Guide FMEMCU-UG MB88121 SERIES MB91460 SERIES STARTER KIT SK-91F467-FLEXRAY USER GUIDE

Errata Sheet MB86296 Coral PA

FAQ list for MB86290 Cremson

Fujitsu Microelectronics Europe Application Note MCU-AN E-V13 FR FAMILY 32-BIT MICROCONTROLLER MB91460 SWB MONITOR DEBUGGER APPLICATION NOTE

Application Note. Connecting standard LCD modules to. the MB90670/5 series. History 01 th Feb. 97 MM V1.0 started 28 th June 00 TKa V1.

Fujitsu Microelectronics Europe User Guide FMEMCU-UG MB91460 SERIES EVALUATION BOARD SK-91F467D-208PFV USER GUIDE

1.2. MCU64 Board User Guide. Development tools for 16LX Family FUJITSU MICROELECTRONICS EUROPE. Version

Fujitsu Microelectronics Europe User Guide FMEMCU-UG MB88121 SERIES MB91460 SERIES STARTER KIT SK-91F467-FLEXRAY USER GUIDE

Fujitsu Semiconductor Europe User Manual. FSEUGCC-UM_SK-88F336-01_Rev1.0 INDIGO2-N STARTERKIT SK-88F USER MANUAL

SPI COMMUNICATION TO/FROM SERIAL EEPROM

MB88F334 Indigo2 MB88F335 Indigo2-S MB88F336 Indigo2-N

F²MC-16LX/FRLITE FAMILY COMPARISON OF MB90340 AND MB91270 SERIES MCU

Software Porting Access Library V02 to V03

Galep-Adapter DIL-40 => ISP-ASYNC/SYNC Article-No.:

SC2000 Smart Kit Selection Checklist

Fujitsu Microelectronics Europe User Guide FMEMCU-UG F²MC-16LX FAMILY EVALUATION BOARD FLASH-CAN-64P-350 USER GUIDE

UG EMA-MB91V460A-002. Fujitsu Microelectronics Europe User Guide FR60 FAMILY ADAPTER BOARD EMA-MB91V460A-002/B USER GUIDE

Fujitsu Microelectronics Europe Application Note MCU-AN E-V10 FR FAMILY 32-BIT MICROCONTROLLER MB91460 EDSU/MPU APPLICATION NOTE

BV511 Hardware Guide ByVac ByVac Revision 1.0

Fujitsu Semiconductor Europe Application Note. an-mb86r12-apixprbs-rev0-20 MB86R12 EMERALD-P REV 0.2 APIX PRBS APPLICATION NOTE

Fujitsu Microelectronics Europe User Guide FMEMCU-UG F²MC-16LX/FX FAMILY EVALUATION BOARD FLASH-CAN-64P-350-PMC1 USER GUIDE

Megawin 8051 ISP via COM Port

SOFTUNE WORKBENCH MONITOR DEBUGGER FOR 8FX

Fujitsu Microelectronics Europe User Guide FMEMCU-SG MB88121 SERIES MB91460 SERIES EVALUATION BOARD SK-91F467-FLEXRAY SOFTWARE GUIDE

FR30 example interface to external Flash Memory

Application Note APIX PRBS

STARTERKIT SK-86R03 'JADE-L' USERS GUIDE

Fujitsu Microelectronics Europe User Guide FMEMCU-UG F²MC-16LX FAMILY EVALUATION BOARD FLASH-CAN-100P-340 V1.

GRAPHICS CONTROLLERS

User Guide. Date Apr BlueEva+C11/G2. Stollmann. E + V GmbH. User Guide

Tutorial. How to use Keil µvision with Spansion templates Spansion Inc.

Fujitsu Microelectronics Europe User Guide FMEMCU-UG FR60 FAMILY ADAPTER BOARD EMA-MB91FV460B-001 USER GUIDE

Fujitsu Microelectronics Europe Application Note MCU-AN E-V17 FR FAMILY EMULATION SYSTEM MB91460 GETTING STARTED APPLICATION NOTE

MB86297A Carmine PCB Design Guide

GRAPHICS CONTROLLERS APIX PCB-DESIGN GUIDELINE

MB bit MCU series for automotive and industrial applications

AN10955 Full-duplex software UART for LPC111x and LPC13xx

mikroboard for ARM 64-pin

Errata Sheet MB86298 'Ruby'

USER MANUAL. MODEL 2011 High Speed Asynchronous to Synchronous Converter

Nios Embedded Processor Development Board

F²MC-16FX FAMILY MB96340 KEY MATRIX INTERFACE USING I/O PORT 16-BIT MICROCONTROLLER APPLICATION NOTE. Fujitsu Microelectronics Europe Application Note

Gateway Module Programmable in C

Fujitsu Semiconductor Europe User Manual. FSEUGCC-UM_MB86R11_Rev1.4 EMERALD-L EVALUATION BASE BOARD SK-86R11-BASE USERGUIDE

Ethernet1 Xplained Pro

Dual Serial Shield User Manual

User Manual. AS-Interface Programmer

CF-850/F1KM-176-S Hardware Manual

CF-850/F1K-144-S Hardware Manual

Rev. A. ANC Series RS-485/RS-422 Synchronous Clock Display. Antona Corporation (818) URL:

EVB-USB2640 Evaluation Board Revision A

Figure 1. Proper Method of Holding the ToolStick. Figure 2. Improper Method of Holding the ToolStick

AVR-P20 development board Users Manual

AVR-P development board Users Manual

FLAP indicator. Installation manual Version 1.10

Hardware Manual RM CANview

Figure 1. Proper Method of Holding the ToolStick. Figure 2. Improper Method of Holding the ToolStick

CB-1 Peripheral Board Technical Manual

Purchase Agreement. P&E Microcomputer Systems, Inc. P.O. Box 2044 Woburn, MA Manual version 1.

mikroboard for ARM 144-pin

FR30-RAM-Stack-Board Documentation Part-Number: FR-RAM-STACK1-100P-M06

USB Debug Adapter. Power USB DEBUG ADAPTER. Silicon Laboratories. Stop. Run. Figure 1. Hardware Setup using a USB Debug Adapter

XE166 Family AP Application Note. Microcontrollers. X E D r i v e C a r d H a r d w a r e D e s c r i p t i o n Board REV.

MEC-COM-M114. User s Manual

USER GUIDE EDBG. Description

Transcription:

Fujitsu Microelectronics Europe Application Note MCU-AN-300012-E-V13 FR FAMILY 32-BIT MICROCONTROLLER MB91460 SERIES FLASH PROGRAMMING APPLICATION NOTE

Revision History Revision History Date Issue 2006-01-30 V1.0 MVo Initial Version 2006-09-11 V1.1 MVo added SK-91464A-100PMC, SK-91465K-120PMT, SK-91469G-256BGA, GALEP-4 programmer 2008-01-14 V1.2 MVo added SK-91463N-64PMC, SK-91465X-100PMC, SK-91467B- 144PMC, SK-91467C-144PMC, SK-91467R-100PMC 2008-11-05 V1.3 MVo added new devices to table 1, 6+8, added GALEP-5, added SK91460S-176PMC, SK-91460T-144PMC, SK-91460P-176PMC This document contains 75 pages. MCU-AN-300012-E-V13-2 - Fujitsu Microelectronics Europe GmbH

Warranty and Disclaimer Warranty and Disclaimer To the maximum extent permitted by applicable law, Fujitsu Microelectronics Europe GmbH restricts its warranties and its liability for all products delivered free of charge (eg. Software include or header files, application examples, target boards, evaluation boards, engineering samples of IC s etc.), its performance and any consequential damages, on the use of the Product in accordance with (i) the terms of the License Agreement and the Sale and Purchase Agreement under which agreements the Product has been delivered, (ii) the technical descriptions and (iii) all accompanying written materials. In addition, to the maximum extent permitted by applicable law, Fujitsu Microelectronics Europe GmbH disclaims all warranties and liabilities for the performance of the Product and any consequential damages in cases of unauthorised decompiling and/or reverse engineering and/or disassembling. Note, all these products are intended and must only be used in an evaluation laboratory environment. 1. Fujitsu Microelectronics Europe GmbH warrants that the Product will perform substantially in accordance with the accompanying written materials for a period of 90 days form the date of receipt by the customer. Concerning the hardware components of the Product, Fujitsu Microelectronics Europe GmbH warrants that the Product will be free from defects in material and workmanship under use and service as specified in the accompanying written materials for a duration of 1 year from the date of receipt by the customer. 2. Should a Product turn out to be defect, Fujitsu Microelectronics Europe GmbH s entire liability and the customer s exclusive remedy shall be, at Fujitsu Microelectronics Europe GmbH s sole discretion, either return of the purchase price and the license fee, or replacement of the Product or parts thereof, if the Product is returned to Fujitsu Microelectronics Europe GmbH in original packing and without further defects resulting from the customer s use or the transport. However, this warranty is excluded if the defect has resulted from an accident not attributable to Fujitsu Microelectronics Europe GmbH, or abuse or misapplication attributable to the customer or any other third party not relating to Fujitsu Microelectronics Europe GmbH. 3. To the maximum extent permitted by applicable law Fujitsu Microelectronics Europe GmbH disclaims all other warranties, whether expressed or implied, in particular, but not limited to, warranties of merchantability and fitness for a particular purpose for which the Product is not designated. 15. To the maximum extent permitted by applicable law, Fujitsu Microelectronics Europe GmbH s and its suppliers liability is restricted to intention and gross negligence. NO LIABILITY FOR CONSEQUENTIAL DAMAGES To the maximum extent permitted by applicable law, in no event shall Fujitsu Microelectronics Europe GmbH and its suppliers be liable for any damages whatsoever (including but without limitation, consequential and/or indirect damages for personal injury, assets of substantial value, loss of profits, interruption of business operation, loss of information, or any other monetary or pecuniary loss) arising from the use of the Product. Should one of the above stipulations be or become invalid and/or unenforceable, the remaining stipulations shall stay in full effect Fujitsu Microelectronics Europe GmbH - 3 - MCU-AN-300012-E-V13

Contents Contents REVISION HISTORY... 2 WARRANTY AND DISCLAIMER... 3 CONTENTS... 4 0 INTRODUCTION... 6 1 BACKGROUND INFORMATION... 7 1.1 Connection to PC... 7 1.2 Boot ROM... 7 2 FME-FR PROGRAMMER... 12 2.1 Automatic Mode... 13 2.2 Manual Mode (Step-by-Step)... 15 3 FUJITSU FR FLASH PROGRAMMER... 18 3.1 Full Operation... 18 3.2 Manual (Step-by-step) Operation... 19 4 GALEP-PROGRAMMER... 20 4.1 GALEP-4 20 4.1.1 Parallel Programming with GALEP-4 Programmer... 21 4.1.2 Serial Synchronous Programming with GALEP-4 Programmer... 24 4.1.3 Serial Asynchronous Programming with GALEP-4 Programmer... 26 4.2 GALEP-5 27 4.2.1 Parallel Programming with GALEP-5 Programmer... 28 4.2.2 Serial Synchronous Programming with GALEP-5 Programmer... 31 4.2.3 Serial Asynchronous Programming with GALEP-4 Programmer... 33 5 SK-91F467D-208PFV (-GPIO) / SK-91F467-FLEXRAY... 34 6 SK-91460-MAIN WITH SK-91460-91F467D-208PFV... 36 6.1 Connection to SK-91460-MAIN... 36 6.2 Connection to SK-91460-91F467D-208PFV... 38 7 SK-91464A-100PMC... 41 8 SK-91465K-120PMT... 43 9 SK-91469G-256BGA... 45 10 SK-91463N-64PMC... 48 11 SK-91467R-176PMC... 51 MCU-AN-300012-E-V13-4 - Fujitsu Microelectronics Europe GmbH

Contents 12 SK-91467B-144PMC... 54 13 SK-91465X-100PMC... 57 14 SK-91467C-144PMC... 59 15 SK-91460P-176PMC(-GPIO)... 61 16 SK-91460S-176PMC... 64 17 SK-91460T-144PMC(-GPIO)... 67 18 APPENDIX... 70 18.1 Additional Documents... 70 18.2 Figures 72 18.3 Tables 74 Fujitsu Microelectronics Europe GmbH - 5 - MCU-AN-300012-E-V13

Introduction 0 Introduction This application note describes various possibilities programming the internal flash memory of the Fujitsu 32bit microcontrollers of the MB91460 series. In the first chapter some basic information for the connection of the microcontroller to the PC and a short description of the internal Boot ROM of the MCU are given. The second chapter describes the handling of the FME-FR Programmer for serial asynchronous programming. In the third chapter another serial asynchronous programming tool, the Fujitsu FR Flash Programmer, is explained. Chapter four describes the third-party programming tools GALEP-4 and GALEP-5 which can be used for serial synchronous and asynchronous as well as parallel programming. The next chapters list the needed settings for serial asynchronous programming on the different starterkits for the flash derivates of the MB91460 series. The last chapter gives some hints on additional literature. MCU-AN-300012-E-V13-6 - Fujitsu Microelectronics Europe GmbH

Chapter 1 Background Information 1 Background Information This chapter gives some information for connection of the microcontroller to the PC and the internal Boot ROM of the MCU. 1.1 Connection to PC For serial asynchronous programming of the internal Flash, UART channel 4 is used on MB91460 series flash devices. Therefore UART pins SIN4 (serial input) and SOT4 (serial output) have to be connected to the PC s COM port via RS232 transceiver. The figure below shows an example for this connection. You can also connect the RS232 signals DTR or RTS to the reset input of the microcontroller for controlling the reset signal by the programmer software. Some terminal applications also need a connection between Pin 7 (RTS) and Pin 8 (CTS) on connector side. Figure 1: Example of UART connection GND DTR RxD TxD 5 9 1 6 CTS RTS DSR Figure 2: RS232 Signal Connection 1.2 Boot ROM The Boot ROM is a fixed start-up routine, which is executed always after the Reset Cancellation Sequence of every INIT or RST reset if the device is configured with the mode pins set to MD[2:0]= 000 (internal ROM/vector mode). Fujitsu Microelectronics Europe GmbH - 7 - MCU-AN-300012-E-V13

Chapter 1 Background Information The purpose of the Boot ROM is to configure the device after a reset and to provide a simple serial bootloader for programming the embedded flash memories. After the chip initialization and saving the RSRR (Reset Cause Register) to CPU register R4, there is a check for boot conditions. All Flash devices have two Boot Security Vectors (BSV1, BSV2). These vectors are located in parallel sector to the Flash Security Vectors (FSV1, FSV2): Sector SA4 Sector SA5 (8kB) (8kB) 0x14:8008 FSV2 BSV2 0x14:8000 FSV1 BSV1 64bit width Figure 3: Location of the Boot Security Vectors on MB91F467D At first, BSV1 is checked: if the data of this vector represents a valid address in the specified address range (depending on Flash-ROM size), the Boot Security Vector itself becomes valid. Device Valid Boot Security Vector address range BSV1 address BSV2 address MB91F464A MB91F465B 0x0A:0000 0x0F:FFFF 0x14:8000 0x14:FFFF 0x08:0000 0x0F:FFFF 0x14:8000 0x14:FFFF 0x14:8004 0x14:800C 0x14:8004 0x14:800C MB91F467B 0x04:0000 0x14:FFFF 0x14:8004 0x14:800C MB91F463C MB91F465C 0x0C:0000 0x0F:FFFF 0x14:8000 0x14:FFFF 0x08:0000 0x0F:FFFF 0x14:8000 0x14:FFFF 0x14:8004 0x14:800C 0x14:8004 0x14:800C MB91F467C 0x04:0000 0x14:FFFF 0x14:8004 0x14:800C MB91F465D 0x08:0000 0x0F:FFFF 0x14:8000 0x14:FFFF 0x14:8004 0x14:800C MB91F467D 0x04:0000 0x14:FFFF 0x14:8004 0x14:800C MB91F469G 0x04:0000 0x24:FFFF 0x24:8004 0x24:800C MB91F464H 0x0A:0000 0x0F:FFFF 0x14:8000 0x14:FFFF 0x14:8004 0x14:800C MCU-AN-300012-E-V13-8 - Fujitsu Microelectronics Europe GmbH

Chapter 1 Background Information MB91F465K 0x08:0000 0x0F:FFFF 0x14:8000 0x14:FFFF 0x14:8004 0x14:800C MB91F467M 0x04:0000 0x14:FFFF 0x14:8004 0x14:800C MB91F465P 0x08:0000 0x0F:FFFF 0x14:8000 0x14:FFFF 0x14:8004 0x14:800C MB91F467P 0x04:0000 0x14:FFFF 0x14:8004 0x14:800C MB91F465X 0x08:0000 0x0F:FFFF 0x14:8000 0x14:FFFF 0x14:8004 0x14:800C Table 1: Boot Security Vector Addresses and Flash Address Valid Range MB91F467R and MB91F463N do NOT contain this version of Boot ROM and do NOT support Boot Security Vector functionality! Please note that the programming UART is changed to UART0 on these devices and that the dial-up procure is different! If BSV1 is valid, there will be an additional check before entering user program at the entry address given by BSV1 (1). Otherwise checks for entering the internal bootloader will be done (2). The purpose of this feature is to disable the execution of the internal bootloader due to security reasons or to minimize startup time of application. If the user sets BSV1 to a valid address range, this bootloader cannot be entered any more. (1) If the check for BSV1 is valid, the Magic Number, which should be located on the four bytes before the address BSV1 points to, is compared to 0x000A897A. If the Magic Number matches this value, the user application is entered at the address given by BSV1. The Magic Number is used as flag for a valid user application, or especially for a user bootloader. If you want to re-program this user bootloader, a second user bootloader, which handles the re-programming of the first user bootloader, has to be located at the address BSV2 points to. If BSV2 does not point to a valid address range, then application is started at default user program entry address 0x0F:4000. (2) If the check for BSV1 is not valid, the reset cause will be checked as second boot condition. Only if the reset cause was an INIT reset (external INITX input, RSRR=0x80), the check for boot conditions will go on. Otherwise Boot ROM is left and application is started at default user program entry address 0x0F:4000. If the reset cause was an INIT reset, serial clock pin SCK4 is checked for an external clock signal. Therefore logic level at this pin is monitored for about 1ms. If port level is constant, UART4 is initialized to asynchronous mode: 9600 baud, 8 data bits, 1 stop bit, no parity. If port level changes, UART4 is initialized to synchronous slave mode. UART-reception is checked for about 100 ms. If during this time period the ASCII-character V (0x56) is received, the internal bootloader is entered and ASCII-character F (0x46) is sent back as acknowledge sign. Otherwise Boot ROM is left and application is also started at default user program entry address 0x0F:4000. The following flow chart shows more detailed the checking conditions: Fujitsu Microelectronics Europe GmbH - 9 - MCU-AN-300012-E-V13

Chapter 1 Background Information *1) Boot Security Vector points to address in Flash-ROM *2) Magic Number = 0x0A897A? *3) Start user application at address given by Boot Security Vector 1/2 *4) Start user application at default user program entry address *5) Timeout about 100 ms Figure 4: Flow chart of Boot ROM The internal bootloader provides some basic functions for reading and writing the internal RAM, function calling or changing the communication speed. These functions are normally used to write a programming kernel to the internal RAM of the microcontroller which handles the programming of the flash memory. MCU-AN-300012-E-V13-10 - Fujitsu Microelectronics Europe GmbH

Chapter 1 Background Information Command PC to MCU MCU to PC Remark 1 (0x01) 241 (0xF1) 2 (0x02) 130 (0x82) READ Address (4 bytes) Size (2 bytes) Lo, MidLo, MidHi, Hi Lo, Hi Binary Dump Direct read and dump CheckSum (2 bytes) Bootloader sends 16bit checksum 1 (0x01) 241 (0xF1) 3 (0x03) 131 (0x83) Address (4 bytes) Lo, MidLo, MidHi, Hi WRITE Size (2 bytes) Lo, Hi Binary Dump Receive and store dump in RAM CheckSum (2 bytes) Bootloader sends 16bit checksum 1 (0x01) 241 (0xF1) 4 (0x04) 132 (0x84) CALL Address (4 bytes) Lo, MidLo, MidHi, Hi Calls specified Address and waits for a return Return Parameter The returned parameter in R4 will be echoed to the PC 1 (0x01) 241 (0xF1) CHECKSUM 5 (0x05) 133 (0x85) CheckSum (2 bytes) MCU re-dumps 16bit checksum (Lo, Hi) calculated at last write or read operation 1 (0x01) 241 (0xF1) BAUDRATE 6 (0x06) Baudrate (4 bytes) 134 (0x86) Lo, MidLo, MidHi, Hi Initializes UART with new baudrate value Table 2: Internal bootloader functions Fujitsu Microelectronics Europe GmbH - 11 - MCU-AN-300012-E-V13

Chapter 2 FME-FR Programmer 2 FME-FR Programmer This chapter explains the usage of the FME-FR Programmer for serial asynchronous programming of the MB91460 series flash devices. The FME-FR Programmer is a serial asynchronous programming tool for the Fujitsu FR flash microcontrollers of the MB91360 and MB91460 series. It uses the internal bootloader functions to set up communication. The FME-FR Programmer can be used for development purposes free-of-charge and is not released for any mass-production purposes. Figure 5: FME-FR Programmer Icon There are two ways of programming: Automatic mode Manual mode (step-by-step) MCU-AN-300012-E-V13-12 - Fujitsu Microelectronics Europe GmbH

Chapter 2 FME-FR Programmer 2.1 Automatic Mode The automatic mode is the easiest way of using the programmer software. There are only some user settings needed on the Automatic sheet. RESET MCU Figure 6: Settings for Automatic Mode Choose the microcontroller device (e.g. MB91F467D ) as device type and browse to the mhx-file you want to program to the embedded flash memory of the microcontroller. After that reset the microcontroller and press button Automatic Mode to start programming. If your hardware supports MCU reset via DTR or RTS signal lines of the PC s COM port, go to sheet Signals and select the appropriate reset signal line. The programmer now resets the microcontroller automatically before starting the programming sequence and you do not have to reset the MCU manually. Fujitsu Microelectronics Europe GmbH - 13 - MCU-AN-300012-E-V13

Chapter 2 FME-FR Programmer Figure 7: Reset Signal Settings The software now automatically writes a flash loader to the microcontroller, does a blank check and erases the flash memory if necessary. After that the user application is programmed to the embedded flash memory. During this sequence the actual progress status can be seen by checked off steps on the Automatic sheet and the messages below in the message box. If the programming sequence is ended successfully, you will receive the output shown in figure 7. MB91F464A/H, MB91F465B/C/D/K/P/X, MB91F467B/C/D/M/P/S/T: Addresses 0x14:8000 to 0x14:800F cannot be written in automatic mode. MB91F469G: Addresses 0x24:8000 to 0x24:800F cannot be written in automatic mode. This is a built in security feature to prevent unintended writing to the Flash Security Vectors and Boot Security Vectors. Otherwise it would be possible to secure flash content and to lock the microcontroller for serial programming/reading/erasing by not being able to enter the internal loader anymore. If you want to use these features explicitly, you have to program these dedicated addresses by using the Prog Word Function of the step-by-step mode. MCU-AN-300012-E-V13-14 - Fujitsu Microelectronics Europe GmbH

Chapter 2 FME-FR Programmer Figure 8: Successful Programming in Automatic Mode 2.2 Manual Mode (Step-by-Step) The manual mode provides each function of the internal bootloader and the downloaded flash loader kernel as single steps. Figure 9: Connect to internal bootloader Fujitsu Microelectronics Europe GmbH - 15 - MCU-AN-300012-E-V13

Chapter 2 FME-FR Programmer Select the device type, e.g. MB91F467D, reset the microcontroller and press Connect button. You can also use the DTR or RTS lines for resetting the MCU. Refer to chapter 3.1 for needed settings. If connection is successful the functions on sheet BootROM_Functions become enabled. To program embedded flash memory execute the functions Write File, Write Byte and Call with the default settings. Function Write File Write Byte Call Read Checksum Description Dumps a binary file into the internal RAM beginning at the specified address. The transmission will be verified by a checksum. Writes one single byte to the given location (RAM). Calls the program or function at the given address. If there is a RET -statement at the end, the operation will continue (return value is displayed). Reads out a number of bytes from a given address and creates a binary file. Displays the checksum from the last operation. Table 3: BootROM Functions of FME-FR Programmer If you have performed the above mentioned steps and the appropriate bin-file (e.g. brl467d.bin for the MB91F467D) is successfully loaded to RAM and started, go to sheet Flash_Functions. Figure 10: Flash_Functions of FME-FR Programmer MCU-AN-300012-E-V13-16 - Fujitsu Microelectronics Europe GmbH

Chapter 2 FME-FR Programmer Press button Initialize. If the command prompt of the flash loader is received, all the flash loader functions become enabled. See table 3 for a short description of each function. MB91460 series devices do not support Autodetect function! Function Initialize Blank Check Chip Erase Sector Erase Call Read Prog 32bit Read to File Prog File Description Checks if the flash loader, which was dumped to RAM, is available, initialized at the correct baudrate and ready to operate. This function checks for a prompt character ( > ). If this operation fails (e.g. no flash loader present), none of the following functions will be enabled. Reads out every byte of each flash-sector to check for nonblank cells. The result is displayed in the flash-diagram on the right side (red = not blank sectors; green=blank sectors). Erases the entire flash-rom (all sectors). Erases one sector indicated by the sector number. This function will divert operation of the device to the specified location. This terminates the flash loader. Reads out a given number of bytes beginning at the specified address and displays the results in hexadecimal format on the log-window. Programs one word to flash at the specified address. Reads out the Flash content and writes to the given bin-file. Handles the transfer of the specified MHX-file to the flash loader. Table 4: Flash Loader Functions of FME-FR Programmer To program user application to the flash memory browse to correct mhx-file and use Prog File function. After successful programming press Disconnect button to close COM port. For further information on the FME-Flash Programmer software please refer to the user guide. Fujitsu Microelectronics Europe GmbH - 17 - MCU-AN-300012-E-V13

Chapter 3 Fujitsu FR Flash Programmer 3 Fujitsu FR Flash Programmer This chapter explains the usage of the Fujitsu FR Flash Programmer for serial asynchronous programming of the MB91460 series flash devices. The Fujitsu FR Flash Programmer is a serial asynchronous programming tool for the Fujitsu FR flash microcontrollers. It supports a lot of FR series. The Fujitsu FR Flash Programmer can be used for development purposes free-of-charge and is not released for any mass-production purposes. Figure 11: Fujitsu FR Flash Programmer Icon There are two ways of programming: Full Operation Manual (step-by-step) 3.1 Full Operation Full Operation is the easiest way to use this programmer software. You only have to select the target microcontroller device (e.g. MB91F467D ) and the mhx-file you want to program to the embedded flash memory. Figure 12: Fujitsu FR Flash Programmer Full Operation 1 MCU-AN-300012-E-V13-18 - Fujitsu Microelectronics Europe GmbH

Chapter 3 Fujitsu FR Flash Programmer Press button Full Operation. A new window pops up which gives the order to reset the microcontroller. Reset the MCU and the software starts the sequences of the programming progress. In case of a blank chip, processing is performed in order of Download, Blank Check, and Program & Verify. When it is not a blank chip, processing is performed in order of Download, Blank Check, Erase, Blank Check, and then Program & Verify. The actual status can be seen on the progress bars. Figure 13: Fujitsu FR Flash Programmer Full Operation 2 3.2 Manual (Step-by-step) Operation The above mentioned steps can also be executed as single steps. But nevertheless, as first operation always the Download function has to be executed to set up communication and to write flash loader kernel to RAM. Function Download Erase Blank Check Program & Verify Read & Compare Copy Description Sets up communication and downloads flash loader kernel to RAM. Does a chip erase of the flash memory. Checks that all flash memory areas are blank. Writes the selected mhx-file to flash ROM and does block wise CRC checking. Reads out flash memory and compares content with selected mhx-file. Reads out flash memory and writes it to mhx-file. Table 5: Functions of Fujitsu FR Flash Programmer Fujitsu Microelectronics Europe GmbH - 19 - MCU-AN-300012-E-V13

Chapter 4 GALEP-Programmer 4 GALEP-Programmer This chapter explains the usage of the GALEP-4 and GALEP-5 programmer for serial synchronous/ asynchronous programming and parallel programming of the MB91460 series flash devices. 4.1 GALEP-4 GALEP-4 Programmer is a third party tool developed by Conitec (www.conitec.com). This programmer allows parallel as well as serial programming of several Fujitsu microcontrollers. In case of parallel programming, different socket-adapters are available, depending on the microcontroller family and device package. In case of serial programming both synchronous and asynchronous modes are supported. For serial-synchronous programming an optional ISP-adapter is offered. For serialasynchronous programming the programmer itself behaves like a dongle, the programming is done directly via the PC s COM-port connected to the microcontroller. The GALEP-4 is a PC-controlled programmer using the parallel-port (LPTx). It can be powered by an external power-supply (12V, 400mA) but also by accumulators (6x Type AAA NiMh 1.2V). Figure 14: Conitec GALEP-4 Programmer Software used together with the GALEP-4 programmer is GALEP32. This software supports all programming modes available for the adequate device. Figure 15: GALEP32 programmer software MCU-AN-300012-E-V13-20 - Fujitsu Microelectronics Europe GmbH

Chapter 4 GALEP-Programmer 4.1.1 Parallel Programming with GALEP-4 Programmer The GALEP-4 programmer includes a 40-pin Textool TM -socket, for devices with Dual-Inline- Packages (DIP). For other packages optional adapters are available, e.g.: Package GALEP-Adapter Remark QFP208 210881 MB91F465D, MB91F467D LQPF100 210882 MB91F464A, MB91F465X LQFP120 210883 MB91F465K BGA256 210884 MB91F469G LQFP64 210889 MB91F463N LQFP144 210890 MB91F465B, MB91F467B LQFP176 210891 MB91F467R LQFP144 210892 MB91F465C, MB91F467C LQFP176 210898 MB91F465P, MB91F467P LQFP176 210899 MB91F467S Table 6: Parallel Programming Adapters Connect the adapter to the Textool TM socket (take care pin 1 marking), place the MCU in the adapter and close the adapter s cover. Start the GALEP32 programmer software and use Load command to load a bin or hex file. Select tab Devices and browse to the correct device, e.g. MCU Fujitsu MB91F467D. Choose QFP208 (or correct package) for parallel programming. In the information window below the correct programming adapter is listed. Use Select Device! button to accept current selection. Figure 16: GALEP-4 with adapter 210881 Fujitsu Microelectronics Europe GmbH - 21 - MCU-AN-300012-E-V13

Chapter 4 GALEP-Programmer Figure 17: GALEP32 device selection MCU-AN-300012-E-V13-22 - Fujitsu Microelectronics Europe GmbH

Chapter 4 GALEP-Programmer Use the functions now enabled on the bottom of the window to select action: Program: write loaded mhx/bin-file to MCU Verify: compare loaded file to Flash contents Blank: do a blank check Read: read-out Flash content Erase: perform a chip erase After selecting a operation, tab Action is automatically activated. Press Start button to start operation. For further information on available settings in software and jumper settings on starterkits have a look at Options MB91F467D Options (or other MCU type) and Device Help. Figure 18: Programmer action Fujitsu Microelectronics Europe GmbH - 23 - MCU-AN-300012-E-V13

Chapter 4 GALEP-Programmer 4.1.2 Serial Synchronous Programming with GALEP-4 Programmer Conitec offers an ISP-adapter (210865) for all devices with serial-synchronous burn-in bootloader. This adapter will be put into the Textool TM socket and a 10-pin cable-connector is used for the connection to the microcontroller. All MB91460 series starterkits provide a 10pin connector to connect the programmer tool. Figure 19: 10pin connector for serial synchronous programming Pin Number Pin Signal Description 1 NC Not used 2 NC Not used 3 MD0 MCU mode-pin 0 4 MD2 MCU mode-pin 2 5 INITX MCU reset signal 6 SIN4 UART4 receive data 7 SOT4 UART4 transmit data 8 SCK4 UART4 clock 9 VCC Board supply voltage 10 GND Ground Table 7: Pining of 10pin connector Figure 20: Serial Synchronous Programming on SK-91F467D-208PFV MCU-AN-300012-E-V13-24 - Fujitsu Microelectronics Europe GmbH

Chapter 4 GALEP-Programmer Figure 21: Serial Synchronous Programming Connect the adapter to the Textool TM socket (take care pin 1 marking) and connect the adapter to the starterkit using flat cable. Start the GALEP32 programmer software and use Load command to load a bin or hex file. Select tab Devices and browse to the correct device, e.g. MCU Fujitsu MB91F467D. Choose SYNC for serial synchronous programming. In the information window below the correct programming adapter is listed. Use Select Device! button to accept current selection. Use the functions now enabled on the bottom of the window to select action: Program: write loaded mhx/bin-file to MCU Verify: compare loaded file to Flash contents Blank: do a blank check Read: read-out Flash content Erase: perform a chip erase After selecting a operation, tab Action is automatically activated. Press Start button to start operation. For further information on available settings in software and jumper settings on starterkits have a look at Options MB91F467D Options (or other MCU type) and Device Help. Fujitsu Microelectronics Europe GmbH - 25 - MCU-AN-300012-E-V13

Chapter 4 GALEP-Programmer 4.1.3 Serial Asynchronous Programming with GALEP-4 Programmer For serial asynchronous programming no adapter is needed. Connect the starterkit via serial cable to free COM port on your PC and do jumper settings as described in following chapters depending on your board type. Additionally set DTR signal as reset signal. GALEP- 4 programmer has also to be connected to the PC to act as kind of hardware dongle. Figure 22: Serial Asynchronous Programming with GALEP-4 Programmer Start the GALEP32 programmer software and use Load command to load a bin or hex file. Select tab Devices and browse to the correct device, e.g. MCU Fujitsu MB91F467D. Choose ASYNC for serial asynchronous programming. Use Select Device! button to accept current selection. Use the functions now enabled on the bottom of the window to select action: Program: write loaded mhx/bin-file to MCU Verify: compare loaded file to Flash contents Blank: do a blank check Read: read-out Flash content Erase: perform a chip erase After selecting a operation, tab Action is automatically activated. Press Start button to start operation. For further information on available settings in software and jumper settings on starterkits have a look at Options MB91F467D Options (or other MCU type) and Device Help. MCU-AN-300012-E-V13-26 - Fujitsu Microelectronics Europe GmbH

4.2 GALEP-5 Serial Asynchronous Flash Programming Chapter 4 GALEP-Programmer GALEP-5 Programmer is a third party tool developed by Conitec (www.conitec.com). This programmer allows parallel as well as serial programming of several Fujitsu microcontrollers. In case of parallel programming, different socket-adapters are available, depending on the microcontroller family and device package. In case of serial programming both synchronous and asynchronous modes are supported. For serial programming an optional ISP-adapter is offered. The GALEP-5 is a PC-controlled programmer using USB connection. It can be powered by USB port or by an external power-supply, but also by accumulators (6x Type AAA NiMh 1.2V). Figure 23: Conitec GALEP-5 Programmer Software used together with the GALEP-5 programmer is GALEP5. This software supports all programming modes available for the adequate device. Figure 24: GALEP-5 programmer software Fujitsu Microelectronics Europe GmbH - 27 - MCU-AN-300012-E-V13

Chapter 4 GALEP-Programmer 4.2.1 Parallel Programming with GALEP-5 Programmer The GALEP-5 programmer includes a 48-pin Textool TM -socket, for devices with Dual-Inline- Packages (DIP). For other packages optional adapters are available, e.g.: Package GALEP-Adapter Remark QFP208 210881 MB91F465D, MB91F467D LQPF100 210882 MB91F464A, MB91F465X LQFP120 210883 MB91F465K BGA256 210884 MB91F469G LQFP64 210889 MB91F463N LQFP144 210890 MB91F465B, MB91F467B LQFP176 210891 MB91F467R LQFP144 210892 MB91F465C, MB91F467C LQFP176 210898 MB91F465P, MB91F467P LQFP176 210899 MB91F467S Table 8: Parallel Programming Adapters Connect the adapter to the Textool TM socket (take care of correct connection), place the MCU in the adapter and close the adapter s cover. Start the GALEP5 programmer software and use Load command to load a bin or hex file. Select tab Devices and browse to the correct device, e.g. MCU Fujitsu MB91F467D. Choose QFP208 (or correct package) for parallel programming. In the information window below the correct programming adapter is listed. Use Select Device! button to accept current selection. Figure 25: GALEP-5 with adapter 210881 MCU-AN-300012-E-V13-28 - Fujitsu Microelectronics Europe GmbH

Chapter 4 GALEP-Programmer Figure 26: GALEP5 device selection Fujitsu Microelectronics Europe GmbH - 29 - MCU-AN-300012-E-V13

Chapter 4 GALEP-Programmer Use the functions now enabled on the bottom of the window to select action: Program: write loaded mhx/bin-file to MCU Verify: compare loaded file to Flash contents Blank: do a blank check Read: read-out Flash content Erase: perform a chip erase After selecting a operation, tab Action is automatically activated. Press Start button to start operation. For further information on available settings in software and jumper settings on starterkits have a look at Options MB91F467D Options (or other MCU type) and Device Help. Figure 27: Programmer action MCU-AN-300012-E-V13-30 - Fujitsu Microelectronics Europe GmbH

Chapter 4 GALEP-Programmer 4.2.2 Serial Synchronous Programming with GALEP-5 Programmer Conitec offers an ISP-adapter (210915) for all devices with serial-synchronous burn-in bootloader. This adapter will be put into the Textool TM socket and a 10-pin cable-connector is used for the connection to the microcontroller. All MB91460 series starterkits provide a 10pin connector to connect the programmer tool. Figure 28: 10pin connector for serial synchronous programming Pin Number Pin Signal Description 1 NC Not used 2 NC Not used 3 MD0 MCU mode-pin 0 4 MD2 MCU mode-pin 2 5 INITX MCU reset signal 6 SIN4 UART4 receive data 7 SOT4 UART4 transmit data 8 SCK4 UART4 clock 9 VCC Board supply voltage 10 GND Ground Table 9: Pining of 10pin connector Figure 29: Serial Synchronous Programming on SK-91F467D-208PFV Fujitsu Microelectronics Europe GmbH - 31 - MCU-AN-300012-E-V13

Chapter 4 GALEP-Programmer Figure 30: Serial Synchronous Programming Connect the adapter to the Textool TM socket (pins 5-44) and connect the adapter to the starterkit using flat cable. Start the GALEP5 programmer software and use Load command to load a bin or hex file. Select tab Devices and browse to the correct device, e.g. MCU Fujitsu MB91F467D. Choose SYNC for serial synchronous programming. In the information window below the correct programming adapter is listed. Use Select Device! button to accept current selection. Use the functions now enabled on the bottom of the window to select action: Program: write loaded mhx/bin-file to MCU Verify: compare loaded file to Flash contents Blank: do a blank check Read: read-out Flash content Erase: perform a chip erase After selecting a operation, tab Action is automatically activated. Press Start button to start operation. For further information on available settings in software and jumper settings on starterkits have a look at Options MB91F467D Options (or other MCU type) and Device Help. MCU-AN-300012-E-V13-32 - Fujitsu Microelectronics Europe GmbH

Chapter 4 GALEP-Programmer 4.2.3 Serial Asynchronous Programming with GALEP-5 Programmer For serial asynchronous programming also the ISP adapter is needed. Connect the starterkit via serial cable to the DSBU9 connector on the ISP adapter. Do jumper settings on starterkit as described in following chapters depending on your board type. Additionally set DTR signal as reset signal. Figure 31: Serial Asynchronous Programming with GALEP-5 Programmer Start the GALEP5 programmer software and use Load command to load a bin or hex file. Select tab Devices and browse to the correct device, e.g. MCU Fujitsu MB91F467D. Choose ASYNC for serial asynchronous programming. Use Select Device! button to accept current selection. Use the functions now enabled on the bottom of the window to select action: Program: write loaded mhx/bin-file to MCU Verify: compare loaded file to Flash contents Blank: do a blank check Read: read-out Flash content Erase: perform a chip erase After selecting a operation, tab Action is automatically activated. Press Start button to start operation. For further information on available settings in software and jumper settings on starterkits have a look at Options MB91F467D Options (or other MCU type) and Device Help. Fujitsu Microelectronics Europe GmbH - 33 - MCU-AN-300012-E-V13

Chapter 5 SK-91F467D-208PFV (-GPIO) / SK-91F467-Flexray 5 SK-91F467D-208PFV (-GPIO) / SK-91F467-Flexray This chapter describes the needed settings for programming the MB91F465D or MB91F467D on the starterkit SK-91F467D-208PFV (or SK-91F467D-208PFV-GPIO, SK- 91F467D-Flexray) The starterkit SK-91F467D-208PFV is a multifunctional development board for the FUJITSU 32bit flash microcontroller MB91F465D/MB91F467D in QFP208 package. It can be used stand-alone for software development and testing or together with monitor debugger software. Figure 32: Connection to starterkit SK-91F467D-208PFV For serial asynchronous programming SUB-D9 connector X4 which is connected to UART4 has to be used. Following jumper setting is needed: Jumper Setting Description JP60 1-2 closed MCU SIN4 connected to RS-232 transceiver JP65 1-2 closed MCU SOT4 connected to RS-232 transceiver JP69 1-2 closed X4 pin2 is connected to RS-232 transceiver Table 10: Jumper setting on starterkit SK-91F467D-208PFV MCU-AN-300012-E-V13-34 - Fujitsu Microelectronics Europe GmbH

Chapter 5 SK-91F467D-208PFV (-GPIO) / SK-91F467-Flexray If your programming software needs connection of RTS and CTS or if it generates reset signal on RTS or DTR line, refer to the following jumper list: Jumper Setting Description JP58 closed open RTS and CTS is shortcut at connector X4 RTS and CTS is not shortcut at connector X4 JP64 1-2 closed DTR can be used for system reset 2-3 closed RTS can be used for system reset JP57 3-4 closed Reset will be done via UART4 JP29 1-2 closed No polarity inversion for the DTR/RTS signal 2-3 closed Polarity inversion for the DTR/RTS signal Table 11: Jumper settings for reset signal on starterkit SK-91F467D-208PFV JP29 JP58 X4 JP60 JP64 JP57 JP65 JP69 Figure 33: Jumper setting on starterkit SK-91F467D-208PFV Fujitsu Microelectronics Europe GmbH - 35 - MCU-AN-300012-E-V13

Chapter 6 SK-91460-MAIN with SK-91460-91F467D-208PFV 6 SK-91460-MAIN with SK-91460-91F467D-208PFV This chapter describes the needed settings for programming the MB91F465D or MB91F467D on the starterkit SK-91460-MAIN with adapter board SK-91460-91F467D- 208PFV. The SK-91460-MAIN is a multifunctional evaluation board that has to be used together with the emulator system or a separated microcontroller board for the Fujitsu 32-bit microcontroller of MB91460 Series. The SK-91460-91F467D-208PFV was build as an adapter board that can be used together with the SK-91460-MAIN. It is also possible to use the SK-91460-91F467D-208PFV as a stand-alone system with some limitations. The board allows the designer immediately to start with the software development before his own final target system is available. The SK-91460-91F467D-208PFV supports the MB91F465D and MB91F467D in the QFP208 packages. To program the flash memory of the microcontroller there are two ways in this combination. You can use the SUB-D9 connector on the main board or on the adapter board. The second method can also be used if the adapter board is used as standalone system. 6.1 Connection to SK-91460-MAIN Figure 34: Connection to main board For flash programming, the default setting of UART assignment can be used. With this configuration, UART4 is connected to connector UART A. You can also use one of the other UART connectors if you change the assignment of UART and connectors. MCU-AN-300012-E-V13-36 - Fujitsu Microelectronics Europe GmbH

Chapter 6 SK-91460-MAIN with SK-91460-91F467D-208PFV Table 7 shows the default settings for UART4 with connector UART A. Jumper Setting Description ST1300 Pin 1 UART A : SOT ST1303 Pin 1 UART A : SIN ST1009 UART/LIN A ST1301 - Pin 4 UART A is connected to SOT 4 ST1304 - Pin 4 UART A is connected to SIN 4 1-2 LIN/UART A uses the RS232 output Table 12: Jumper setting for connection on main board If your programming software expects connection of RTS and CTS signal, close jumper ST1007. Connection does not support a reset of microcontroller via RTS or DTR signal. Jumper Setting Description ST1007 UART A : RTS-CTS ON (closed) OFF (open) RTS and CTS is shortcut on UART A / SL1000 RTS and CTS is not shortcut Table 13: Additional jumper setting on main board UART A ST1300 ST1301 ST1302 ST1303 ST1304 ST1305 ST1009 ST1007 UART A UART B UART C UART D UART1 UART2 UART3 UART4.. LIN A LIN B LIN C LIN D SOT UART15 SIN Figure 35: Jumper setting for connection with main board Fujitsu Microelectronics Europe GmbH - 37 - MCU-AN-300012-E-V13

Chapter 6 SK-91460-MAIN with SK-91460-91F467D-208PFV 6.2 Connection to SK-91460-91F467D-208PFV Figure 36: SK-91460-MAIN with adapter board SK-91460-91F467D-208PFV On the adapter board a SUB-D9 female connector and a RS232 transceiver is mounted. Refer to figure below for connection. Figure 37: Connection on adapter board MCU-AN-300012-E-V13-38 - Fujitsu Microelectronics Europe GmbH

Chapter 6 SK-91460-MAIN with SK-91460-91F467D-208PFV To use the SUB-D9 connector (X5) on the adapter board, following jumpers have to be set: Jumper Setting Description JP4 (SOT) JP5 (SIN) JP11 (URXD) JP13 (UTXD) 2 3 closed 2 3 closed closed closed SOT4 connected to RS232-Transceiver/SUB-D9 connector on adapter board SIN4 connected to RS232-Transceiver/SUB-D9 connector on adapter board URXD (receive data SIN4) connected to MAX3232 R1OUT UTXD (transmit data SOT4) connected to MAX3232 T1IN Table 14: Jumper setting for connection to adapter board If you want to use RS232 signals RTS or DTR to reset microcontroller by programming software (e.g. FME-FR Programmer) please check the following table for needed jumper setting: Jumper Setting Description JP12 (URST) closed URST (INITX) connected to MAX3232 R2OUT JP9 (RTS/CTS) JP10 (DTR/DSR) closed open open 1 2 closed 2 3 closed X5 Pin8 (CTS) connected with X5 Pin7 (RTS) X5 Pin8 (CTS) disconnected with X5 Pin7 (RTS) MAX 3232 R2input NC SUB-D X5 Pin4 DTR (data terminal ready) and 6 DSR (data set ready) are connected to R2input -> reset by DTR signal SUB-D X5 Pin7 RTS (and Pin 8 CTS) are connected to R2input -> reset by RTS signal Table 15: Jumper setting for reset signals on adapter board Fujitsu Microelectronics Europe GmbH - 39 - MCU-AN-300012-E-V13

Chapter 6 SK-91460-MAIN with SK-91460-91F467D-208PFV X5 JP10 JP9 JP11 JP13 JP12 JP4 JP5 Figure 38: Jumper setting on adapter board MCU-AN-300012-E-V13-40 - Fujitsu Microelectronics Europe GmbH

Chapter 7 SK-91464A-100PMC 7 SK-91464A-100PMC This chapter describes the needed settings for programming the MB91F464A on the starterkit SK-91464A-100PMC. The SK-91464A-100PMC is a multifunctional evaluation board for the Fujitsu 32bit flash microcontroller MB91F464A in LQFP100 package. It is used stand-alone for software development and testing. Figure 39: Connection to starterkit SK-91464A-100PMC For serial asynchronous programming SUB-D9 connector X5/UART B which is connected to UART4 has to be used. Following jumper setting is needed: Jumper Setting Description JP6 (UART B RxD) Closed SIN4 of the MCU is connected to UART B JP8 (UART B TxD) Closed SOT4 of the MCU is connected to UART B Table 16: Jumper setting on starterkit SK-91464A-100PMC Fujitsu Microelectronics Europe GmbH - 41 - MCU-AN-300012-E-V13

Chapter 7 SK-91464A-100PMC If your programming software needs connection of RTS and CTS or if it generates reset signal on RTS or DTR line, refer to the following jumper list: Jumper Setting Description JP32 (RTS-CTS) Closed Open RTS and CTS of X5 are connected RTS and CTS of X5 are not connected JP4 (UART A / B ) 2-3 UART B is used to generate Reset JP5 (DTR / RTS B ) 1-2 DTR of UART B is selected 2-3 RTS of UART B is selected JP24 (Main Reset) Closed External Reset generation is active JP35 (Polarity) 1-2 No negation for the DTR/RTS signal 2-3 DTR/RTS signal is negated Table 17: Jumper settings for reset signal on starterkit SK-91464A-100PMC JP24 JP35 JP4 JP6/8 JP5 JP32 X5/UART B Figure 40: Jumper setting on starterkit SK-91464A-100PMC MCU-AN-300012-E-V13-42 - Fujitsu Microelectronics Europe GmbH

Chapter 8 SK-91465K-120PMT 8 SK-91465K-120PMT This chapter describes the needed settings for programming the MB91F465K on the starterkit SK-91465K-120PMT. The SK-91465K-120PMT is a multifunctional evaluation board for the Fujitsu 32bit flash microcontroller MB91F465K in LQFP120 package. It is used stand-alone for software development and testing. Figure 41: Connection to starterkit SK-91465K-120PMT For serial asynchronous programming SUB-D9 connector X5/UART B which is connected to UART4 has to be used. Following jumper setting is needed: Jumper Setting Description JP6 (UART B RxD) Closed SIN4 of the MCU is connected to UART B JP8 (UART B TxD) Closed SOT4 of the MCU is connected to UART B Table 18: Jumper setting on starterkit SK-91465K-120PMT Fujitsu Microelectronics Europe GmbH - 43 - MCU-AN-300012-E-V13

Chapter 8 SK-91465K-120PMT If your programming software needs connection of RTS and CTS or if it generates reset signal on RTS or DTR line, refer to the following jumper list: Jumper Setting Description JP32 (RTS-CTS) Closed Open RTS and CTS of X5 are connected RTS and CTS of X5 are not connected JP4 (UART A / B ) 2-3 UART B is used to generate Reset JP5 (DTR / RTS B ) 1-2 DTR of UART B is selected 2-3 RTS of UART B is selected JP24 (Main Reset) Closed External Reset generation is active JP35 (Polarity) 1-2 No negation for the DTR/RTS signal 2-3 DTR/RTS signal is negated Table 19: Jumper settings for reset signal on starterkit SK-91465K-120PMT JP24 JP35 JP4 JP6/8 JP5 JP32 X5/UART B Figure 42: Jumper setting on starterkit SK-91465K-120PMT MCU-AN-300012-E-V13-44 - Fujitsu Microelectronics Europe GmbH

Chapter 9 SK-91469G-256BGA 9 SK-91469G-256BGA This chapter describes the needed settings for programming the MB91F469G on the starterkit SK-91469G-256BGA. The starterkit SK-91469G-256BGA is a multifunctional development board for the FUJITSU 32bit flash microcontroller MB91F469G in BGA256 package. It can be used stand-alone for software development and testing or together with a monitor debugger software. The board allows the designer immediately to start software development before his own final target system is available. Figure 43: Connection to starterkit SK-91469G-256BGA For serial asynchronous programming SUB-D9 connector X2 which is connected to UART4 has to be used. Following jumper setting is needed: Fujitsu Microelectronics Europe GmbH - 45 - MCU-AN-300012-E-V13

Chapter 9 SK-91469G-256BGA Jumper Setting Description JP19 (SIN0/4) JP32 (SOT0/4) JP21 (RXD) JP25 (TXD) JP27 (RS232/LIN) 1-2 SIN4 of the MCU is connected to LIN/UART 0/4 1-2 SOT4 of the MCU is connected to LIN/UART 0/4 1-2 SIN0/4 is connected to RS232 transceiver 1-2 SOT0/4 is connected to RS232 transceiver 1-2 X2 Pin2 is connected to RS232 transceiver (T1out) Table 20: Jumper setting on starterkit SK-91469G-256BGA If your programming software needs connection of RTS and CTS or if it generates reset signal on RTS or DTR line, refer to the following jumper list: Jumper Setting Description JP20 (RTS-CTS) Closed Open RTS and CTS of X2 are connected RTS and CTS of X2 are not connected JP89 (DTR/RTS) 1-2 DTR signal (Pin 6 of X2) is used as reset source 2-3 RTS signal (Pin 7 of X2) is used as reset source JP16 (RST 0/4) Closed Open LIN-UART 0/4 (X2) connected to reset circuit LIN-UART 0/4 (X2) not connected to reset circuit JP13 (DTR / DTRx) 1-2 No negation for the DTR/RTS signal 2-3 DTR/RTS signal is negated JP38 Closed External reset generation is active Table 21: Jumper settings for reset signal on starterkit SK-91469G-256BGA MCU-AN-300012-E-V13-46 - Fujitsu Microelectronics Europe GmbH

Chapter 9 SK-91469G-256BGA JP19 JP21 JP32 JP25 X2/UART 0/4 JP89 JP20 JP27 JP13 Figure 44: Jumper setting on starterkit SK-91469G-256BGA Fujitsu Microelectronics Europe GmbH - 47 - MCU-AN-300012-E-V13

Chapter 10 SK-91463N-64PMC 10 SK-91463N-64PMC This chapter describes the needed settings for programming the MB91F463N on the starterkit SK-91463N-64PMC. The starterkit SK-91463N-64PMC is a multifunctional development board for the FUJITSU 32bit flash microcontroller MB91F463N in LQFP64 package. It can be used stand-alone for software development and testing. Figure 45: Connection to starterkit SK-91463N-64PMC For serial asynchronous programming SUB-D9 connector X5/UART B which is connected to UART0 has to be used. Following jumper setting is needed: Jumper Setting Description JP6 closed SIN0 of the MCU connected to UART B JP8 closed SOT0 of the MCU connected to UART B Table 22: Jumper setting on starterkit SK-91463N-64PMC MCU-AN-300012-E-V13-48 - Fujitsu Microelectronics Europe GmbH

Chapter 10 SK-91463N-64PMC If your programming software needs connection of RTS and CTS or if it generates reset signal on RTS or DTR line, refer to the following jumper list: Jumper Setting Description JP32 closed open RTS and CTS is shortcut at connector X5 RTS and CTS is not shortcut at connector X5 JP4 2-3 closed UART B is used to generate reset JP5 JP35 1-2 closed DTR can be used for system reset 2-3 closed RTS can be used for system reset 1-2 closed No polarity inversion for the DTR/RTS signal 2-3 closed Polarity inversion for the DTR/RTS signal JP24 Closed External reset generation is active Table 23: Jumper settings for reset signal on starterkit SK-91463N-64PMC MB91F463N needs a special mode pin setting for entering programming mode. Therefore set Dip Switch S2 (Mode Switch) for serial programming: (0,0,1,0) and press reset button before starting programming sequence: MD0 MD1 MD2 MD3 Dip-Switch S2 (programming mode) ON OFF 1 2 3 4 Figure 46: Mode Pin setting for programming mode on SK-91463N-64PMC Please note to set mode pins back to run mode (0,0,0,0) after successful programming: MD0 MD1 MD2 MD3 Dip-Switch S2 (Run mode) ON OFF 1 2 3 4 Figure 47: Mode Pin setting for run mode on SK-91463N-64PMC Fujitsu Microelectronics Europe GmbH - 49 - MCU-AN-300012-E-V13

Chapter 10 SK-91463N-64PMC JP35 JP8 JP6 JP5 JP32 X5/UART B Figure 48: Jumper setting on starterkit SK-91463N-64PMC JP4 MCU-AN-300012-E-V13-50 - Fujitsu Microelectronics Europe GmbH

Chapter 11 SK-91467R-176PMC 11 SK-91467R-176PMC This chapter describes the needed settings for programming the MB91F467R on the starterkit SK-91467R-176PMC. The starterkit SK-91467R-176PMC is a multifunctional development board for the FUJITSU 32bit flash microcontroller MB91F467R in LQFP176 package. It can be used stand-alone for software development and testing. Figure 49: Connection to starterkit SK-91467R-176PMC For serial asynchronous programming SUB-D9 connector X2/LIN-UART0 which is connected to UART0 has to be used. Following jumper setting is needed: Fujitsu Microelectronics Europe GmbH - 51 - MCU-AN-300012-E-V13

Chapter 11 SK-91467R-176PMC Jumper Setting Description JP81 1-2 closed SIN0 is connected to RS232 transceiver JP82 1-2 closed SOT0 is connected to RS232 transceiver JP86 1-2 closed X2 Pin 4/6 is connected to RS232 transceiver Table 24: Jumper setting on starterkit SK-91467R-176PMC If your programming software needs connection of RTS and CTS or if it generates reset signal on RTS or DTR line, refer to the following jumper list: Jumper Setting Description JP88 closed open RTS and CTS is shortcut at connector X2 RTS and CTS is not shortcut at connector X2 JP87 1-2 closed DTR can be used for system reset 2-3 closed RTS can be used for system reset JP80 closed Reset will be done via UART0 JP51 1-2 closed No polarity inversion for the DTR/RTS signal 2-3 closed Polarity inversion for the DTR/RTS signal JP53 Closed External reset generation is active Table 25: Jumper settings for reset signal on starterkit SK-91467R-176PMC MB91F467R needs a special mode pin setting for entering programming mode. Therefore set Dip Switch S1 (Mode Switch) for serial programming: (0,1,0,0) and press reset button before starting programming sequence: MD3 MD2 MD1 MD0 Dip-Switch S1 (programming mode) ON OFF 1 2 3 4 Figure 50: Mode Pin setting for programming mode on SK-91467R-176PMC MCU-AN-300012-E-V13-52 - Fujitsu Microelectronics Europe GmbH

Chapter 11 SK-91467R-176PMC Please note to set mode pins back to run mode (0,0,0,0) after successful programming: MD3 MD2 MD1 MD0 Dip-Switch S1 (Run mode) ON OFF 1 2 3 4 Figure 51: Mode Pin setting for run mode on SK-91467R-176PMC JP81 JP82 JP89 JP87 JP88 JP86 X2/LIN-UART0 JP80 Figure 52: Jumper setting on starterkit SK-91467R-176PMC JP51 Fujitsu Microelectronics Europe GmbH - 53 - MCU-AN-300012-E-V13

Chapter 12 SK-91467B-144PMC 12 SK-91467B-144PMC This chapter describes the needed settings for programming the MB91F465B, MB91F467B or MB91F464H on the starterkit SK-91467B-144PMC. The starterkit SK-91F467B-144PMC is a multifunctional development board for the FUJITSU 32bit flash microcontroller MB91F465B/MB91F467B and MB91F464H in QFP144 package. It can be used stand-alone for software development and testing or together with monitor debugger software. Figure 53: Connection to starterkit SK-91F467B-144PMC For serial asynchronous programming SUB-D9 connector X2/LIN-UART4 which is connected to UART4 has to be used. Following jumper setting is needed: MCU-AN-300012-E-V13-54 - Fujitsu Microelectronics Europe GmbH

Chapter 12 SK-91467B-144PMC Jumper Setting Description JP21 1-2 closed MCU SIN4 connected to RS-232 transceiver JP25 1-2 closed MCU SOT4 connected to RS-232 transceiver JP27 1-2 closed X4 pin2 is connected to RS-232 transceiver Table 26: Jumper setting on starterkit SK-91F467B-144PMC If your programming software needs connection of RTS and CTS or if it generates reset signal on RTS or DTR line, refer to the following jumper list: Jumper Setting Description JP20 closed open RTS and CTS is shortcut at connector X4 RTS and CTS is not shortcut at connector X4 JP89 1-2 closed DTR can be used for system reset 2-3 closed RTS can be used for system reset JP16 closed Reset will be done via UART4 JP13 1-2 closed No polarity inversion for the DTR/RTS signal 2-3 closed Polarity inversion for the DTR/RTS signal JP38 closed External reset generation is active Table 27: Jumper settings for reset signal on starterkit SK-91F467B-144PMC Fujitsu Microelectronics Europe GmbH - 55 - MCU-AN-300012-E-V13

Chapter 12 SK-91467B-144PMC JP21 JP25 JP30 JP89 JP20 JP27 X2/LIN-UART4 JP16 Figure 54: Jumper setting on starterkit SK-91F467B-144PMC JP13 MCU-AN-300012-E-V13-56 - Fujitsu Microelectronics Europe GmbH

Chapter 13 SK-91465X-100PMC 13 SK-91465X-100PMC This chapter describes the needed settings for programming the MB91F465X on the starterkit SK-91465X-100PMC. The SK-91465X-100PMC is a multifunctional evaluation board for the Fujitsu 32bit flash microcontroller MB91F465X in LQFP100 package. It is used stand-alone for software development and testing. Figure 55: Connection to starterkit SK-91465X-100PMC For serial asynchronous programming SUB-D9 connector X6/UART A which is connected to UART4 has to be used. Following jumper setting is needed: Jumper Setting Description JP26 Closed SIN4 of the MCU is connected to UART A JP29 Closed SOT4 of the MCU is connected to UART A Table 28: Jumper setting on starterkit SK-91465X-100PMC Fujitsu Microelectronics Europe GmbH - 57 - MCU-AN-300012-E-V13

Chapter 13 SK-91465X-100PMC If your programming software needs connection of RTS and CTS or if it generates reset signal on RTS or DTR line, refer to the following jumper list: Jumper Setting Description JP24 Closed Open RTS and CTS of X5 are connected RTS and CTS of X5 are not connected JP72 1-2 UART A is used to generate Reset JP28 1-2 DTR of UART A is selected 2-3 RTS of UART A is selected JP14 Closed External Reset generation is active JP33 1-2 No negation for the DTR/RTS signal 2-3 DTR/RTS signal is negated Table 29: Jumper settings for reset signal on starterkit SK-91465X-100PMC JP14 JP72 JP33 JP24 JP28 X5/UART B JP29 JP26 Figure 56: Jumper setting on starterkit SK-91465X-100PMC MCU-AN-300012-E-V13-58 - Fujitsu Microelectronics Europe GmbH

Chapter 14 SK-91467C-144PMC 14 SK-91467C-144PMC This chapter describes the needed settings for programming the MB91F463C, MB91F465C or MB91F467C on the starterkit SK-91467C-144PMC. The SK-91467C-144PMC is a multifunctional evaluation board for the Fujitsu 32bit flash microcontroller MB91F463C, MB91F465C and MB91F467C in LQFP100 package. It supports also MB91F465B, MB91F467B and MB91F464H if the external bus interface is not used. The board is used stand-alone for software development and testing. Figure 57: Connection to starterkit SK-91467C-144PMC For serial asynchronous programming SUB-D9 connector X6/UART A which is connected to UART4 has to be used. Following jumper setting is depending on the used device needed: Jumper Setting Description JP48 JP49 1-2 SIN4 of MB91F46xC is connected to UART B 2-3 SIN4 of MB91F46xB is connected to UART B 1-2 SOT4 of MB91F46xC is connected to UART B 2-3 SOT4 of MB91F46xB is connected to UART B Table 30: Jumper setting on starterkit SK-91467C-144PMC Fujitsu Microelectronics Europe GmbH - 59 - MCU-AN-300012-E-V13

Chapter 14 SK-91467C-144PMC If your programming software needs connection of RTS and CTS or if it generates reset signal on RTS or DTR line, refer to the following jumper list: Jumper Setting Description JP32 Closed Open RTS and CTS of X6 are connected RTS and CTS of X6 are not connected JP4 2-3 UART B is used to generate Reset JP5 1-2 DTR of UART B is selected 2-3 RTS of UART B is selected JP24 Closed External Reset generation is active JP35 1-2 No negation for the DTR/RTS signal 2-3 DTR/RTS signal is negated Table 31: Jumper settings for reset signal on starterkit SK-91467C-144PMC JP4 JP24 JP35 JP48 JP49 JP5 JP32 X6/UART B Figure 58: Jumper setting on starterkit SK-91467C-144PMC (for MB9146xC) MCU-AN-300012-E-V13-60 - Fujitsu Microelectronics Europe GmbH

Chapter 15 SK-91460P-176PMC(-GPIO) 15 SK-91460P-176PMC(-GPIO) This chapter describes the needed settings for programming the MB91F465P or MB91F467P on the starterkit SK-91460P-176PMC. The SK-91460P-176PMC is a multifunctional evaluation board for the Fujitsu 32bit flash microcontroller MB91F465P and MB91F467P in LQFP176 package. The board is used stand-alone for software development and testing. Figure 59: Connection to starterkit SK-91460P-176PMC For serial asynchronous programming SUB-D9 connector X2/LIN-UART4 which is connected to UART4 has to be used. Following jumper setting is needed: Jumper Setting Description JP21 1-2 SIN4 is connected to RS232 transceiver JP25 1-2 SOT4 is connected to RS232 transceiver JP27 1-2 X2 pin 2 is connected to RS232 transceiver Table 32: Jumper setting on starterkit SK-91460P-176PMC Fujitsu Microelectronics Europe GmbH - 61 - MCU-AN-300012-E-V13

Chapter 15 SK-91460P-176PMC(-GPIO) If your programming software needs connection of RTS and CTS or if it generates reset signal on RTS or DTR line, refer to the following jumper list: Jumper Setting Description JP20 Closed Open RTS and CTS of X2 are connected RTS and CTS of X2 are not connected JP89 1-2 DTR signal (pin 6 of X2) is used as reset source 2-3 RTS signal (pin 7 of X2) is used as reset source JP16 Closed LIN-UART4 (X2) connected to reset circuit JP38 Closed External Reset generation is active JP13 1-2 No negation for the DTR/RTS signal 2-3 DTR/RTS signal is negated Table 33: Jumper settings for reset signal on starterkit SK-91460P-176PMC MCU-AN-300012-E-V13-62 - Fujitsu Microelectronics Europe GmbH

Chapter 15 SK-91460P-176PMC(-GPIO) X2/ LIN- UART4 JP89 JP20 JP27 JP21 JP25 JP16 JP13 JP38 Figure 60: Jumper setting on starterkit SK-91460P-176PMC Fujitsu Microelectronics Europe GmbH - 63 - MCU-AN-300012-E-V13

Chapter 16 SK-91460S-176PMC 16 SK-91460S-176PMC This chapter describes the needed settings for programming the MB91F467S on the starterkit SK-91460S-176PMC. The SK-91460S-176PMC is a multifunctional evaluation board for the Fujitsu 32bit flash microcontroller MB91F467S in LQFP176 package. The board is used stand-alone for software development and testing. Figure 61: Connection to starterkit SK-91460S-176PMC For serial asynchronous programming SUB-D9 connector X2/LIN-UART4 which is connected to UART4 has to be used. Following jumper setting is needed: Jumper Setting Description JP21 1-2 SIN4 is connected to RS232 transceiver JP25 1-2 SOT4 is connected to RS232 transceiver JP27 1-2 X2 pin 2 is connected to RS232 transceiver Table 34: Jumper setting on starterkit SK-91460S-176PMC MCU-AN-300012-E-V13-64 - Fujitsu Microelectronics Europe GmbH

Chapter 16 SK-91460S-176PMC If your programming software needs connection of RTS and CTS or if it generates reset signal on RTS or DTR line, refer to the following jumper list: Jumper Setting Description JP20 Closed Open RTS and CTS of X2 are connected RTS and CTS of X2 are not connected JP89 1-2 DTR signal (pin 6 of X2) is used as reset source 2-3 RTS signal (pin 7 of X2) is used as reset source JP16 Closed LIN-UART4 (X2) connected to reset circuit JP38 Closed External Reset generation is active JP13 1-2 No negation for the DTR/RTS signal 2-3 DTR/RTS signal is negated Table 35: Jumper settings for reset signal on starterkit SK-91460S-176PMC Fujitsu Microelectronics Europe GmbH - 65 - MCU-AN-300012-E-V13

Chapter 16 SK-91460S-176PMC X2/ LIN- UART4 JP89 JP20 JP27 JP21 JP25 JP16 JP13 JP38 Figure 62: Jumper setting on starterkit SK-91460S-176PMC MCU-AN-300012-E-V13-66 - Fujitsu Microelectronics Europe GmbH

Chapter 17 SK-91460T-144PMC(-GPIO) 17 SK-91460T-144PMC(-GPIO) This chapter describes the needed settings for programming the MB91F467T on the starterkit SK-91460T-144PMC. The SK-91460T-144PMC is a multifunctional evaluation board for the Fujitsu 32bit flash microcontroller MB91F467T in LQFP144 package. The board is used stand-alone for software development and testing. Figure 63: Connection to starterkit SK-91460T-176PMC For serial asynchronous programming SUB-D9 connector X2/LIN-UART4 which is connected to UART4 has to be used. Following jumper setting is needed: Jumper Setting Description JP21 1-2 SIN4 is connected to RS232 transceiver JP25 1-2 SOT4 is connected to RS232 transceiver JP27 1-2 X2 pin 2 is connected to RS232 transceiver Table 36: Jumper setting on starterkit SK-91460P-144PMC Fujitsu Microelectronics Europe GmbH - 67 - MCU-AN-300012-E-V13