Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
03/24/09 18:10
Read: times


 
#163817 - Boot loader
Responding to: ???'s previous message
On one hand, you could relocate a bit of code into RAM with some chips supporting shared data/code space, and completely replace every single byte in the flash. BUT A LOSS OF POWER AT THIS TIME WILL MAKE YOUR PRODUCT A FRUITCAKE.

Because of this, and because a traditional 8051 chip can't run code from RAM, you normally use a boot loader, that never gets replaced. In case of a reboot at the wrong time, the boot loader will either be able to restart the reprogramming (if multiple copies where stored in flash) or will be able to use a serial port or similar to receive a new copy of the binary to program.

List of 12 messages in thread
TopicAuthorDate
IAP on NXP P89V51RC2            01/01/70 00:00      
   Is the code located above 0x2000?            01/01/70 00:00      
      It didn't start from 0x2000h            01/01/70 00:00      
         This is the Linker's job            01/01/70 00:00      
            Linker works. But Erase and Program could work only half way            01/01/70 00:00      
               Boot loader            01/01/70 00:00      
               sawing the branch you are sitting on...            01/01/70 00:00      
                  Parts of a live application can be replaced with care            01/01/70 00:00      
                  Update Prgram using IAP            01/01/70 00:00      
                     Back to boot loader concept again            01/01/70 00:00      
                        About Locate Function in C code            01/01/70 00:00      
                           It worked finally            01/01/70 00:00      

Back to Subject List