Follow question:
1. Does .img file in FX3 like .hex file in FX2 only can download to ram not for eeprom? I can't burn my .img file to eeprom by "Program-> FX3->I2C E2PROM" menu.
2. If .img file in FX3 like .iic file in FX2 can download to eeprom, why my .img file format is different to i2c_boot_option.pdf's description?
My .img file is obtained by "elf2img.exe" -i SlaveFifoSync.elf -o SlaveFifoSync.img -i2cconf 1C".
1C means Bit0 = 0: execution binary file; 1: Bit3:1 (I2C size) 6: 64KB (128K ATMEL), 01: 400KHz
According to i2c_boot_option.pdf, dAddress 0 is 1st sections address of Program Code not the I2C address, but my .img file's dAddress 0 is ELF( 7F 45 4C 46 ), it seems .elf file's header. Is it right .img file format for burning?
3. According to datasheet, AT24C1024 is no A0, A2, only A1 is avalible, am i right?
4. Another problem is the IIC protocol for atmel 24c1024 is different to others such as 24lc256, following device address, ack, 8bits address send then wait for ack, 24c1024 should 16bits MSB address send then wait for ack. how can i deal this case? It seem i can't fullfill this function by calling CyU3PI2cTransmitBytes for writing or CyU3PI2cReceiveBytes reading.
Thanks
|