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.

TMS320F28388D: How to use XDS100V3 emulator to burn binary stream file directly into external flash (W25Q64) via F28388D chip?

Part Number: TMS320F28388D
Other Parts Discussed in Thread: UNIFLASH

Tool/software:

Dear TI team:

    I now have a FPGA firmware that needs to be burned into an external flash(is a SPIFlash). since it's too large, it needs to be burned directly into the external flash, and then burn the firmware of the F28388D's CPU1, CPU2 and CM, the burner I am using is XDS100V3, is there any good solution?

Looking forward to your reply,

Best Regards.

  • Hi,

    since it's too large, it needs to be burned directly into the external flash, and then burn the firmware of the F28388D's CPU1, CPU2 and CM, the burner I am using is XDS100V3, is there any good solution?

    So you need the F28388D to write to the external flash using SPI? Then you want to actually write to the F28388D flash afterwards? 

    How much data needs to be written to the external flash? 

    Best Regards,

    Ben Collier

  • Hi 

    So you need the F28388D to write to the external flash using SPI?  Yes
    Then you want to actually write to the F28388D flash afterwards? Yes 


    How much data needs to be written to the external flash?  1Mb



    Best Regards,

    Yi YIN

  • Yi Yin,

    Unfortunately we do not have examples for how to do this. I think you will need to do something like below:

    1. Load 'SPI program' onto F28388D with JTAG

    2. In the 'SPI program' on F28388D, you need some sort of handshake process between the F28388D and the host PC so that the host PC can write new data to the F28388D. 

        a. You could use SCI/UART to communicate between host PC and F28388D

        b. You could possibly use a DSS script and JTAG to communicate between host PC and F28388D

    3. After writing new data to external flash, then you can program F28388D

    NOTE: You can use UNIFLASH to program F28388D from command line and batch scripts. You will probably need to use this eventually if you want to automate this process.

  • Hello Benjamin

    Thanks for your reply! it is very useful for me.

    Furthermore,Do you have some tools to do that, Do you have ‘SPI program’ ? 

    On my side, It's hard for me to realize “use a DSS script and JTAG to communicate between host PC and F28388D”


    I have used the API writeDate() in DSS, and tried to write data in Flash memory, but it shows this error:

    SEVERE: Errors during memory.writeData(): Address: 0x98000 Error: 0x20000.

    Best Regards,

    Yi YIN

  • Yi Yin,

    Furthermore,Do you have some tools to do that, Do you have ‘SPI program’ ? 

    I was suggesting that you create this program.

    On my side, It's hard for me to realize “use a DSS script and JTAG to communicate between host PC and F28388D”

    It may be easier to use SCI/UART as we have C2000 specific examples for these  that show you how to communicate with your C2000 device from your host PC.

    Best Regards,

    Ben Collier