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: flash programmer issue

Part Number: TMS320F28377D
Other Parts Discussed in Thread: C2000WARE

Hi there,

I am trying to program the flash of the TMS320F28377D using the flash programmer application from C2000Ware V1.00.05.00.

It fails downloading the kernel after a few characters. (see the output below)

I have tried different baud rates and that hasn't helped. The returned characters change but it still only runs for a few characters. I think this is because the CPU has started executing the flash program that is already loaded.

I tried connecting the JTAG debugger to see what is happening. I can't find the boot ROM symbols which makes things harder. So my first question is where is this file?

My next question is why the first character sent is 'a' when the kernel file "F2837xD_sci_flash_kernels_cpu01.txt" has 'AA' at the start. If the boot ROM doesn't receive a valid key value of 0x08AA then it jumps to flash.

So I formed the theory that it was trying to autobaud lock and this was 'using' this first 'A' in the kernel file. I added a 'a ' to the start of the kernel file text and now it downloads the kernel successfully. Why would this happen?

Output on command prompt:

>serial_flash_programmer.exe -d f2837xD -k F2837xD_sci_flash_kernels_cpu01.txt -v -a blinky_cpu01.txt -b 2400 -p COM4

C2000 Serial Firmware Upgrader
Copyright (c) 2013 Texas Instruments Incorporated. All rights reserved.

getting comm state
building comm DCB
adjusting port settings

calling f021_DownloadKernel CPU1 Kernel
Downloading F2837xD_sci_flash_kernels_cpu01.txt to device...

Attempting autobaud to load kernel...
Autobaud for kernel successful! Loading kernel file...
a==a
8==54
Data does not match... Please press Ctrl-C to abort.

  • Hello,

    To answer your 1st question, the boot ROM symbols can be found in the following directories in C2000Ware depending on the revision:
    C:\ti\c2000\C2000Ware_1_00_05_00\libraries\boot_rom\f2837xd\rev0\rom_symbol_libs
    C:\ti\c2000\C2000Ware_1_00_05_00\libraries\boot_rom\f2837xd\revB\rom_symbol_libs

    I'm unable to give you a good answer for your other questions right now, but I'll look into it and get back to you soon.

    Regards,
    Elizabeth
  • Hi Elizabeth,

    I did find the files at C:\ti\c2000\C2000Ware_1_00_05_00\libraries\boot_rom\f2837xd\rev0\rom_symbol_libs

    CCS Debug looks for a .out file to load symbols. The files in that directory are .lib files. So how do I load the symbols?

    Regards,
    Andrew
  • You can find the symbols here:

    C:\ti\c2000\C2000Ware_1_00_05_00\libraries\boot_rom\f2837xd\revB\rom_sources\ccs_files\cpu01\Release

    Then locate file here:
    C:\ti\c2000\C2000Ware_1_00_05_00\libraries\boot_rom\f2837xd\revB\rom_sources\F2837x_bootROM\cpu01-bootROM\source

    It appears there may be something wrong with the connection if the bootloader is not able to return the expected characters.

    Regards,
    sal
  • Also,

    Please see: www.ti.com/.../sprabv4b.pdf

    And there are many threads on E2E regarding the serial flash programmer and the sci flash kernels which should be helpful.

    Regards,
    sal