Specifications
Developer’s Serial Bootloader, Rev. 13
PC bootloader master software
Freescale Semiconductor58
The following figure displays the bootloader master flowchart:
Figure 37. Bootloader master flowchart
9.1 File structure
The following file structure setup is used in PC master software:
• 8-Bit and 32-Bit MCU image operations:
— s19.c
• UART manipulations:
—serial.h
• seriallinux.c (serialw32.c)
— System platform dependent files:
• sysdep.h
— sysdeplinux.h
— sysdepw32.h
• Generic and main program files:
START
ENOUGH
INIT UART
OK?
SURE?
ARGUMENTS
OPEN S19 FILE
OK?
WAIT (HOOK) FOR
OK?
MCU RESET
CALIBRATE MCU
OK?
X(1)
READ MCU INFO
OK?
PRINT MCU INFO
SET UP INTERRUPT
OK?
VECTOR TABLE
X(2)
X(0)
X(3)
X(4)
X(5)
X(6)
CHECK S19
IMAGE TO FIT
X($FF)
PROGRAM MCU
OK?
X(8)
UNHOOK MCU
CLOSE UART
EXIT
NOTE: X(2) MEANS EXIT WITH EXIT CODE
DISPLAY WARNING
IF NOT
NO
NO
NO
NO
NO
NO
NO
NO
NO
YES
YES
YES
YES YES
YES
YES
YES
YES
?










