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.

TMDSCNCD28388D: CPU1 FLASH烧录失败,Flash Programmer: Error erasing Sector 0. FMSTAT (STATCMD on some devices) value = 1040. Operation Cancelled (0).

Part Number: TMDSCNCD28388D
Other Parts Discussed in Thread: C2000WARE,

使用的软件环境:    CCS Version:12.0        C2000ware Version 4.01

我这边有一块TMDSCNCD28388D开发板,使用C2000ware->driverlib->F2838x->examples->c28x->led->led_ex1_blinky示例工程,烧录程序到CPU1 RAM,开发板能够正常运行程序。

但是,将编译选项设置为编译到CPU1 FLASH中后,尝试烧录,提示以下问题:

看起来是在Erase Flash的过程中就已经出现错误了。

查看F28388技术手册,以及CCS的On-Chip Flash工具,发现zone1和zone2的CSM密码都没有program过:

还有,使用CCS On-Chip Flash工具的Erase Flash功能,发现只有Sector3-Sector12可以正常擦除,其他的都报错: