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.

H52C1 Concerto controlCARD - Unable to terminate memory download

Other Parts Discussed in Thread: CONTROLSUITE, UNIFLASH

Hello,

I have got two Concerto controlCARD (H52C1).

After several weeks of use (download and download again), one of them doesn't work properly.

Now, when I try to download, the following message is posted.

---------------------

Cortex_M3_0: Flash Programmer: Error erasing Sector N. Operation Cancelled.
Cortex_M3_0: GEL: File: C:\MyFolder\CCSv5\MyProject\MasterHz100\Release\MasterHz100.out: Load failed.
Cortex_M3_0: Unable to terminate memory download: (Error -1003 @ 0x2BC5) Internal error: Invalid parameter passed to function. Restart the application. If error persists, please report the error. (Emulation package 5.0.952.0)

--------------------

Would you please help me ?

    Best regards.

          Henri

 

  • Henri,

    Do you mean that when you try to load the same code on two controlcards, one of them loads fine while the other gives this error?
    Did something change in the controlcard or program from the time it was working?
    Can you load other programs (like simple examples from controlSuite) on to this controlcard?

    Which version of CCS are you using? If you are not already using the latest version 5.3 could you download and install that and give it a try?

    To further isolate if the issue is in the target board or program, if you can attach your .out file here, we could see if the error is reproducible at our end.

  • AartiG,

    1 - Yes, the same code works on a controlCARD and  not on another.

    2 - The two controlCARD(s) have the same configuration and nothing changes from the time it was working.

    3 - No other programs can be loaded.

    4 - CCS 5.3 is used.

    5 - I attach the .out file (compressed).

    3858.MasterHz100.rar

      Thanks in advance.

          Henri

  • Henri,

    Thank you for providing the .out file. I could program this file successfully to my Concerto controlcard.

    Since you mention that no other program can be loaded as well , I suspect there may something wrong/corrupted with the board or device itself. Unfortunately I don't have much expertise on the device itself. You may get better advice in that respect in the C2000 device forum and maybe some suggestions to further debug/determine if the device or board is bad.

  • AartiG,

    Thank you for the time you spent and your advices.

      BR

          Henri

  • AartiG,

    I'm very luky. My controlCARD works again.

    Let me tell you how I proceed.

    With CCS UniFlash. The message was a little bit explicit :

    [07:49:35] Operation Writing Flash memory returned.
    [07:49:35] ERROR >> Cortex_M3_0: Failed to remove the debug state from the target before disconnecting.  There may still be breakpoint op-codes embedded in program memory.  It is recommended that you reset the emulator before you connect and reload your program before you continue debugging

    As I did not know how to reset the emulator, I erased all the sectors excepted the one with which I had a problem, in the case N.

    Then I erased the sector "N" succefully.

    Now, I can again download programs.

      Best regards.

           Henri

     

  • That's great news that you have it working again. Thanks for the update and for details on the steps you took, as it could come handy for others running into similar issues.