SW00ENB-ZCC Toshiba, SW00ENB-ZCC Datasheet - Page 377

no-image

SW00ENB-ZCC

Manufacturer Part Number
SW00ENB-ZCC
Description
MCU, MPU & DSP Development Tools CASEWORKS
Manufacturer
Toshiba
Datasheet

Specifications of SW00ENB-ZCC

Tool Type
Development Software Support
Core Architecture
870
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
3.4
3.4.1
User Boot Mode (Single-Chip Mode)
situations where the flash memory is to be re-programmed via a bus other than serial I/O. User Boot mode is
one of the two submodes in Single-Chip mode; the other submode is Normal mode in which the CPU
executes the user application. To re-program the flash memory, the mode of operation must be switched
from Normal mode to User Boot mode. The user application code must include a mode judgment routine as
part of the reset procedure.
TMP1940FDBF. Additionally, the user must incorporate a programming algorithm into the user application
code that is to be executed after User Boot mode is entered.
programming algorithm must be placed and executed outside of the flash memory.
corruption.
memory is being erased or programmed.
stored within the TMP1940FDBF flash memory, and b) loaded from an external controller. For a detailed
description of the erase and program sequence, refer to Section 3.6, On-Board Programming and Erasure.
User Boot mode allows you to create a programming algorithm of your own. This mode supports
The user must define the conditions for mode switching, based on the logic states on I/O ports of the
It is not possible to read from the flash memory while it is being erased or programmed; therefore, the
Once re-programming is complete, it is recommended to protect relevant flash blocks from accidental
All interrupts including the nonmaskable (NMI) interrupt must be globally disabled while the flash
The pages that follow describe the general procedures for two cases where the programming routine is: a)
Method 1: Storing a Programming Routine in the Flash Memory
(1) Determine the conditions (e.g., pin states) required for the flash memory to enter User Boot mode
and the I/O bus to be used to transfer new program code. Create hardware and software
accordingly. Before installing the TMP1940FDBF on a printed circuit board, write the following
program routines into an arbitrary flash block using programming equipment.
Mode judgment routine: Code to determine whether or not to switch to User Boot mode
Programming routine:
Copy routine:
TMP1940FDBF
(a) Mode Judgment Routine
(b) Programming Routine
(c) Copy Routine
Flash Memory
[Reset Procedure]
Old Application
Program Code
TMP1940FDBF-19
Code to download new program code from a host controller and re-
program the flash memory
TMP1940FDBF flash memory to either the TMP1940FDBF on-chip
RAM or external memory device.
Code to copy the flash programming routine from the
Host Controller
I/O
RAM
New Application
Program Code
TMP1940FDBF

Related parts for SW00ENB-ZCC