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.

How does the 5515 bootloader deal with 16bit and 24bit SPI EEPROM?

Other Parts Discussed in Thread: TMS320C5515

How does the 5515 bootloader deal with 16bit and 24bit SPI EEPROM?

1. Do you have to 'tell' the bootloader 16bit or 24bit?  (the 5509A has four 'bootmode' pins for example)

2. Does the bootloader try 16bit 0x0000 followed by 24bit 0x000000 if there is no reply?

3. Or something else?

In my case I wish to use a 1Mbit SPI EEPROM for bootload with a 0x000000 address (24bit) and auto-increment.

Neither SPRAB92, SPRZ308, SPRZ310 or Spectrum Digital USB Stick reference design explain how this is achieved.

Regards, Andrew

  • Hi Andrew,

    You guessed it.

    The bootloader first tries to find a valid boot signature in address 0x0000 of 16-bit SPI EEPROM at CS0 only. If it fails, then it tries 24-bit SPI EEPROM at CS0 only.

    Additionally, the SPI CS0 pins can be mapped in two ways:

    SPI CS0 on pin P4 (LCD_CS0_E0/SPI_CS0 muxed)

    SPI CS0 on pin P11 (LCD_D[9]/I2S2_FS/GP[19]/SPI_CS0)

    The bootloader tries both 16 and 24 bit EEPROM on each pin (P4 then P11).

    With a valid boot image (and valid boot signature in 0x0000), your 24-bit SPI should work.

    Regards,
    Mark

  • Thanks for the quick reply Mark. 

    We are currently entering a design in to our CAD system so this is one less worry.

    Regards, Andrew

  • Will there be any risk to face with a problem if we use 8-bit EEPROM?? How can we solve this?

  • As stated in the data manaul's boot sequence section, only 16-bit and 24-bit EEPROM are supportewd for boot; 8-bit EEPROM is not supported.

    Regards.

  • Dear Steve,

    We succeed to boot with 8-bit EEPROM (25LC512) when the chip select of EEPROM is connected to P11 pin of TMS320C5515. However, when we changed the hardware configuration as connecting the chip select of EEPROM to P4 pin of TMS320C5515, boot operation is failed. What is the reason? How can we overcome this problem?

    Note : We also change the programmer.out source code as mentioned above. 

    Regards,
    Burak

  • P11 is SPI_CS0 for PPMODE 5 and P4 is SPI_CS0 for PPMODE 6. 8-bit EEPROM boot is not supported thus it fails in PPMODE 6. It works in PPMODE 5 is not a supported and guaranteed feature.

    Regards.