Re:Linking in IAR
Just a thought, but maybe the line endings are the problem. Have you tried changing the command to load flash at 0x1000 to be included on the same line? Like this:
place at address mem:0x10000 {readonly section .data_init, readonly section .rodata, readonly section .text};
If that isn't it, you could try defining two sections of flash (BOOT_FLASH and APP_FLASH for example), and instead of placing .rodata, .data_init and .text at specific address in a list, just have three statements like this:
place in APP_FLASH {readonly section .data_init}; place in APP_FLASH {readonly section .rodata}; place in APP_FLASH {readonly section .text};
I have a feeling that trying to place a list of items at a specific address is the problem.
login or register to reply
|