Because of the holidays, TI E2E™ design support forum responses will be delayed from Dec. 25 through Jan. 2. Thank you for your patience.

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: How to set the system into SPI bootloader

Part Number: TMS320F28379D

Hi, 

I'm trying to make an Firmware update via SPI. I try to understand how to set the into SPI bootloader.

I have read the documentation about it and saw a video but it is not working.

what am i trying to do is:

1. enter to CCS and work on a random program, in my case "led_e1_blinky"

2. debugging the project in flash mode

3. now i have tried both case to change the 0x0D00 adress ad shown in the datasheet:

  • go to memory view and change it manually
  • change the GEL file as follow add EMU_BOOT_SPI() function
  •  

4. press CPU reset 

5. run the program

it is not working. it run the blinky program. can you please write here what is the procedure step by step?

thanks alot

  • Hi, 

    I understand how to set the board into SPI boot mode. 

    I don't working with serial SPI EEPROM or flash, i want to work with an SPI port on another device.

    I've read the documentation and saw "that device must be setup to operate in the slave mode and mimic a serial SPI EEPROM".

    Where can i find documentation how to mimic serial SPI EEPROM, which protocol should i use?

    thanks a lot 

  • Hi ,

    Can you please clarify that by device you mean TMS320F28379D or another external deivce which will send the firmware to the board?

    For SPI bootloader implementation TMS320F28379D is configured as Master and the other device which sends firmware using SPI protocol will acts as a slave.

    Thanks,

    Ronak

  • I'm using TMS320F28379D  ControlBoard. I'm able to see theTMS320F28379D  SPI output signal. what I'm seeing is 6 bytes (6 x 8 clock toggles).

    On the other side I'm using STM32 evaluation board to simulate SPI EEPROM. 

    If I've understand right the 2 bytes TMS320F28379D  sends read commend (0x0003), then address to read (0x0000) and then he waits that the slave side will send (0x08AA), in my case the stm32 needs to send that.

    Am I right?

    thanks a lot!

  • Yes, STM32 boards needs to send the 0x08AA in SPI after this.

    Regards,

    Ronak