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.

TMS320F28388S: During firmware upgrade over SCI, Flash kernel transfer abort randomly

Part Number: TMS320F28388S
Other Parts Discussed in Thread: C2000WARE

Hello,

Hardware used : TI`s evaluation board "C2000 F28003x ControlCARD"
Work environment : Windows as host OS. Ubuntu Linux guest OS running inside virtual box.
Feature development : Firmware upgrade over SCI-A

I am working on upgrading firmware over SCI-A interface for "C2000 F28003x ControlCARD".
Taking reference of C2000ware utility, i am developing application C programming and using virtual box running with ubuntu linux.

autobaud lock is working fine and during flash kernel transfer sometimes it abort after transferring around 100 - 150 bytes.
e.g host sends data 0x00 but F28003x echo back 0xe0. Since data is mismatched, the process get aborted.
If i retry here without rebooting F28003x then flash kernel file get transferred succcessfully.

But if i reboot F28003x and start firmware upgrade application again then autobaud lock work succcessfully but flash kernel transfer fails.

If i run "serial_flash_programmer.exe" in windows then it works fine everytime.
what could be reason of failure ? Could you please help ?

  • Hi Prashant,

    Thanks for your questions. If it is failing during the transfer of the kernel, this would be during the loadProgram() routine in the flash programmer. You said that you are using this on the Ubuntu Linux guest OS? Do you know if this OS is compatible with Readfile and Writefile functions?

    Thanks,

    Charles

  • Thanks for your response Charles.

    IMO, Ubuntu is file read write compatible but issue could be it is running as guest OS in virtual box.
    I tried executing same code on another linux device ( Beaglebone ) and i am able to transfer flash kernel now.

    We can close this ticket. Thanks for your help.