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.

F28M35无法下载到flash运行

Other Parts Discussed in Thread: CONTROLSUITE

在用F28M35H52C1开发板做M3实验时,程序能在RAM中运行,但无法下载到flash,CCS5.4提示:

Cortex_M3_0: 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.

在flash编译时候所用的cmd文件是TI controlSUITE下\device_support\f28m35x\v203\MWare\cmd\F28M35x_generic_M3_FLASH.cmd,用device_support\f28m35x\v203\MWare\cmd\F28M35H52C1_m3.cmd也是相同情况。

请问如何解决这一问题?

  • “加载器:您程序的一个或多个部分被加载入无法写入的存储区域。这些区域不会被写入到目标。请检查您的连接设置或存储地图(存储分配?存储区划?)”

  • http://bbs.21ic.com/icview-729780-1-1.html

    解决方法.pdf
  • http://e2e.ti.com/support/microcontrollers/c2000/f/171/t/188703

    这个帖子的问题跟你的也类似,后面有方法。ti的英文bbs

  • http://wenku.baidu.com/link?url=SqM9Hd-WjU3l8IX0rWcWExCDNnr4X9w9LUM6QdviPANGXTwJr_VXh_IIlQeBV2tl0aWA6NBQB_pXIg__BgPH9cwSCKOLvkbHEuqvNOa0kSi

    这个是百度文库里的一篇,相关的解决方案,希望能帮到你。

  • 你提到的文献确实说到了我遇到的问题,但那个解决办法是针对CCS3.3的。以下是这边文库提到的办法:

    选择ccs菜单Option->Memory Map,然后在打开的对话框中把Enable Memory Mapping 前面的对勾取消,选择Done,再编译、Load即可。

    可是我在CCS5.4 没找到相关的操作。


    后来我把CCS5.4 升级到CCS6.0,就没有报错了。所以我认为有某个地方设置不对,但没有找对设置的地方。不知你知道否?