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.

28377D ControlCard 如何将ControlSuite中例程烧入Flash中运行?

Other Parts Discussed in Thread: CONTROLSUITE

大家好,

       我在使用28377D的ControlCard,在RAM中跑ControlSuite中的Blinky例程没有问题。

       然后我想在Flash中运行同样的程序,我的工程配置是这样的:

       

       链接器配置是这样的

       

      

       操作流程如下:

       Build Configurations->Set Active->1 CPU1_FLASH

       Rebuild Project

       修改Debug Configuration,TargetConfiguration为目前项目里面的ccxml文件,Program选择刚才编译生成的CPU1_FLASH/blinky_cpu01.out

       Debug

       Console输出:

       C28xx_CPU1:GEL Output

       Memory Map Initialization Complete

       C28xx_CPU1: Loader: One or more sections of your program falls into a memory region that is not writeable. These regions will not actually be writen to the target. Check your linker configuration and/or memory map.

       按照字面意思理解是下载程序的时候发现有的区域不可写,可能是链接时候的存储映射有问题,但是从连接器的配置那里可以看到链接脚本是使用的F2837xD_FLASH_lnk_cpu01.cmd,这个脚本是在ControlSuite中提供的。

       请前辈们帮忙分析下目前这个问题是出在那里?

       另外,ControlCard上面有一组开关SW1,全部拨到OFF是对应的GPIO72 84都为1,使用GetMode启动,这个模式我也尝试过了,没有发现特别的效果。