You are here

appConfig | Cypress Semiconductor


Summary: 1 Reply, Latest post by jrow on 28 Nov 2016 07:35 AM PST
Verified Answers: 1
Last post
Log in to post new comments.
sop_1632231's picture
1 post

I have been running in to trouble on my final software test :-(

I’m using the:
apiResult = CyBle_StoreAppData((u8*)&appConfig, (u8*)&appConfigAtFlash, sizeof(StAppConfig), 1u);

to save the data, and:
memcpy(&appConfig, &appConfigAtFlash, sizeof(StAppConfig));

to load the data, and everything look fine until I started to use the bootloader and the bootloadable.
So I was thinking that you could give me a hint on how I can get it to work. Any idea. 

Hope you can give a hint..

Best regards


jrow's picture
Cypress Employee
158 posts

Hello Panduro,

If you are modifying data in flash with CyBle_StoreAppData() and also using a bootloader for firmware updates, you must use the "checksum exclude" area for all app-modified data. Refer to the AN97060 document found here:

Specifically, see Section 8.4.2 ("Using Checksum Exclusion") for details. This method will instruct the bootloader application validation routine to ignore changes within the excluded region of flash and still allow your application to boot even after storing new data there.

Log in to post new comments.