This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

BOOT LOADER HELP

hello,
I am a student in Cairo university in Egypt,
in our department they gave me a project to develop a simple boot loader with a very simple kernel and I don't know where can I start from ? can u help me please

thx waiting for your reply

Parents
  • 1) the bootloader can not 'just' be part of a C program, if you do that the bootloader and the appcode will share the 'secret' routines and the bootloader will blow when you erase the app
    2) a boot loader that can not handle a poweroutage at any time during bootload and switching between boot and app is worthless
    3) because of 2) it is advisable not to use interrupts in the bootloader
    4) the 'ease' of making a bootlader depend on the flash page size of your chip.
    5) good luck

    Erik

    "secret routines": the routines the compiler inserts automatically to handle certain constructs.

Reply
  • 1) the bootloader can not 'just' be part of a C program, if you do that the bootloader and the appcode will share the 'secret' routines and the bootloader will blow when you erase the app
    2) a boot loader that can not handle a poweroutage at any time during bootload and switching between boot and app is worthless
    3) because of 2) it is advisable not to use interrupts in the bootloader
    4) the 'ease' of making a bootlader depend on the flash page size of your chip.
    5) good luck

    Erik

    "secret routines": the routines the compiler inserts automatically to handle certain constructs.

Children
No data