Bootloders for LPC3250

Hi,

I am using Phytex LPC3250 board for my design. I try to run the sample blinky application from the nand flash.

I download the Bootloader_NAND project to the flash and then download blinky. There is no problem here yet, I get the "Verify OK." messages.

However, when I power off and on the board, the code does not run. The application is not booted.

May this be a problem related to stage 1 loader? How can I be sure that stage 1 loader exists and boots the stage 2 loader?

Thanks in advance.

Parents
  • The stage one bootloader is in ROM on the processor silicon and it is executed after each reset.

    If you look at chapter 35 of the user manual you can see the boot sequence.

    A better question you might ask is whether the 2nd stage bootloader is being loaded from NAND and executing correctly.

    Have you done a NAND erase? That would have removed the 2nd stage bootloader and you would then have to reload it.

    What I have done is add some debug output to a serial port on the 2nd stage bootloader - It has been very useful to know what is happening in those early stages.

Reply
  • The stage one bootloader is in ROM on the processor silicon and it is executed after each reset.

    If you look at chapter 35 of the user manual you can see the boot sequence.

    A better question you might ask is whether the 2nd stage bootloader is being loaded from NAND and executing correctly.

    Have you done a NAND erase? That would have removed the 2nd stage bootloader and you would then have to reload it.

    What I have done is add some debug output to a serial port on the 2nd stage bootloader - It has been very useful to know what is happening in those early stages.

Children
More questions in this forum