1、DSP28335正常工作一段时间,某天突然出现烧写内部FLASH过程中,FLASH擦除失败,报错信息为:
Flash Programmer :Error srasing Flash Memory.
Trouble writing Memory Block at 0x33a000 on page 0 of length 0x289
2、通过RAM运行flash_api code, 执行擦除操作时,返回值是24(0x18),根据手册 返回值24表示 STATUS_FAIL_PRECOMPACT
Erase operation failed because the pre- compaction portion failed.
The pre-compaction is applied to all sectors on the device.
The FLASH_ST structure will return a fail address corresponding to the first sector fails this step
3、通过RAM运行flash_api code,执行写入操作时,能够在FLASH为全F的区域成功写入,并能够读取,写入后由于不能擦除,无法再次写入。
4、尝试了在ONCHIP TOOL 内部使用DEPLTION RECOVERY,指令无效,返回超时,同时在程序内添加depRecovery ()函数,返回23(STATUS_FAIL_COMPACT)
请问这是什么原因造成的?有什么合适的方法能够解决该问题?
谢谢
Seven Han:
请参考下这边的帖子:http://www.deyisupport.com/question_answer/microcontrollers/c2000/f/56/t/69031.aspx
TI中文支持网

![TMS320F28379D: 导入例程出现故障Description Resource Path Location Type gmake: *** [gridconnectedinvlclfltr.obj] Error 1 gridConnectedInverterLCLFltr C/C++ Problem-TI中文支持网](https://www.ti2k.com/wp-content/uploads/ti2k/DeyiSupport_C2000_pastedimage1752114958744v1.jpg)

