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/TMS320F28377D: Serial Flash Programmer Error

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

Tool/software: Code Composer Studio

Hello,

I use TMS320F28377D with my custom board. I can boot it via C2Prog.exe so long time. There is no hardware fault. There is no problem with serial boot but its baud rate is constant 115200. I have to program my board at lower speed as 9600 baud. So I try to boot via Serial Flash Programmer.  I have problem and same problem experienced early.  Link is https://e2e.ti.com/support/microcontrollers/c2000/f/171/t/678896.

Firstly I convert program out file to txt file using "hex2000.exe -boot -a -sci8 app.out -o app.txt". And I  start boot using "serial_flash_programmer.exe -d f2837xD –k F2837xD_sci_flash_kernels_cpu01.txt –a app.txt –p COM8 –b 9600 -v". I got "F2837xD_sci_flash_kernels_cpu01.txt"  from "C:\ti\c2000\C2000Ware_2_00_00_03\utilities\flash_programmers\serial_flash_programmer\f2837xD_fw_upgrade_example".

When kernel loaded, the following appears on the command window.

If select 1

Then select 5

The code does not run. Could you help to give some advice about the error and how can I work with lower baud rates?

  • Hi,

    Do you have anything mapped at that address in your linker cmd file?  

    Please note that all of the initialized sections should be mapped to Flash in order to use the Serial Flash kernels (This is true for CCS Flash Plugin and UniFlash as well).

    If you need anything to be executed from RAM, you need to load it to Flash and copy to RAM at run time.

    Thanks and regards,

    Vamsi

  • Hi Vamsi,

    Thank you for your interesting. I've simplified my code by extracting ram codes. And I take the following error. I can erase flash D sector. It returns "SUCCESS of Comand".

  • Hi,

    Thank you for the update. Glad the previous error is cleared now.

    Can you check your application linker command file to make sure that all the sections are aligned on a 128-bit address?.  Meaning, ALIGN(8) should be used for all the sections mapped to Flash sector.

    Also, hope you are using the latest C2000Ware for the kernels.  Important bug fixes were made in latest C2000Ware for Flash operations.

    Thanks and regards,

    Vamsi