This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
I currently have my linker command file setup like so...
.TI.ramfunc : {-l F021_API_CortexM3_LE.lib} LOAD = FLASHE,
RUN = C2,
LOAD_START(RamfuncsLoadStart),
LOAD_SIZE(RamfuncsLoadSize),
LOAD_END(RamfuncsLoadEnd),
RUN_START(RamfuncsRunStart),
RUN_SIZE(RamfuncsRunSize),
RUN_END(RamfuncsRunEnd),
PAGE = 0, ALIGN(8)
I am getting a "program will not" error. I am not clear on how to resolve it.
The map shows unused space in FLASHE and C2. Is it an alignment problem?
Suggestions welcome
Regis,
It is not an alignment issue.
You did not paste the entire message but I guess it is saying that the memory that you allocated for a section is not enough to fit it. Please read the error message completely and identify which section needs more space to fit in to the memory and allocate more space for that section.
How did you get map file when the compilation failed? It may be a old one showing some space available in that memory for your old code size. You might have added some more code and hence is not fitting. This has nothing to do with Flash API.
Try adding some more memory for that section as below (example):
LOAD = FLASH_N | FLASH_M,
RUN = C0 | C1
Please expect delay in our replies.
Thanks and regards,
Vamsi