MOTOROLA
Bootloader
1-9
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
.
If an application previously loaded via the Bootloader uses the variable
BSP_BOOTLOADER_DELAY, (see
Section 1.1.6
), the Bootloader waits for the S-Record file
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
Table 1-1. Error Codes for the Serial Bootloader Application
Error
Code
Error Title
Possible Reasons
What to Do
1
Data Receive Error
•Any SCI error except Noise Error
(Overrun, Frame Error, Parity
Error)
•Check connections with Host PC and
settings for host terminal program
2
Invalid Character
•Received character is not "S" or
any hexadecimal digit
•Verify that S-Record file does not contain any
invalid characters
•Check connections and send mode in the
terminal program
3
Invalid S-Record
Format
•Invalid record type; permitted
type is 0,3,7
•S-Record length is less than
address plus checksum length
•Verify S-Record file
4
Wrong S-Record
Checksum
•Checksum calculated around
received S-Record did not match
with received one.
•Check S-Record file
•Check connections and send mode in
terminal program
5
Buffer Overrun
•Internal data buffer was full
•Terminal program did not stop after receiving
Xoff character
•Confirm that the terminal program supports
Xon / Xoff flow control protocol
6
Flash
Programming Error
•After programming word into
Flash,the programmed word read
back is not equal to expected
value
•The Bootloader tries to program Flash only
once and perfroms a read back / verify of the
value
7
Internal Error
•Bootloader data corrupte.
•Try to reload Bootloader via CodeWarrior
F
re
e
sc
a
le
S
e
m
ic
o
n
d
u
c
to
r,
I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
n
c
.
..