LPC3250 Using the NAND Flash Secondary Bootloader

Comments

6 comments

  • Avatar
    Michael Johnson

    There are some words on this buried in the package system

    Tools | Show Installed Packages

    Click on the "Creating Phytec LPC3250 Project"

    Look at the section "To load and debug an SDRAM application application into the NAND flash".

    You'll need to set the STARTUP_FROM_RESET #define to allow the program to startup.

    0
    Comment actions Permalink
  • Avatar
    Bob Destremps

    Okay. I see now. In the top of the LPC3200_Startup.s file there is a description of that define. And I will define that in the Preprocessor Definitions at the project level. Though I suppose you could do it at the startup file level just as well.

    I have a question though. Should I do this for the ARM Debug or ARM Release configuration? Or it doesn't matter. Could you give a brief summary of the differences between the two? It's hard to identify the differences going back and forth between the property settings. Maybe there is an easy way to compare?

    Thanks

    Bob

    0
    Comment actions Permalink
  • Avatar
    Michael Johnson

    You can define at either of these levels or "Common" if you wish it to apply to all configurations.

    I use the project explorer to see what is set at what level and in which configuration - use the V drop down on the toolbar to select the properties to be shown in folders.

    Regards

    Michael

    0
    Comment actions Permalink
  • Avatar
    Bob Destremps

    Michael, Could you please provide some detail about the typical differences in settings made between the debug and release configurations. Using the project explorer I've been going back and forth for a while and am having trouble finding the differences.

    Bob

     

    0
    Comment actions Permalink
  • Avatar
    Bob Destremps

    Oh and defining STARTUP_FROM_RESET did the trick. Thanks very much for that. You might note that the package notes you directed me to don't talk about the STARTUP_FROM_RESET define. I have version 2.1.

    Bob

    0
    Comment actions Permalink
  • Avatar
    Michael Johnson

    Debug configuration #defines DEBUG, sets optimisation to None and enables full debug info

    Release configuration #defines NDEBUG, set optimisation to Level 1 and sets a complier option to enable backtracing out of functions.

    The Debug and Release configurations are specified at the solution node level.

    I'll update the documentation with STARTUP_FROM_RESET on the next release.

     

    Regards

    Michael

    0
    Comment actions Permalink

Please sign in to leave a comment.