Because of the Thanksgiving holiday in the U.S., TI E2E™ design support forum responses may be delayed the week of November 23.

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.

TMS320F28379S: No response from the EABI-formatted Flash Kernel.

Part Number: TMS320F28379S
Other Parts Discussed in Thread: C2000WARE

Hello everyone,

 

We are currently developing a Flash Kernel for the F28379S, but it is not working as expected.

 

Environment

  CPU: TMS320F28379S
  CCS: 12.7.1
  System Configuration: SecondaryBootloader + Application
  Output format: eabi (ELF)
  DCSM: Not use
  Flash Kernel:
    C2000Ware_5_03_00_00/device_support/f2837xs/examples/cpu1/F2837xS_sci_flash_kernel
  Serial Flash Programmer:
    C2000Ware_5_03_00_00\utilities\flash_programmers\serial_flash_programmer


Issue

After modifying the above Flash Kernel to eabi (ELF) format and rebuilding it, I attempted a firmware update using the Serial Flash Programmer.

The process stops (freezes) at the following point:

...<snip>...
Bit rate /s of transfer was: 493.101196
Kernel loaded! Booting kernel...
Done waiting for kernel boot...
Attempting autobaud to send function message...

Analysis

//*****************************************************************************
//
// Locks baud rate.
//
//*****************************************************************************
void
autobaudLock(void)
{
    ...<snip>...
    while (dwRead == 0){
        ReadFile(file, &rcvData, 1, &dwRead, NULL);
    }
    ...<snip>...
}

This suggests that no response ('A' echo) is received from the Flash Kernel.


Additional Investigation

I found information indicating that the following options are required for hex2000 text output:

--memwidth=16
--romwidth=16

After adding these options, the behavior changed slightly, but the process still freezes at:

...<snip>...
Bit rate /s of transfer was: 493.101196

Request

I have attached the Flash Kernel project.

Could you please review it and point out any issues with the Flash Kernel implementation or configuration?

Any guidance or suggestions would be greatly appreciated.


best, regards

Takaaki

F2837xS_SCI_FlashKernel.zip