How to assign an address from the bootloader address space to a variable that I will use to store for some version information of my application (Bootloadable).

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

cross mob
SaKu_3221121
Level 1
Level 1
First like received

How to find the bootloader address space, if so how to edit the available address that i can use to assign a variable to store some useful information such as version of my application. Also how to find the starting, ending of the Bootloader address and Bootloadable address?

I am using CY8CKIT-059 PSoC 5LP Prototyping kit.

1 Reply
RavikiranH_01
Employee
Employee
10 sign-ins 25 replies posted 10 replies posted

Hi @SaKu3221121,

You can make use of the linker files and have a shared/common region between bootloader and application to store the data as required.

This PSOC6 example gives a sample linker files, that you can adapt to your requirements as required. https://www.cypress.com/documentation/code-examples/ce220960-psoc-6-mcu-ble-upgradable-stack-bootloa...

linker concept would remain same across both platforms.

Hope it helps.

Thanks !

0 Likes