Fixed Stack OTA Bootloader

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
lock attach
Attachments are accessible only for community members.
Anonymous
Not applicable

Hi,

   

We are implementing the firmware update feature in our product using PSoC Creator 4.0.
We were able to successfully run the example in Fixed Stack mode using the CY8CKIT 042 BLE PIONEER kit.
We also succeeded in running this example by making a little change at custom linker script to run over the part number and memory we use in our product (CYBL10573-56LQXI, Flash 256K and 32K RAM), based on the script generated by PSoC itself.
All projects using the BLE 4.2 v3.20, Bootloader v1.50 and Bootloadable v1.50 components.
We then add the Bootloader project to our official firmware workspace.
Some changes were made in the code so that the application could see the functions we are using from the BLE that was moved from the application to the Bootloader, following the procedure described in the Cypress app notes. That is, we are using the original BLE component settings of our project. But to it was added a copy of the example Bootloader service.
The bootloader compiles correctly and we can run it in our device, but we are facing a difficulty in the moment of linking the bootloadable with the following error:
 
ERROR: section .cyloadablemeta loaded at [0003ffc0,0003ffff] overlaps section .cy_checksum_exclude loaded at [0003ff00,000402ff]
Collect2.exe: error: ld returned 1 exit status
The command 'arm-none-eabi-gcc.exe' failed with exit code '1'.
 
It seems that there is a confusion in the allocation and size for the exclude checksum region that is even going beyond the size of our flash.
This happens whether or not we enable application validation.
We need an urgent help because we do not know how to solve this, the script seems correct and works well when using with the example application.

   


Best Regards,

   

Maicon Cesar

0 Likes
1 Solution
himam_31
Employee
Employee
50 likes received 25 likes received 10 likes received

Hello,

   

Did you have a look at the section "8.4.2 Using Checksum Exclusion", Link: http://www.cypress.com/file/198301/download.

   

Thanks,

   

Hima

View solution in original post

0 Likes
3 Replies