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.

Write Error when programming I2C EEPROM on EVM5515

I am attempting to program the I2C EEPROM on the EVM5515 and I get a very consistent error:

Choose the device...

0XX - CPLD setup only

1x - NAND Flash [CSx: 2,3,4,5]

2x - NOR Flash [CSx: 2,3,4,5]

3x - SPI EEPROM [x=1: EVM, x=2: USB Stick]

4 - IIC EEPROM

5 - MMC; 6 - SD

4

Operation to perform...

0 - CPLD setup for this device

1<file> - Program device with <file>

2<file> - Read device data to output <file>

1U:\workspace\home\LCPPFw\Debug\LCPPFw.bin

IIC EEPROM...

Writing data to device...

Opening U:\workspace\home\LCPPFw\Debug\LCPPFw.bin...

Input file opened

WRITE ERROR! at 0x0000

Wrote 0x09aa Read 0x0000

I am using the Programer.out application with CCS5.1. The target configuration is EVM5515 with the eZdsp on-board emulator.  I was successful once, in programming the EVM_Sample.bin application. But never again??

  • Since you have done it successfully once, may I ask what has changed? What hex55 version and command options were used to create this LCPPFw.bin file?

    Regards.

  • Nothing has changed.  One time it worked, all other times it has failed.  The time it worked, is used EVM_Sample.bin. But I have tried using that several times since and it has not worked.  Why would the content of the *.bin file matter? I should be able to program any file into the EEPROM. If the file is not a proper format, the DSP won’t boot, but the file should still be programmed into the EEPROM – ie. No WRITE ERROR.

  • If the EVM_Sample.bin file works once and that file has not been altered, it should be repeatable. Second question, the programmer checks the first word of the boot image for boot signature, if it is not a valid one, in this case, an unencrypted image, 0x09AA, it stop and print the error message. The programmer source files are in CSL 3.03.

    Can you try other boot image or peripheral or EVM?

    Regards.

  • Please refer to the following wiki article on using the C5515 boot image programmer.  There is a specific note regarding programming the I2C EEPROM on the EVM which needs to be implemented.

    I verified this on my EVM.  If I do not set the PLL to the appropriate frequency using the GEL file indicated in the wiki article, then I receive the same error originally reported in the first post of this thread.  After setting the PLL to the appropriate frequency, I was able to program the desired bin file into the I2C EEPROM.

    Caption from wiki article:

    NOTE: Be sure to set the PLL clock frequency to 12.288 MHz in order for the I2C EEPROM to work properly.