Other Parts Discussed in Thread: MSP430F2274
I have a function which copies a code section from flash to RAM, then executes it from RAM. It uses the .label assembly directive to find out the flash address of the code section so it can copy it to RAM. However, the .label directive returns the RUN address of the code (which is in RAM) instead of the LOAD address (which is in flash). So I have no way to find the starting address of the code section in flash to be transferred.
I have set up the LOAD and RUN addresses of the code section in the linker command file. Everything is per the user manuals. This same code worked fine in CCEv1.0 but doesn't work with CCEv3.1..
Has anybody else run into this problem? Or is there another technique to copy code from flash to RAM? Thanks!