CY8CKIT-042 BLE PSoC Creater 4.1

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

cross mob
Anonymous
Not applicable

Hi,

I wanted to know the BLE difference between Loadable.cydwr and Loader.cydwr?

thanks,

Asha

0 Likes
1 Solution
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

"Loader" is the part that actually reads the hex data and programs the flash

"Loadable" is the program that will be programmed into flash using the "Loader"

Bob

View solution in original post

0 Likes
6 Replies
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

"Loader" is the part that actually reads the hex data and programs the flash

"Loadable" is the program that will be programmed into flash using the "Loader"

Bob

0 Likes
Anonymous
Not applicable

Hi Bob,

I understand that part where the "Loader" is the one that programs the flash.

But I think that the BLE stack is part of it.  What I am confused is that there are 2 AppCallBack()

One in Loadable, "CyBle_Start(AppCallBack);" and another in Loader, in main.c

Which one is the actual one that is invoked by the BLE Stack that is part of the Loader.

Thanks,

Asha

0 Likes
Anonymous
Not applicable

CyBle_Start(AppCallBack) is the code that starts the BLE stack (radio BLESS).

Thus, the other one is what you are looking for I think.

0 Likes
Anonymous
Not applicable

Hi,

Sorry to not understand correctly.

Which one are you referring to for CyBle_Start(AppCallBack);

In the Loader or the Loadable?

Thanks,

Asha

0 Likes
Anonymous
Not applicable

The CyBle_Start() in the Loader is the function call that will be executed when the project is loading a new image. The CyBle_Start() in the Loadable is the function call that will be executed when your application has been fully loaded and starts running.

Thus, the one in the Loader is the function being called by the update.

Epratt

0 Likes
Anonymous
Not applicable

Hi,

Thank you.

Asha

0 Likes