MOTOROLA
Bootstrap Mode Operation
9-1
Chapter 9
Bootstrap Mode Operation
Bootstrap mode is designed to allow you to initialize a target system and download programs or data to the
target system’s RAM using the UART 1 or UART 2 controller. After a program is downloaded, it can be
executed, which gives you a simple debugging environment for failure analysis and a channel to update
programs stored in flash memory. Bootstrap mode has the following capabilities:
•
Allows you to initialize your system and download programs and data to system memory using
UART 1 or UART 2
•
Accepts execution commands to run programs stored in system memory
•
Supports memory and register read and write operations of selectable data size (byte, half-word, or
word)
•
Provides an 8-word instruction buffer for ARM920T vector table storage, instruction storage and
execution
9.1 Operation
In bootstrap mode, the MC9328MX1’s UART 1 and UART 2 controllers are initialized to auto-baud
detection mode, no parity, 8-bit character length, and 1 stop bit, and then they are ready to accept bootstrap
data download. The first character received must be
a
or
A
. This character determines the baud rate to be
used and which UART port is being used for bootstrapping. The first character is not part of a program or
data being downloaded. To download the data or program, the code must be converted to a bootstrap
format file, which is a text file that contains bootstrap records. A DOS-executable program,
STOB.EXE
,
can be downloaded from the DragonBall Web site to convert an S-record file to a bootstrap format file.
The MC9328MX1’s internal registers must be initialized as the target system before a program can be
downloaded to system memory. Because these internal registers can be treated as a type of memory, each
of them can be initialized by issuing a bootstrap record.
The bootstrap design provides an 8-word instruction buffer to which ARM920T core instructions can be
downloaded. The buffers are word-access only. This feature enables the ARM920T core instructions to be
run even if the memory systems are disabled or in a core stand-alone system. The instruction buffer starts
at 0x00000004. Regardless of the operation (initializing internal registers, downloading a program to
system RAM, or issuing a core instruction), bootstrap mode will only accept bootstrap record transfers that
are made with the UART. The record type determines what action will occur.
The instruction buffer allows the user to download the vector table to the buffer without the use of external
ROM or Flash. The feature provides the user a fast and easy environment to use IRQ during program
debugging.
Summary of Contents for DragonBall MC9328MX1
Page 68: ...1 12 MC9328MX1 Reference Manual MOTOROLA Introduction ...
Page 86: ...2 18 MC9328MX1 Reference Manual MOTOROLA Signal Descriptions and Pin Assignments ...
Page 116: ...3 30 MC9328MX1 Reference Manual MOTOROLA Memory Map ...
Page 126: ...4 10 MC9328MX1 Reference Manual MOTOROLA ARM920T Processor ...
Page 160: ...8 8 MC9328MX1 Reference Manual MOTOROLA System Control ...
Page 272: ...13 32 MC9328MX1 Reference Manual MOTOROLA DMA Controller ...
Page 281: ...Programming Model MOTOROLA Watchdog Timer Module 14 9 ...
Page 282: ...14 10 MC9328MX1 Reference Manual MOTOROLA Watchdog Timer Module ...
Page 300: ...15 18 MC9328MX1 Reference Manual MOTOROLA Analog Signal Processor ASP ...
Page 438: ...18 16 MC9328MX1 Reference Manual MOTOROLA Serial Peripheral Interface Modules SPI 1 and SPI 2 ...
Page 478: ...19 40 MC9328MX1 Reference Manual MOTOROLA LCD Controller ...
Page 574: ...21 32 MC9328MX1 Reference Manual MOTOROLA Memory Stick Host Controller MSHC Module ...
Page 598: ...23 16 MC9328MX1 Reference Manual MOTOROLA Real Time Clock RTC ...
Page 670: ...24 72 MC9328MX1 Reference Manual MOTOROLA SDRAM Memory Controller ...
Page 726: ...25 56 MC9328MX1 Reference Manual MOTOROLA SmartCard Interface Module SIM ...
Page 736: ...26 10 MC9328MX1 Reference Manual MOTOROLA General Purpose Timers ...
Page 854: ...29 18 MC9328MX1 Reference Manual MOTOROLA I2C Module ...
Page 900: ...30 46 MC9328MX1 Reference Manual MOTOROLA Synchronous Serial Interface SSI ...
Page 942: ...32 26 MC9328MX1 Reference Manual MOTOROLA GPIO Module and I O Multiplexer IOMUX ...