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

What happens when reset or Power on Reset or watch dog reset?

Hi

i am working on LPC2388 processor.I am using keil IDE. when power on reset happens, The flash boot loader code is executed. Where can i get the details of this bootloader code.LPC2388 having inbuilt Bootloader.

What i know : power on RESET start code will run , and from there jumps to main () function, i want the sequence flow of code when reset happens.

Thanks in advance
Goran

  • The uer manual tells.

    It checks if the vector table is valid. If not, it hangs in boot loader.
    If yes, it checks if code protect. If yes, it jumps to program.
    If not code protect, it checks one IO pin. If active, it stays in boot loader - else jumps to program.

    And "jumps to program" means it picks up the value from your specified reset vector to know where to jump.