Page 1
FR Family MB91460 Series, Flash Programming Doc. No. 002-05153 Rev. *A Cypress Semiconductor 198 Champion Court San Jose, CA 95134-1709 http://www.cypress.com...
Page 2
Cypress Semiconductor Corporation assumes no responsibility for the use of any circuitry other than circuitry embodied in a Cypress product. Nor does it convey or imply any license under patent or other rights. Cypress products are not warranted nor intended to be used for medical, life support, life saving, critical control or safety applications, unless pursuant to an express written agreement with Cypress.
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 ‘Cypress FR Flash Programmer’, is explained.
2. Background Information This chapter gives some information for connection of the microcontroller to the PC and the internal Boot ROM of the MCU. Connection to PC For serial asynchronous programming of the internal Flash, UART channel 4 is used on MB91460 series flash devices.
Background Information 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).
Page 9
Background Information Figure 2-4. Flow chart of Boot ROM *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 The internal bootloader provides some basic functions for reading and writing the internal RAM, function calling or changing the communication speed.
Page 10
Background Information Table 2-2. Internal bootloader functions Command PC to MCU MCU to PC Remark 1 (0x01) 241 (0xF1) 2 (0x02) 130 (0x82) Address (4 bytes) Lo, MidLo, MidHi, Hi READ Size (2 bytes) Lo, Hi Binary Dump Direct read and dump CheckSum (2 bytes) Bootloader sends 16bit checksum 1 (0x01)
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 Cypress FR flash microcontrollers of the MB91360 and MB91460 series. It uses the internal bootloader functions to set up communication.
Page 12
FME-FR Programmer Figure 3-2. Settings for Automatic Mode RESET MCU 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”...
Page 13
FME-FR Programmer Figure 3-3. 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”...
FME-FR Programmer Figure 3-4: Successful Programming in Automatic Mode 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 3-5. Connect to internal bootloader FR Family MB91460 Series, Flash Programming, Doc. No. 002-05153 Rev. *A...
Page 15
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”...
Page 16
FME-FR Programmer Table 3-2: Flash Loader Functions of FME-FR Programmer Function 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 Initialize this operation fails (e.g.
4. Cypress FR Flash Programmer This chapter explains the usage of the ‘Cypress FR Flash Programmer’ for serial asynchronous programming of the MB91460 series flash devices. The ‘Cypress FR Flash Programmer’ is a serial asynchronous programming tool for the Cypress FR flash microcontrollers.
(e.g. “MB91F467D”) and the mhx-file you want to program to the embedded flash memory. Figure 4-2. Cypress FR Flash Programmer Full Operation 1 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.
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. Table 4-1: Functions of Cypress FR Flash Programmer Function...
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 Cypress microcontrollers. In case of parallel programming, different socket-adapters are available, depending on the microcontroller family and device package.
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 Cypress MB91F467D. Choose QFP208 (or correct package) for parallel programming. In the information window below the correct programming adapter is listed.
Page 23
GALEP-Programmer Figure 5-5. Programmer action 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’...
GALEP-Programmer Serial Synchronous Programming with GALEP-4 Programmer 5.1.2 Conitec offers an ISP-adapter (210865) for all devices with serial-synchronous burn-in bootloader. This adapter will be put into the Textool socket and a 10-pin cable-connector is used for the connection to the microcontroller.
Page 25
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 Cypress MB91F467D. Choose SYNC for serial synchronous programming. In the information window below the correct programming adapter is listed.
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 Cypress MB91F467D. Choose ASYNC for serial asynchronous programming. Use ‘Select Device!’ button to accept current selection.
GALEP-5 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 Cypress microcontrollers. In case of parallel programming, different socket-adapters are available, depending on the microcontroller family and device package.
Page 28
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 Cypress MB91F467D. Choose QFP208 (or correct package) for parallel programming. In the information window below the correct programming adapter is listed.
GALEP-Programmer Figure 5-14. Programmer action 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 ...
Page 31
GALEP-Programmer Table 5-4: Pining of 10pin connector Pin Number Pin Signal Description Not used Not used MCU mode-pin 0 MCU mode-pin 2 INITX MCU reset signal SIN4 UART4 receive data SOT4 UART4 transmit data SCK4 UART4 clock Board supply voltage Ground Figure 5-16: Serial Synchronous Programming on SK-91F467D-208PFV FR Family MB91460 Series, Flash Programming, Doc.
Page 32
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 Cypress MB91F467D. Choose SYNC for serial synchronous programming. In the information window below the correct programming adapter is listed. Use ‘Select Device!’...
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 Cypress MB91F467D. Choose ASYNC for serial asynchronous programming. Use ‘Select Device!’ button to accept current selection.
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 CYPRESS 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.
Page 35
SK-91F467D-208PFV (-GPIO) / SK-91F467-FlexRay Table 6-1: Jumper setting on starterkit SK-91F467D-208PFV 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 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: Table 6-2: Jumper settings for reset signal on starterkit SK-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 Cypress 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.
Page 38
SK-91460-MAIN with SK-91460-91F467D-208PFV 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. Table 7-1 shows the default settings for UART4 with connector ‘UART A’.
SK-91460-MAIN with SK-91460-91F467D-208PFV Connection to SK-91460-91F467D-208PFV Figure 7-3: 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 7-4: Connection on adapter board FR Family MB91460 Series, Flash Programming, Doc. No. 002-05153 Rev. *A...
Page 40
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: Table 7-3: Jumper setting for connection to adapter board Jumper Setting Description SOT4 connected to RS232-Transceiver/SUB-D9 connector on adapter 2 – 3 closed JP4 (SOT) board SIN4 connected to RS232-Transceiver/SUB-D9 connector on adapter...
Page 41
SK-91460-MAIN with SK-91460-91F467D-208PFV Figure 7-5. Jumper Setting On Adapter Board JP10 JP9 JP11 JP13 JP12 FR Family MB91460 Series, Flash Programming, Doc. No. 002-05153 Rev. *A...
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 Cypress 32bit flash microcontroller MB91F464A in LQFP100 package. It is used stand-alone for software development and testing.
Page 43
SK-91464A-100PMC Table 8-1: Jumper setting on starterkit SK-91464A-100PMC Jumper Setting Description JP6 (UART”B”RxD) SIN4 of the MCU is connected to UART”B” Closed JP8 (UART”B”TxD) SOT4 of the MCU is connected to UART”B” Closed 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: Table 8-2: Jumper settings for reset signal on starterkit SK-91464A-100PMC Jumper...
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 Cypress 32bit flash microcontroller MB91F465K in LQFP120 package. It is used stand-alone for software development and testing.
Page 46
SK-91465K-120PMT Table 9-1: Jumper setting on starterkit SK-91465K-120PMT Jumper Setting Description JP6 (UART”B”RxD) SIN4 of the MCU is connected to UART”B” Closed JP8 (UART”B”TxD) SOT4 of the MCU is connected to UART”B” Closed 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: Table 9-2: Jumper settings for reset signal on starterkit SK-91465K-120PMT Jumper...
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 CYPRESS 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.
Page 49
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: Table 10-1: Jumper setting on starterkit SK-91469G-256BGA Jumper Setting Description JP19 SIN4 of the MCU is connected to LIN/UART 0/4 (SIN0/4) JP32 SOT4 of the MCU is connected to LIN/UART 0/4...
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 CYPRESS 32bit flash microcontroller MB91F463N in LQFP64 package. It can be used stand-alone for software development and testing.
Page 52
SK-91463N-64PMC Table 11-1: Jumper setting on starterkit SK-91463N-64PMC Jumper Setting Description closed SIN0 of the MCU connected to UART B closed SOT0 of the MCU connected to UART B 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: Table 11-2: Jumper settings for reset signal on starterkit SK-91463N-64PMC Jumper...
Page 53
SK-91463N-64PMC Please note to set mode pins back to run mode (0,0,0,0) after successful programming: Figure 11-3. Mode Pin setting for run mode on SK-91463N-64PMC MD0 MD1 MD2 MD3 Dip-Switch S2 (Run mode) Figure 11-4: Jumper setting on starterkit SK-91463N-64PMC JP35 X5/UART B JP8 JP6...
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 CYPRESS 32bit flash microcontroller MB91F467R in LQFP176 package. It can be used stand-alone for software development and testing.
Page 55
SK-91467R-176PMC Table 12-1: Jumper setting on starterkit 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 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: Table 12-2: Jumper settings for reset signal on starterkit SK-91467R-176PMC...
Page 56
SK-91467R-176PMC Please note to set mode pins back to run mode (0,0,0,0) after successful programming: Figure 12-3: Mode Pin setting for run mode on SK-91467R-176PMC MD3 MD2 MD1 MD0 Dip-Switch S1 (Run mode) JP89 Figure 12-4: Jumper setting on starterkit SK-91467R-176PMC JP87 JP81 JP88...
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 CYPRESS 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.
Page 58
SK-91467B-144PMC Table 13-1: Jumper setting on starterkit SK-91F467B-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 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: Table 13-2: Jumper settings for reset signal on starterkit SK-91F467B-144PMC Jumper...
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 Cypress 32bit flash microcontroller MB91F465X in LQFP100 package. It is used stand-alone for software development and testing.
Page 61
SK-91465X-100PMC Table 14-1: Jumper setting on starterkit SK-91465X-100PMC Jumper Setting Description SIN4 of the MCU is connected to UART”A” JP26 Closed SOT4 of the MCU is connected to UART”A” JP29 Closed 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: Table 14-2: Jumper settings for reset signal on starterkit SK-91465X-100PMC Jumper...
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 Cypress 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.
Page 64
SK-91467C-144PMC Table 15-1: Jumper setting on starterkit SK-91467C-144PMC Jumper Setting Description SIN4 of MB91F46xC is connected to UART”B” 1 - 2 JP48 SIN4 of MB91F46xB is connected to UART”B” 2 - 3 SOT4 of MB91F46xC is connected to UART”B” 1 - 2 JP49 SOT4 of MB91F46xB is connected to UART”B”...
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 Cypress 32bit flash microcontroller MB91F465P and MB91F467P in LQFP176 package. The board is used stand-alone for software development and testing.
Page 67
SK-91460P-176PMC(-GPIO) Table 16-1: Jumper setting on starterkit SK-91460P-176PMC 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 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: Table 16-2: Jumper settings for reset signal on starterkit SK-91460P-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 Cypress 32bit flash microcontroller MB91F467S in LQFP176 package. The board is used stand-alone for software development and testing.
Page 70
SK-91460S-176PMC Table 17-1: Jumper setting on starterkit SK-91460S-176PMC 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 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: Table 17-2: Jumper settings for reset signal on starterkit SK-91460S-176PMC...
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 Cypress 32bit flash microcontroller MB91F467T in LQFP144 package. The board is used stand-alone for software development and testing.
Page 73
SK-91460T-144PMC(-GPIO) Table 18-1: Jumper setting on starterkit SK-91460P-144PMC 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 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: Table 18-2: Jumper settings for reset signal on starterkit SK-91460T-144PMC...
Need help?
Do you have a question about the FR MB91460 Series and is the answer not in the manual?
Questions and answers