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.

Error occurred during flash operation



Hello!

I have created a project in CCS and I can load it on a Launch_Pad which has the XDS100v2 debugger and it works. However, when I try to load it on the DSP board with XDS110 Debug probe, the following error is returned:

C28xx_CPU1: Error occurred during flash operation: Timed out waiting for target to halt while executing wr_pll.alg
C28xx_CPU1: Error writing the PLL values (Flash algorithm timed out). Operation cancelled.
C28xx_CPU1: Perform a debugger reset and execute the Boot-ROM code (click on the RESUME button in CCS debug window) before erasing/loading the Flash. If that does not help to perform a successful Flash erase/load, check the Reset cause (RESC) register, NMI shadow flag (NMISHDFLG) register and the Boot-ROM status register for further debug.
C28xx_CPU1: File Loader: Memory write failed: Unknown error
C28xx_CPU1: GEL: File: File_location\Name_of_Project.out: Load failed.

Then, I cannot load any other project which has been previously tested successfully on the same DSP board with the same debug probe! 

Would you mind helping?

Regards. 

  • Moham,

    Please specify the device name. Also, is your device locked? Did you try programming device after unlocking the device?

    Are you able to connect to the device?

    Regards,

    Manoj

  • Dear Manoj,

    Many thanks for your kind reply.

    The DSP on the Launch Pad is 320F28379D and the one on the DSP board is 320F28377S. Actually, I am not expert in working with DSP and I do not know how to lock and unlock the device. Before loading my new project on the DSP board, yes I can successfully load other projects with XDS110 debug probe but once I load this specific project, the above error appears and I cannot load any other projects. Also, a red LED connected to the ERRORSTS (pin 92 of the DSP) turns on with the above error. Maybe you are right and in the new code there are some commands locking the device. Could you please help?

    Regards.  

  • Sobhan,

    Are you able to connect to the device? If not, can you configure device in wait boot mode and try connecting to the device?

    If the device is locked, you need to look into "your new source code" to know the DCSM password programmed. We cannot unlock the device if user doesn't know the password.

    Regards,

    Manoj