5

Next: Minimum peripheral initialization   Previous: Usually starts from ROM (Flash)   Contents: Index


Moves itself to RAM for actual work

We now have RAM and Stack pointer and ready to do the real work. First of all since Flash memory is usually scarce resource and much slower then RAM, we move the actual bootloader code to RAM for actual execution. In many cases Flash memory is located in an address space that is not executable, for example serial flash that you can access by reading repeatativly from one address. Also in many cases, the actual bootloader code is compressed so it must first be uncompressed and then written to RAM.


Next:
Previous:
Contents:
Minimum peripheral initialization
Usually starts from ROM (Flash)
Index
Prepared by Ori Idan Helicon technologies