KS2 On Bootloader
KS2 On Bootloader
Loader
Overview
• Boot process
• Initial startup issues
• Different boot loader architectures
• Good boot loader traits
• Debugging techniques
Boot Process
Power on
Reset
Jump to
reset vector
Boot 0xFFFF FFFF
Media
Copy image
to RAM
RAM Reset Vector
FLASH
Execute
from RAM
0x0000 0000
Hardware
Initialization
Cache
Initialization
Load and
Jump to OS
OS
Figure 1 – Boot
process
Initial Startup
• Setup UART
• LED’s On/Off pattern
• JTAG(Ice Debuggers, which can step through the
initial boot window code)
• Modelsim
• Reboot Method(If UART/LED’s are not present)
Boot Loader Design Alternatives
Thank You