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.

CCSv5 misses RM48 HDK flash erase settings

Other Parts Discussed in Thread: HALCOGEN, RM48L952

When trying to start a debug session from CCS 5.2.1.00018 on a RM48 HDK development kit, the following error shows up: 

CortexR4: Flash Programmer: Missing Erase Settings.
CortexR4: Flash Programmer: Error erasing Flash memory.
CortexR4: Trouble Writing Memory Block at 0x0 on Page 0 of Length 0x5308
CortexR4: GEL: File: D:\workspace_TI\TMScontroldevice\Debug\TMScontroldevice.out: Load failed.

NowFlash and the demos can successfully program the device, although nowFlash has a tendency to time out from time to time. If I flash the HALcoGEN generated basis without any modifications with nowFlash, the red error led turns on after resetting the device.

Any feedback is greatly appreciated! 

  • Tim,

    Some additional information could be helpful in understanding what may be happening here.

    Has this kit ever connected before with CCS or has this error always appeared?
    Which project are you trying to debug when you see this error? Have you tried different example/demo projects and is the error always the same?

    Have you created a target configuration file as per this post? Also if you already were using a target configuration file, could you try deleting the debug launch configuration and target cache files as described in the "Debugger" section of the wiki page: http://processors.wiki.ti.com/index.php/Troubleshooting_CCSv5#Debugger?

     

  • AartiG said:

    Tim,

    Some additional information could be helpful in understanding what may be happening here.

    Has this kit ever connected before with CCS or has this error always appeared?

    Unfortunately, yes, it always appeared. Both on a windows xp virtual machine on a debian host and on windows 7 native it happened.

    AartiG said:

    Which project are you trying to debug when you see this error? Have you tried different example/demo projects and is the error always the same?

    I've tried software I wrote myself, but also just freshly generated HALcoGEN code with and without the NHET drivers made by the HET IDE.

    AartiG said:
     

    Have you created a target configuration file as per this post?

    The file was autocreated with those specs, but I chose the RM48L952 instead of the -950, since that's on the chip. 

    AartiG said:
      

    Also if you already were using a target configuration file, could you try deleting the debug launch configuration and target cache files as described in the "Debugger" section of the wiki page: http://processors.wiki.ti.com/index.php/Troubleshooting_CCSv5#Debugger?

     

    Tried it (again), but it didn't work. The same error appeared.

     I begin to think this board is just defect or something. 

      

  • Tim Mulder said:
    I begin to think this board is just defect or something. 

    That is possible. Do you happen to have access to another board to try out to confirm that theory?

    It looks like you've been through all the basic troubleshooting steps. You could also want to try posting to the Hercules forum to see if the experts there have any additional suggestions.

  • Unfortunately not. I'll make a thread in the RM4 forum. Thanks for the help!