Requirements For A Loaded Program - Motorola 56F800 User Manual

Hybrid controller
Table of Contents

Advertisement

After this message, the Bootloader resets the processor and waits for the S-Record file again.
Other loading errors are described in
Table 1-1. Error Codes for the Serial Bootloader Application
Error
Error Title
Code
1
Data Receive Error
2
Invalid Character
3
Invalid S-Record
Format
4
Wrong S-Record
Checksum
5
Buffer Overrun
6
Flash
Programming Error
7
Internal Error
If an application previously loaded via the Bootloader uses the variable
BSP_BOOTLOADER_DELAY, (see
only until the required time-out expires, then launches the application. When this happens, the
terminal window contains a message similar to this:
"(c) 2000-2001 Motorola Inc. S-Record loader. Version 1.1
Application started."
1.1.6

Requirements for a Loaded Program

If the application is loaded via the Bootloader, it must meet the following requirements:
Particular start address for application - The entry point for the loaded application must
be located at address 0x0080 in Program memory; i.e., immediately after the interrupt table
MOTOROLA
Freescale Semiconductor, Inc.
.
Table 1-1
Possible Reasons
•Any SCI error except Noise Error
(Overrun, Frame Error, Parity
Error)
•Received character is not "S" or
any hexadecimal digit
•Invalid record type; permitted
type is 0,3,7
•S-Record length is less than
address plus checksum length
•Checksum calculated around
received S-Record did not match
with received one.
•Internal data buffer was full
•After programming word into
Flash,the programmed word read
back is not equal to expected
value
•Bootloader data corrupte.
Section 1.1.6
Bootloader
For More Information On This Product,
Go to: www.freescale.com
What to Do
•Check connections with Host PC and
settings for host terminal program
•Verify that S-Record file does not contain any
invalid characters
•Check connections and send mode in the
terminal program
•Verify S-Record file
•Check S-Record file
•Check connections and send mode in
terminal program
•Terminal program did not stop after receiving
Xoff character
•Confirm that the terminal program supports
Xon / Xoff flow control protocol
•The Bootloader tries to program Flash only
once and perfroms a read back / verify of the
value
•Try to reload Bootloader via CodeWarrior
), the Bootloader waits for the S-Record file
1-9

Advertisement

Table of Contents
loading

Table of Contents