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/TMS320F28379S: Do you have any sample code of doing the USB firmware upload?

Part Number: TMS320F28379S
Other Parts Discussed in Thread: C2000WARE

Tool/software: Code Composer Studio

Do you have any sample code of doing the USB firmware upload?

  • Yes. There is a dual core USB device firmware upgrade CCS example and an accompanying USB flash programmer PC tool in C2000Ware.

    Regards,
    sal
  • It got stuck here.
    D:\ti\c2000\C2000Ware_1_00_02_00\utilities\flash_programmers\serial_flash_programmer\serial_flash_programmer.exe -d f2837xS -k D:\ti\c2000\C2000Ware_1_00_02_00\utilities\flash_programmers\serial_flash_programmer\f2837xD_fw_upgrade_example\F2837xD_sci_flash_kernels_cpu01.txt -a D:\LightMed\TI\workspace_v7\TS4a\Release\mpu.txt -b 38400 -p COM28

    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 D:\ti\c2000\C2000Ware_1_00_02_00\utilities\flash_programmers\serial_flash_programmer\f2837xD_fw_upgrade_example\F2837xD_sci_flash_kernels_cpu01.txt to device...

    41==d
  • I tried your sample project, but I had make Command syntax error.

  • Hi,

    You will need to use the usb flash programmer. The serial flash programmer is written to use a COM port to a C2000 SCI. The USB flash programmer is developed with USB kernels to perform device firmware upgrade via USB.

    sal
  • Hi,

    I am interested in using COM port with serial flash programmer. Please show me the steps. Thanks.

    Frank

  • Please see www.ti.com/lit/sprabv4

    sal
  • I was trying to download the firmware via com port for f28379S.

    Here is the batch file.

    D:\ti\ccsv7\tools\compiler\ti-cgt-c2000_16.12.0.STS\bin\hex2000.exe -boot -a -sci8 D:\test\TI\workspace_v7\TS4a\Debug\ts4a.out -o D:\test\TI\workspace_v7\TS4a\Debug\ts4a.txt
    D:\ti\c2000\C2000Ware_1_00_02_00\utilities\flash_programmers\serial_flash_programmer\serial_flash_programmer.exe -d f2837xS -k D:\ti\c2000\C2000Ware_1_00_02_00\utilities\flash_programmers\serial_flash_programmer\f2837xD_fw_upgrade_example\F2837xD_sci_flash_kernels_cpu01.txt -a D:\test\TI\workspace_v7\TS4a\Debug\ts4a.txt -p COM34 -b 38400 -v

    I got stuck:

    C:\Users\frank.cheng\Desktop>D:\ti\c2000\C2000Ware_1_00_02_00\utilities\flash_programmers\serial_flash_programmer\serial_flash_programmer.exe -d f2837xS -k D:\ti\c2000\C2000Ware_1_00_02_00\utilities\flash_programmers\serial_flash_programmer\f2837xD_fw_upgrade_example\F2837xD_sci_flash_kernels_cpu01.txt -a D:\test\TI\workspace_v7\TS4a\Debug\ts4a.txt -p COM34 -b 38400 -v

    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 D:\ti\c2000\C2000Ware_1_00_02_00\utilities\flash_programmers\serial_flash_programmer\f2837xD_fw_upgrade_example\F2837xD_sci_flash_kernels_cpu01.txt to device...

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

  • Please lower the baud rate to 9600. Give this a try.

    sal