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.
在我烧录的时候出现如下问题
C28xx: Error occurred during flash operation: Timed out waiting for target to halt while executing FlashAPIInterface28335V2_10.out
C28xx: Error occurred during flash operation: Timed out waiting for target to halt while executing FlashAPIInterface28335V2_10.out
C28xx: Flash operation timed out waiting for the algorithm to complete. Operation cancelled.
C28xx: File Loader: Memory write failed: Unknown error
C28xx: GEL: File: F:\WORK\ZKY\105\code\RIU_105\Debug\RIU_105.out: Load failed.
芯片和烧录器没有问题,另一个工程可以烧录
您现在是flash运行的工程?
根据您收到的错误消息,您的闪存似乎已耗尽。看起来您的耗尽恢复算法也超时(也就是由于闪存处于深度耗尽状态,您无法恢复部件)。
我现在发现,只有我目前在使用的这个工程可以烧录进去,并且在这个工程基础上做了修改的可以烧录,其他任何工程debug的时候都会有这种问题
C28xx: Error occurred during flash operation: Timed out waiting for target to halt while executing FlashAPIInterface28335V2_10.out
C28xx: Error occurred during flash operation: Timed out waiting for target to halt while executing FlashAPIInterface28335V2_10.out
C28xx: Flash operation timed out waiting for the algorithm to complete. Operation cancelled.
C28xx: File Loader: Memory write failed: Unknown error
C28xx: GEL: File: E:\workspace\ADC_SCI\Debug\ADC_SCI.out: Load failed.
对的,我发现是只有一个工程可以烧录成功,就是在DSP内现在正在跑的工程可以烧录,修改完也可以烧录,但是我随便换一个工程就会出现这样的烧录问题
C28xx: Error occurred during flash operation: Timed out waiting for target to halt while executing FlashAPIInterface28335V2_10.out
C28xx: Error occurred during flash operation: Timed out waiting for target to halt while executing FlashAPIInterface28335V2_10.out
C28xx: Flash operation timed out waiting for the algorithm to complete. Operation cancelled.
C28xx: File Loader: Memory write failed: Unknown error
C28xx: GEL: File: E:\workspace\ADC_SCI\Debug\ADC_SCI.out: Load failed.
Q: How does depletion occur?
A: If the erase operation is interrupted and not allowed to complete, the device may become depleted. When this happens, the device may then begin to fail to erase. The erase algorithm should not be stopped, as this can also affect the CSM passwords. The Flash API has a depletion recovery function to try to recover flash that has been "over-erased". If the flash programming process was interrupted during the erase stage, it is possible that the timed loops that do the erasing process were disturbed.
The CCS On Chip Flash Programmer does have support for the depletion recovery function. You will see it listed in the as one of the options that can be selected under "Operations" in the flash plug-in GUI. You can get additional information on this by clicking on the "Help" button, go to the search tab and enter "depletion".
The depletion recovery also looks for sectors that are in depletion and attempts to recover them. All sectors on the device are checked.
The current maximum timeout for the algorithm is approx 35 seconds per sector that is in depletion. Typically, only one sector would be in depletion unless erase has been called multiple times on multiple sectors without running to completion. If a longer timeout can be tolerated, the depletion recovery can be used multiple times.
There is no guarantee that this algorithm will be able to bring a sector out of depletion within a reasonable amount of time. The deeper in depletion the part is, the longer it will take to recover. The Flash API erase function has been implemented to erase the flash in such a manner that it is not put into deep depletion. However, if the CPU is halted during an erase pulse for a long period of time, the part can be put into a deep depletion that may not be recoverable in an acceptable time period.
This algorithm cannot recover the part if the flash passwords are unknown. For example, if power is lost during the erase of sector A, where the CSM passwords are located, then the device may be permanently locked and the recovery algorithm cannot operate on the flash.
If the depletion recovery step fails then replacement is the only option.
请您看一下上面的说明,一般来说,只能更换芯片了
您可以看一下C2000ware内是指南
C2000Ware\libraries\flash_api\f2833x\28335\docs
18.10. Depletion Recovery Function
TMS320F28335:
extern Uint16 Flash28335_DepRecover(void);