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

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
  • "I wonder whether the stage 1 loader is permanently in the chip? Can I somehow accidentally have erased it? So that the second stage bootloader is not loaded from NAND."

    As far as I am aware, the stage 1 loader is in ROM and cannot be erased.

    You can load/run the 2nd stage loader using uVision - That might be a quicker way for you to see what's going wrong.

Reply
  • "I wonder whether the stage 1 loader is permanently in the chip? Can I somehow accidentally have erased it? So that the second stage bootloader is not loaded from NAND."

    As far as I am aware, the stage 1 loader is in ROM and cannot be erased.

    You can load/run the 2nd stage loader using uVision - That might be a quicker way for you to see what's going wrong.

Children
  • Hi,

    This time I am using the Bootloader_NOR and the code is booted without any problem.

    Why can't I boot from NAND flash but can boot from NOR flash? Is there any jumper setting saying use the NOR flash?

    Thank you.

  • "Is there any jumper setting saying use the NOR flash?"

    I can't remember seeing one mentioned - But it's a while since I used the Phytec board and we now have our own design.

    But ... did you try:

    1 - Reading chapter 35 of the user manual on the boot sequence
    2 - Adding debug code to the NAND 2nd boot loader
    3 - Running the NAND 2nd loader under the debugger

    Also:

    1 - Looking at the Phytec circuit diagrams (which should have been supplied with your board) would give a clue as to whether there are any links controlling this action
    2 - Checking the Phytec web site(s) for FAQ entries

    It is fairly certain that this is NOT a Keil issue. I have been using their bootstrap loaders and example code for the LPC3250 for quite a while and experienced no serious problems.