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.
Hello,
I am trying to run my application on a simulator of C280x. The code has been compiled with no errors, but
when I run my program the following error appears:
Error: Can't read from program memory 0x30CA03, check memory config [-2187]
Can't Run Target CPU: Can't read from program memory 0x30CA04, check memory config [-2187]
Can't Run Target CPU: Can't read from program memory 0x30CA06, check memory config [-2187]
Can't Run Target CPU: Can't read from program memory 0x30CA08, check memory config [-2187]
Can't Run Target CPU: Can't read from program memory 0x30CA0A, check memory config [-2187]
The PC stops at the following line:
000001 003F TRAP #31
Can someone help me?
Thanks a lot!
Elenab,
I would recommend comparing differences between:
- the current build's .map file. This is specific to each build. This file shows how the memory map was defined in your .out file
- the project's linker command file. (2808_RAM.cmd for example) This file defines how the memory map will try to be allocated.
- the specific memory map of your device as noted in the datasheet.
Basically, you will be looking for differences between the memory map of the device and the .map file. Also ensure that any direct memory reads or writes happen in the correct memory sections.