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.

TMS320F28377D: Boot from SPI with DCSM enabled?

Part Number: TMS320F28377D

Hi,

I have a bootloader that resides in an EEPROM that can be run from both CPU's.

It successfully boots from SPI at powerup and I can use it to download an image to Flash and run it so the boot pins and boot mode seem to be working fine for both CPU's.

However, after programming the Z1 CSM password (regs 2 and 3, not ECSL at 0 and 1) and the GRABRAM and GRABSECT to set all flash sectors and RAM to Zone 1  it will not boot from EEPROM. Using a scope, it looks like it's in a loop of trying to read from the EEPROM as there are constant bursts of clock pulses on the pin. Does this have to do with being unable to copy data into secure RAM from outside of the processor?

Is it possible to load code from an EEPROM on a locked device or should we move the bootloader from EEPROM to flash?

Let me know if something is unclear or if I should add more information.

Thanks,

- Taylor

  • Hi,

    Does this have to do with being unable to copy data into secure RAM from outside of the processor?

    Yes, that is correct. Once you secure the flash/RAM, you have to run the bootloader from secure flash from same zone to be able to copy the data from external host to secure RAM else copy the data into unsecure RAMs and then boot from there.

    Regards,

    Vivek Singh