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.

TMS320F28379D: SCI_FLAH_KERNELS_CPU01

Part Number: TMS320F28379D
Other Parts Discussed in Thread: C2000WARE

Tool/software:

Hi sir,

I have imported the "F2837xD_sci_flash_kernel_cpu01"  from C2000Ware library into CCS workspace.  And I set the boot pins GPIO72 low and GPIO84 high in my board for SCI boot, and set the SCIA pins 28, 29 using SCI_BOOT_ALTERNATE and compiled the project. Next power on the board  and given the below given command from PC.

C:\ti\C2000Ware_5_04_00_00\utilities\flash_programmers\serial_flash_programmer>serial_flash_programmer.exe -d f2837xD -k E:\CCS\F2837xD_sci_flash_kernels_cpu1\CPU1_RAM\F2837xD_sci_flash_kernels_cpu01.txt -a E:\CCS\blinky\CPU1_FLASH\blinky.txt -p COM12 -b 9600


when the command is given from PC,  i am getting the below output.


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 E:\CCS\sci_flash_boot\CPU1_FLASH\sci_flash_boot.txt to device...

what i am making wrong in this process. why it is now working properly.

  • Hi Akhil,

    Is this the LaunchPad or controlCard version of the device? If it's the controlCard, you can try setting the Emulation Boot Mode by connecting the CPU1 in CCS, going to address 0xD00 and write 0x815A, reset and run CPU1, then proceed with the command for download.

    Also, if controlCard to make sure both XDS100v2 and Data cables are connected to the host PC.

    Thanks and regards,
    Charles

  • Hi charles Roberson,

    I am using controlCard with XDS110 Debug probe. when I changed the address of 0xD00 with 0x815A and given the command from PC, the kernel is downloading but the main application is not downloaded.

    10==10
    0==0
    10==10
    0==0
    10==10
    0==0
    0==0
    Bit rate /s of transfer was: 2489.924805
    What operation do you want to perform?
             1-DFU CPU1
             2-DFU CPU2
             3-Erase CPU1
             4-Erase CPU2
             5-Verify CPU1
             6-Verify CPU2
             7-Unlock CPU1 Zone 1
             8-Unlock CPU1 Zone 2
             9-Unlock CPU2 Zone 1
            10-Unlock CPU2 Zone 2
            11-Run CPU1
            12-Reset CPU1
            13-Run CPU1 and Boot CPU2
            14-Reset CPU1 and Boot CPU2
            15-Run CPU2
            16-Reset CPU2
             0-DONE
    1

    calling f021_SendPacket
    Downloading E:\CCS\GC_OBC_DMA_10072025\CPU1_FLASH\GC_OBC_DMA_10072025.txt to device...


    My requirement is without XDS110 Debug probe, using FTDI cable application need to download in device.

  • Hi Akhil,

    >My requirement is without XDS110 Debug probe, using FTDI cable application need to download in device.

    Ok, but if it has trouble sending the application packet, can we confirm that the kernel is operational? Can you load the symbols for SCI to CPU1 of the device and see the current state of the device, is it awaiting the next SCI Packet?

    Is the UART data cable connected to the device?

    Thanks and regards,
    Charles

  • Hi,

    Yes, I have connected the UART cable to device. After the kernel is downloaded, it is waiting at while(SciaRegs.SCIRXST.bit.RXRDY != 1) { } in SCIA_GetonlyWorkData() function.
    After selecting the 1st option in a given options, it is waiting at while(SciaRegs.SCIRXST.bit.RXRDY != 1) { } in SCIA_GetWordData() function.

    0==0
    10==10
    0==0
    10==10
    0==0
    0==0
    Bit rate /s of transfer was: 2500.966797
    What operation do you want to perform?
             1-DFU CPU1
             2-DFU CPU2
             3-Erase CPU1
             4-Erase CPU2
             5-Verify CPU1
             6-Verify CPU2
             7-Unlock CPU1 Zone 1
             8-Unlock CPU1 Zone 2
             9-Unlock CPU2 Zone 1
            10-Unlock CPU2 Zone 2
            11-Run CPU1
            12-Reset CPU1
            13-Run CPU1 and Boot CPU2
            14-Reset CPU1 and Boot CPU2
            15-Run CPU2
            16-Reset CPU2
             0-DONE
    1

    calling f021_SendPacket
    Downloading E:\CCS\GC_OBC_DMA_10072025\CPU1_FLASH\GC_OBC_DMA_10072025.txt to device...

  • Hi Charles Roberson,

    Please help me to resolve the issue. I am eagerly waiting for your reply.

  • Hi Akhil,

    Can you describe the revision of the controlCard that you are using? I am not seeing this issue using R1.1 device (can be found on the right-hand side of controlCard next to the microUSB port).

    Thanks and regards,

    Charles