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.

Programming I2C EEPROM with XDS100v2

Other Parts Discussed in Thread: TMS320C5515

Hello,

I am trying to program I2C EEPROM of own prototype with Code Composer Studio v4.1.

I have used programmer.out provided with EVM5515 tolos and software as i am using TMS320C5515 and XDS100v2 for Debug and program.

I have no problem with Debug, but when i try to program EEPROM i get the next message:

WRITE ERROR! at 0x0000

Wrote 0x09aa  Read 0x7c9c

I don't know if i have to use the same programmer.out as for the EVM or what is the problema.

Hope you can help me

Thanks in advance

Albert Torné

  • Hello,

    I have "solved" this by setting PLL frequnecy to 12MHz in GEL file. However now I get the next:

    Input file opened

    And it never ends...

    like if there was an I2C hang out or something like this

    Regards,

    Albert Torné

     

  • Yes i've already read it

  • Are you using the same kind of EEPROM as our EVMs?

  • Hi,

    I can boot C5515 from EEPROM in one proto, but in the other it Works almost 1 of each 15 time i power up the device.

    I am using 24AA256, however i've read that the EEPROM needs to work at 400KHz for the bootloader. The one that i am using Works at 100KHz at 1.8V but the one that you are using too.

    I think that i should try a faster EEPROM (400KHz/1.8V) not (100KHz/1V)

    However, i have one prototype working well and it boots well every time.

    magic og electronics maybe

    Regard,

    Albert Torné 

  • I believe you are on thr right track :-)

    Electron can do magic.

  • Hi,

    I have been reading your posts about your building your own DSP board using C5515 DSP.

    I am currently working on my own prototype board using C5505 DSP and it is probably very similar to your case.

    Would you kindly offer some guidance/clarifications here? Thanks a lot in advance.

    My prototype board is for audio application and I plan to design my board based on the EzDsp EVM board. I will probably use the same ICs for my own board, the same DSP, codec and EEPROM. I will also purchase a XDS100V2 emulator to load the program into my board, with CCS 6.0.0, via 14 JTAG connector.  Basically, the plan is to design a similar board as the EVM without the on-board emulator.

    Hopefully, if my code can work with the EzDsp EVM board, it would also work on my own board.

     Is there anything wrong with this plan?this is the first time i design embedded system.

    I hope you can provide some guidance with your experiences.

    Thank you in advance.

    Best Regards,

    Fei

  • The only thing that i can tell you by the moment is that you should reply the connections of the board. If the program is running in the board it will be running in your prototype, but take a look at all connections of DSP, códec, EEPROM...

    Thare are a lot of pins and connections and it is easy to make some mistake.

    Best regards,

    Albert Torné