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: Steps to dump code in EEPROM chip for TMS320F28379D DSP

Part Number: TMS320F28379D
Other Parts Discussed in Thread: UNIFLASH

Hello,

I have an application software which I dump into my 379D DSP using a Debugger.  However, my current application requirement is such that the code needs to be dumped in the DSP through EEPROM interfacing. 

I have understood from the Instruction manual that we can have some configuration of SPI based EEPROM programming.However I need to know the exact steps as to how to dump my program into the DSP through the EEPROM interface. 

If there are multiple ways to program it , I am open to all possible options.

Thanks,

Sincerely,

Prarambhik Sur

(Sr. Engg , R & D, Hind Rectifiers)

  • Hi Prarambhik,

    For more information about SPI Boot-Mode with Serial SPI EEPROM, please refer to section 4.10.4.3 (SPI Boot Mode) in the TRM (https://www.ti.com/lit/spruhm8j). If you need more details, please specify what further information would be helpful.

    To get a better understanding of your application, I have a follow up question. Is it necessary to program the F28379D from EEPROM? If a JTAG connection is available, consider programming directly to F28379D Flash Memory using UNIFLASH, the serial flash programmer (refer to https://www.ti.com/lit/sprabv4) , or the Flash API (refer to this post)

    Kind regards,

    Skyler

  • Hello Skyler,

    Thanks for the update and Apologies for the late reply. Actually, my application currently uses a debugger through which I dump code. However, there are some issues that we have been encountering quite often recently. The issue being, that while dumping code, we are getting a prompt of "Device operating low power mode" and ".out load failed" errors multiple times. Our DSP cards are present inside a control rack ( as our application is high power traction motor control using front end converters and inverters). We have checked the power supply also , it receives 5V and 3.3 V for the DSP properly (just to make sure that device getting proper voltage). So, what we face is that we have to take out cards(DSP processor) from our rack every time and then dump code in flash using an external power supply. This is quite hectic as we have to dump code quite often. So as an alternative, it was suggested to use EEPROM based code dumping method.

    We currently have our application code dumped in flash using JTAG Debugger and in runtime, sections are copied from FLASH to RAM and run.

    Hope this answers your questions.

    Regards,

    Prarambhik

  • Hi Prarambhik,

    I think you configured the boot mode pins for flash boot (and not wait boot) - correct?  

    Assuming flash boot, is your device secured when you access it via JTAG for flash programming?

    Thanks and regards,
    Vamsi

  • Hi Vamsi,

    I have understood from the Instruction manual that we can have some configuration of SPI based EEPROM programming.However I need to know the exact steps as to how to dump my program into the DSP through the EEPROM interface.

    The reference manual has limited information for achieving this task, can you give some clear exact steps?

  • Hi Saddam, Prarambhik,

    Before you go the EEPROM route, do you want to fix the original problem where in you are not able to connect to the device?  Please clarify.

    If you want information only on SPI based external EEPROM interface, we can assign this thread to the SPI expert.  Will do so once you clarify my above question.

    Thanks and regards,
    Vamsi

  • Hi Vamsi,
    The communication between the eeprom and controller is successful by using the SPI_BOOT.c file, we want to go further, but there is no proper information, can you atleast provide the example code for the same.

    Best Regards,

    Saddam

  • Saddam,

    Are you looking for something similar to https://www.ti.com/lit/pdf/spracs8 for SPI ? 

    Thanks and regards, 

    Vamsi

  • Hi Saddam,

    I noticed that you are discussing this in other posts with the SPI expert. 

    Hence, I am closing this post.

    Thanks and regards,

    Vamsi