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.
Trouble Writing Memory Block at 0x9000 on Page 0 of Length 0x15f8: Cannot access memory address 0xA000
你好,上面是报错情况,我对28335_RAM_lnk.cmd文件做了如下修改:
RAML1 : origin = 0x009000, length = 0x002000 /*length = 0x001000*/
/* RAML2 : origin = 0x00A000, length = 0x001000*/
如果对28335_RAM_lnk.cmd不做修改的话,会出现下面的情况:
[Linking...] "C:\CCStudio_v3.3\C2000\cgtools\bin\cl2000" -@"Debug.lkf"
<Linking>
>> error: can't allocate .text, size 000015f8 (page 0) in RAML1 (avail:
00001000)
>> error: errors in input - ./Debug/PMSM_SVPWM.out not built
该如何修改程序才能解决这个问题呢?
谢谢!
Hank Zhao
你好,谢谢你的回复!
我按照同样的方法将.text修改到合并的RAML2,RAML3中,但是在下载程序时仍然报错:Loader: One or more sections of your program falls into a memory region that is not writable. These regions will not actually be written to the target. Check your linker configuration and/or memory map.
Trouble Writing Memory Block at 0xa000 on Page 0 of Length 0x800: Cannot access memory address 0xA000