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/TMS320F28069: UniFlash Error with F28069 USB Stick

Part Number: TMS320F28069
Other Parts Discussed in Thread: UNIFLASH, C2000WARE

Tool/software: Code Composer Studio

Hi,

I'm working with F28069 USB Stick and UniFlash v4.4.0.1922.

For downloading test, I made an intel hex file (.hex) using CCS Hex Utility.

I have downloaded hex file via the UniFlash.

The hex file seems to be successfully loaded on the F28069.

Because the application starts after reset. But the UniFlash shows below error message.

[2018. 9. 7. 3:05:23 pm] [SUCCESS] Program Load completed successfully.
[2018. 9. 7. 3:05:23 pm] [ERROR] C28xx: GEL: Error while executing OnFileLoaded( 0, 0): Could not read 0x003F7FFA@Data: target is not connected at XAR0=*(0x3F7FFA) [f28069.gel:655] at Device_Cal() [f28069.gel:67] at OnFileLoaded(0, 0)
I found if Run Actions option is checked, this error message isn't occured.

What does this error message mean?

  • Remony,

    Since you say that the application starts fine, do you know if it still continues to work even after you see the message?

    Did you configure any security settings in the device via your executable?

    I will forward this to related experts.

    Thanks and regards,
    Vamsi
  • I downloaded the blinkig LED example of the C2000Ware example project.
    After downloading, the error message is shown in the UniFlash Console window, but application starts fine. (LED blinks.)
    I don't configure security settings in the device.
  • Remony,

    The GEL OnFileLoaded() function is called after program load to perform some device specific logic. In the case of the F28069, it is trying to read the XAR0 register, but it seems that UniFlash disconnected from the device already.

    As you noted, turning on the "Run after load" option will remove the error, as it will finish with OnFileLoaded() before issuing the run and then disconnect. Other workarounds include turning on the "Remain connected..." option (available by clicking on the core name on the upper right corner), or using command line instead.

    I will file a bug to investigate if this error can be prevented by default in UniFlash.

    Thanks,
    Ricky
  • Ricky Lau,

    I appreciate your answer.

    It is very helpful.

    Thank you.