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.

TMS320F28377D: There have error log as blow picture, and from the MAP file we can not find the address.

Part Number: TMS320F28377D

Dears:

There have error log as blow picture, and from the MAP file we can not find the address.

And the map file as follows:

Btw, you can refer the steps of below website:

https://e2e.ti.com/support/microcontrollers/c2000/f/171/t/671812

Could you kindly help to give some advice about the error?

Thanks a lot!

Best regards

Luck Wu

  • Hi,

    There should be no contents at that address. Is this following a DFU command? Can you try a verify command?

    Are you creating the hex .txt file using the same command as in the sci flash kernel examples?

    Regards,
    sal
  • Dear Sal:

    Yes, the error of Program_ERROR[0x4000]  happened after a DFU command.

    So we sent a verify command to confirm it before the DFU command, and the feedback a result is VERIFY_ERROR, Adress:91b58. And pls. refer the below picture:

    We create the hex.txt file using the tool fo hex2000, and the command as follows:

    hex2000.exe -boot -sci8 -a -o <file.txt> <file.out>

    Pls. kindly help to give some advice.

    Thanks a lot!

    Best regards

    Luck Wu

  • It seems there was a programming error in flash sector F. Make sure the kernel is properly erasing the flash sector before programming.

    Also, I would check that you can program this sector using CCS, to ensure that it is not an issue with the hardware.

    sal
  • Hi Sal:
    Ok, we will check it again.
    Btw, we only want to realize programming online through SCI interface and not use boot load, is there any materials about it?
    Thanks a lot!

    Best regards
    Luck Wu
  • Luck,

    We don't have any Application Report for this, but it is pretty straightforward.

    You can program the SCI kernel into flash, and then when the application needs to perform a DFU, copy the kernel into RAM and then begin the firmware update.

    Hope this helps.
    sal
  • Dear Sal:

    Can we check the sector F through the erase FLOW according the below file or I wire 0XFFFFFFFF to sector F under CCS?

    spnu629.pdf

    Thanks a lot!

    Best regards

    Luck Wu

  • You can use the CCS On Chip Flash plugin to erase sector F. After connecting to the target, go to Tools->On-Chip Flash. There is an Erase Flash button you can use.

    Let me know if it is successful.

    You can also begin to debug the SCI kernel and see where it fails. you can load the kernel via CCS and use the serial flash programmer in Visual Studio to send the flash application. Just comment out the line of code in the serial flash programmer which sends the kernel, since you already loaded it via CCS. In this way you can set breakpoints in the kernel and in the serial flash programmer and see exactly what is going on step by step.

    Hope this helps!
    sal
  • Dear Sal:

    Thanks for your advice, and we use the on-chip flash to erase the sector F.

    There happened an error as below picture:

    And the On-chip Flash configure's pictures as follows:

    And pls. refer the test code.

    Program.7z

    Could you kindly help to give some advice about it?

    Thanks a lot!

    Best regards

    Luck Wu