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.
Is there any way to get the additional information of which section at which address?
If the loader knows enough to detect that one or more sections of your program fall into a non-writeable memory region, I would like it to tell me what the address range is, and the section that is at risk, then I could go right to the problem area of my link command file
Larry:
When you compile, one of the outputs is a .map file, which should be able to tell you the sections, where they are placed, and how much code is placed into that section. It should be in the \Debug or \Release folder of your project. Hopefully that helps.
Well the reason that I couldn't see the problem, is that it probably wasn't there. I uninstalled CCS and re-installed it, now I don't get the complaint, and I once again can debug.
Todd,
I've got this same problem with a project I'm converting from the 2812 to the 28335.
I hacked up the .cmd file with RAM and Flash addresses for the 28335, but I still get
the error msg, "One or more sections of your program falls into a memory region that is not writable".
The map file only tells you where the linker is trying to put everything, not if the addresses are really valid.
So why doesn't the loader tell you which section is not writable?
Thanks,
Steve Gallagher