LM3S9B96 constant section for rodata

Comments

1 comment

  • Avatar
    Threehc

    I got my bootloader working which can load the constant data into external flash and code into internal flash. But when in the debugging process, the debugger loader(in the default directory) always failed to load the file into external.

    What I am currently doing is using "<ProgramSection alignment="4" load="Yes" name=".FLASHCONST"/>" when generating the code for external. After loading the constant data into external, I have to change it back to "<ProgramSection alignment="4" load="No" name=".FLASHCONST"/>"  for the debugger, otherwise, the debugger loader always failed when trying to load the FLASHCONST section into external and I can not start debugging.

    Is there any good idea that I don't have to modify the flash placement file every time when I start debugging?

    0
    Comment actions Permalink

Please sign in to leave a comment.