Hello, I am using the 035 FLASH API to erase/program FLASH. Currently the library is running out of FLASH and I'd like to run it out of RAM. I am struggling with the linker command file syntax to make this happen. I added the .ram_code section shown below, however, I get a "no matching section" warning. Can anyone steer me in the right direction? Thanks, Walt
MEMORY { VECTORS (X) : origin=0x00000000 length=0x00000020 FLASH0 (RX) : origin=0x00000020 length=0x0007FFE0 FLASH1 (RX) : origin=0x00080000 length=0x00080000 FLASH2 (RX) : origin=0x00100000 length=0x00080000 FLASH3 (RX) : origin=0x00180000 length=0x00080000 STACKS (RW) : origin=0x08000000 length=0x00001300 RAM (RW) : origin=0x08001300 length=0x00026D00 } SECTIONS { .intvecs : {} > VECTORS .text : {} > FLASH0 | FLASH1 | FLASH2 | FLASH3 .const : {} > FLASH0 | FLASH1 | FLASH2 | FLASH3 .cinit : {} > FLASH0 | FLASH1 | FLASH2 | FLASH3 .pinit : {} > FLASH0 | FLASH1 | FLASH2 | FLASH3 .bss : {} > RAM .data : {} > RAM .ram_code: { pf035a_api.lib(.text) pf035a_api_eabi.lib(.text) pf035a_api_tiabi.lib(.text) } load = FLASH0, run = RAM, LOAD_START(_Flash_API_LoadStart), RUN_START(_Flash_API_RunStart), SIZE(_Flash_API_LoadSize)