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.

CCS/TMS570LS1224: LaunchPad disabled for program loading from CCS

Part Number: TMS570LS1224


Tool/software: Code Composer Studio

Hi,

When doing experiments with erasing sectors in flash memory I came to the point when 

loading a new program with CCS is impossible.  Just after reset the flash controller enters 

into the state in which it remains forever BUSY (status register = 0x0990).  This state 

somehow disables program loading.  

Now I understand that tricky experiments should be performed after a delay after reset. 

Is there a workarround ?

Thanks,

Grzegorz

  • Hello Grzegorz,

    I am sorry that I am not fully understand your issue. When the BUSY bit is set, the other flash operation in the same bank is not allowed.
  • Hi, 

    OK, I simply wanted to know if there is any way out from the lock out - the loading of program from the CCS debugger 

    is blocked by the BUSY which occurs just after reset. 

    Best regards and thanks

    Grzegorz

  • Grzegorz,

    After reset, the CPU will execute the code in flash. The code is stuck on somewhere in flash erase/program operation. At this situation, you are not able to connect the board with JTAG. Please try this way:

    1. Open the target configuration window, and launch the selected the configuration
    2. Switch to debug window
    3. Press the reset (nRST) button and hold it
    4. Click “Connect Target” immediately after you release the nRST button
    5. The board should be connected after couple tries

    After connected, please erase the flash with CCS/tool/on_chip_flash/..
  • Hi, 

    Again THANK YOU VERY MUCH.  

    Your plan works.  It is worth to add that I had to turn off the verification option before starting erasing.

    Regards

    Grzegorz