- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
When I use control center to load code to I2C EEPROM at PATRON FX-3S DEV board the error message "programming the I2C EEPROM failed" always occur.
I checked I2C address at PATRON FX-3S DEV board and the address was different with setup at CYUSB3KIT-001.
Have any adjustments for I2C EEPROM address on control center? or Have any method to solve the error?
and
May I let S0 and S1 port both run on 8bit mode?
io_cfg.isDQ32Bit = CyFalse;
io_cfg.s0Mode = CY_U3P_SPORT_8BIT;
io_cfg.s1Mode = CY_U3P_SPORT_8BIT;
io_cfg.gpioSimpleEn[0] = 0;
io_cfg.gpioSimpleEn[1] = 0x02102800; /* IOs 43, 45, 52 and 57 are chosen as GPIO. */
io_cfg.gpioComplexEn[0] = 0;
io_cfg.gpioComplexEn[1] = 0;
io_cfg.useUart = CyFalse;
io_cfg.useI2C = CyFalse;
io_cfg.useI2S = CyFalse;
io_cfg.useSpi = CyFalse;
io_cfg.lppMode = CY_U3P_IO_MATRIX_LPP_UART_ONLY;
status = CyU3PDeviceConfigureIOMatrix (&io_cfg);
When I use this Configure , FX3S dev board was boot fail.
Did I set wrong configure? or forgot something?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
FX3S DVK has Microchip's 128 KB EEPROM (http://ww1.microchip.com/downloads/en/DeviceDoc/21941B.pdf).
We can't adjust I2C address in control center and this can be solved by generating a bootable image file for a given EEPROM
Refer the attached KBA and it has the example of generating bootable image file for Microchip's 128 KB EEPROM.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
FX3S DVK has Microchip's 128 KB EEPROM (http://ww1.microchip.com/downloads/en/DeviceDoc/21941B.pdf).
We can't adjust I2C address in control center and this can be solved by generating a bootable image file for a given EEPROM
Refer the attached KBA and it has the example of generating bootable image file for Microchip's 128 KB EEPROM.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you for your reply!