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.

TMS570LS0914把优化等级改为off后无法通过仿真器下载调试?(程序太大?)

Other Parts Discussed in Thread: TMS570LS0914

前提:已知TMS570LS0914的Flash大小是1M(1024KB)

背景:当前工程的优化等级是1 - Local Optimizations,然后编译后MAP文件生成的已用Flash是000a1f5f,大约是647.8KB。程序可以正常仿真调试运行。

问题:但是当我把优化等级配置为off的时候,相当于没有优化,编译后生成的已用Flash是0xc66cf,约为793KB,然后在下载仿真的时候就提示如下信息:

CortexR4: GEL Output: Memory Map Setup for Flash @ Address 0x0CortexR4: 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的大小(1M),为什么会提示不能写入flash呢?