I2C driver is not working with basic bootloader firmware
I am using basic firmware present in directory C:\microchip\harmony\v1_07_01\apps\bootloader\basic\firmware, and I kept my application firmware in C:\microchip\harmony\v1_07_01\apps\usb\device\i2c_test\i2c_test\firmware, if I disable the 'Use bootloader' then the above application firmware is working fine( its writting data on EEPROM), but when I enable use bootloader, build application linker script and bootloader type as USB_DEVICE, then its not working with basic bootloader.
For customizing the bootloader, I made Few changes in basic bootloader as below:
In the apps/bootloader/basic fw I only changed the function:
app.c file :
// For most of the basic bootloaders, the check of the switch (S3) and
// the memory location will decide the question.
//if (BSP_SWITCH_STATE_PRESSED == BSP_SwitchStateGet(BSP_SWITCH_3))
if (*(uint32_t *)BOOTLOADER_FLASH_TRIGGER_ADDRESS != 0xFFFFFFFF)
and in system_config.h:
#define BOOTLOADER_FLASH_TRIGGER_ADDRESS 0x9D061000
these lines added.
(attached my i2c_test firmware to build it succesfully keep it in "C:\microchip\harmony\v1_07_01\apps\usb\device\i2c_test\i2c_test\" directory)