cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC 6 MCU

New Contributor II

Hello, I have been trying to add Em_EEPROM to my App1, and OTA using the bootloader.

I have no compilation errors, but when using cysmart and OTA firmware update, I got the following error,

ota_fail.png

can someone help with this? many thanks!

0 Likes
Reply
1 Solution
Employee

Hi Jerry

By default, the Em_EEPROM storage is fully allocated to both of the PSoC 6 cores in the ".cy_em_eeprom" section. If the Em_EEPROM is used on one of the cores, you must reallocate the declaration of the ".cy_em_eeprom" section in both linker scripts. Otherwise, while building the project the cymcuelftool will report an error because of ".cy_em_eeprom" section contents collision."

So you can set the core0 to occupy 0x4000 from 0x14000000, core1 to occupy 0x4000 from 0x14004000.

Regards

Jenson

View solution in original post

0 Likes
Reply
1 Reply
Employee

Hi Jerry

By default, the Em_EEPROM storage is fully allocated to both of the PSoC 6 cores in the ".cy_em_eeprom" section. If the Em_EEPROM is used on one of the cores, you must reallocate the declaration of the ".cy_em_eeprom" section in both linker scripts. Otherwise, while building the project the cymcuelftool will report an error because of ".cy_em_eeprom" section contents collision."

So you can set the core0 to occupy 0x4000 from 0x14000000, core1 to occupy 0x4000 from 0x14004000.

Regards

Jenson

View solution in original post

0 Likes
Reply
Top labels