cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC 4

DhDa_2432241
Contributor II

Hello, 

   

I have tried the example project from here. I got it to work with CYBLE-012011 by creating a new project with the components listed in this project. I was able to compile and flash and I was able to see the beacon in the android app listed in the pdf. So far so good. 

   

Now I want to add a bootloadable component to this project so that it can be flashed using an embedded host via UART. I added a bootloadable component and linked the UART bootloader hex file to it. I also added a pin which will call the Bootloadable_Load() and added code to set the BLE into bootload state. 

   

Now when I compile I get the following errors:

   

1. Build error: CY_BOOT: Section .cy_checksum_exclude size exceeds specified limit
2. Build error: section .cyloadablemeta loaded at [0001ffc0, 0001ffff] overlaps section .cy_checksum_exclude loaded at [0001fd00, 0001ffff]
3. Build error: The command 'arm-none-eabi-gcc.exe' failed with exit code '1'

It's a linker problem trying to figure out where to place the code. How do I fix this?

0 Likes
1 Solution
DhDa_2432241
Contributor II

UPDATE:
If anyone is facing this issue. 
I got this to compile by changing the bootloadable component 'Checksum exclude section size (bytes)' field to 40. (default 0)
which is the size difference between the mentioned address fields ( 0x0001fd00 - 0x0001ffc0 = 0x40).

View solution in original post

0 Likes
3 Replies
DhDa_2432241
Contributor II

UPDATE:
If anyone is facing this issue. 
I got this to compile by changing the bootloadable component 'Checksum exclude section size (bytes)' field to 40. (default 0)
which is the size difference between the mentioned address fields ( 0x0001fd00 - 0x0001ffc0 = 0x40).

View solution in original post

0 Likes
AnjanaM_61
Moderator
Moderator

Hi Dheeraj,

   

Are you getting the error still? Please share the project.

   

Thanks,
Anjana

0 Likes
DhDa_2432241
Contributor II

Hi Anjana,
No. I have already posted the fix which I had to do in order to solve this in my previous comment. Thanks for asking. 

Dheeraj

0 Likes