![]() This is done so that I can write data into these locations during run time. For example, one data structure will be at 0x1000, one will be at 0x2800 and one at 0x2C00. Where the linker script comes in is that I need to have the data structures at specific addresses in the block. Without using a custom linker script, I know how to, and am able to get the linker to put my data structures into this block. ![]() Currently, this data block starts at 0x1000 and goes to 0x2FFF. So, what I did was to put the 8K block at 0x1000 and move my code to 0x3000 which, unfortunately, required a change in my SBL. This does not appear to be possible - at least I haven't figured out how to do it. I need to add some fixed data blocks (8K worth) and I thought I could keep the SBL pointing to 0x1000 (and hence my code starting at 0x1000) and then put my data block from 0x2000 to 0x3FFF, then continue code from 0x4000. I have a secondary boot loader at 0x0000. My original plan was to SPLIT the code space, but I don't think that is possible: originally, my code started at 0x1000 and went up from there. *(.text_Flash_FWID*) /* for compatibility with previous releases */ *(.text_Flash3*) /* for compatibility with previous releases */ *(.text_Flash_CFG*) /* for compatibility with previous releases */ *(.text_Flash2*) /* for compatibility with previous releases */ => memory įTL stack trace ("~" means nesting-related): The following has evaluated to null or missing: It fails - this SHOULD work, I have made NO changes in the linker scripts. ![]() I took the DEFAULT link_template.ld from the Wizards folder, put it in my linkscripts folder and then did Tools-> convert. I then took a step back to try to verify functionality. I tried using Tools-> convert, but it still failed. I am now needed to make some changes in the code, but when I rebuild in 7.9.2, the linker script is failing. I used the old style linker script to place my jump function at 0xFF0. I have a project from pre-7.9 LPCXpresso that includes a bootloader at address 0x00 and has a jump call at address 0xFF0. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |