I intend to create a bootloader and application project. This is working fine on my side. What I want is creating a network layer in application (read description)

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

cross mob
ansh_2022771
Level 2
Level 2
First like received First like given
  1. I am using serial port for getting hex file and then writing it on external flash.
  2. Bootloader contains software for updating the application after reading from external flash and writing on internal flash.
  3. Bootloader, application and update is working perfectly fine.

New requirement:

Now I want to divide the application section further.

Bootloader | Network (BLE stack) | Application

BLE stack takes a lot of space and every-time there is an update on application updating the BLE stack seems irrelevant & time consuming. Benefit of this approach is

  1. If there is a change in application we only upgrade application flash.
  2. If there is change in BLE stack we only upgrade Network flash.
  3. If there is change in both We update both.

What I am mentioning was easily implemented in ST & other controllers because we used to jump between applications using function pointers. My question is :

  • How can I do same in Cypress ?
0 Likes
1 Solution
GeonaP_26
Moderator
Moderator
Moderator
250 solutions authored 100 solutions authored 50 solutions authored

Hello Anish,

For the flexibility of updating both BLE stack and application image seperately, please make use of Upgradable Stack OTA Bootloader architecture. Implementation details are available in AN97060. You can find BLE Upgradable Stack Example Projects at File > Code Example > Upgradable Stack in PSoC Creator.

Best Regards,

Geona Mary

View solution in original post

1 Reply
GeonaP_26
Moderator
Moderator
Moderator
250 solutions authored 100 solutions authored 50 solutions authored

Hello Anish,

For the flexibility of updating both BLE stack and application image seperately, please make use of Upgradable Stack OTA Bootloader architecture. Implementation details are available in AN97060. You can find BLE Upgradable Stack Example Projects at File > Code Example > Upgradable Stack in PSoC Creator.

Best Regards,

Geona Mary