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.

TMS320F28P659DK-Q1: TMS320F28P659DK-Q1

Part Number: TMS320F28P659DK-Q1
Other Parts Discussed in Thread: SYSCONFIG, C2000WARE, UNIFLASH, LAUNCHXL-F28P65X

Tool/software:

CCS crashes when flashing the f28p659dk-q1 device.

CSS Version: 12.5.0.00007

SysConfig Version: 1.18.0

C2000Ware: 5.1.0.00

Tool: XDS110 Debug Probe

I am trying to flash the f28p659dk-q1 device with production code using the stand-alone XDS110 Debug Probe. However, CSS crashes just after an error below appears;

C28xx_CPU1: Flash Programmer: Missing Flash Programming Settings.
C28xx_CPU1: File Loader: Memory write failed: Unknown error
C28xx_CPU1: GEL: File:C:\....out: Load failed.

I have used UniFlash as an alternative, to erase and flash the f28p659dk-q1 device with the .out file. It flashes successfully but the program is not verified as running correctly. 

Note:

The code flashes successfully with CSS on the LaunchXL-F28P65X evaluation board used for development.

And also ledblinky project flashes successfully with the f28p659dk-q1 device.

  • Hi,

    Can you show an image of your On-Chip Flash tool in CCS? It would help to understand what the current download settings look like for your device. 

    Thanks,

    Charles

  • Hi Charles,

    Thank you for reaching out. My apologies, where can I view this image in CCS?

    For context, I am using the XDS100 USB debugger.

    XDS110 Debug Probe (ti.com)

    Also a smaller GPIO toggle software flashes successfully in CCS, and not the project binary, which is larger.

    However both binaries flash well on the LaunchXL--F28P65X eval board.

    This is my target configuration,

  • Hi Gabriel,

    The On-Chip Flash tool can be found by going to the Tools section of the CCS toolbar, then clicking On-Chip Flash:

    For the error that you are seeing, this is related to the Download Settings section in the On-chip flash tool:

    Are you able to erase the device using the GUI?

    Thanks,

    Charles

  • Hi Charles, 

    Thank you for your reply. Today morning I selected a different target configuration e.g. TMS320F28P659DH8-Q1, instead of KH8 (on our custom board), and CCS flashed without crashing. I was also able to view the flash settings in the properties>Debug, which I couldn't see with the KH8 configuration file.

    I have updated CCS from 12.5.0 to 12.8.1 after advice from your colleague. I updated the target configuration file, and these works like a charm too.

    In conclusion, there is a problem with CCS12.5.0 and TMS320F28P659DK8-Q1.ccxml target configuration file. People with CCS12.5.0 will have to use the work-around like I have described above e.g. use a different device target config file, for the flashing to work. Or else update CCS.