- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I am developing a BLE application CY8CKIT-062-BLE board, trying to implement BLE DFU.
I followed the application note "CE216767", the manual guided me firstly to program App0 through PSoC creator, then using CySmart to update App1 by BLE. I can successfully follow this flow, and App1 works normally.
However, for mass production, I want to use wire to program App1 for the initial programming of the products.
I tried to use PSoC creator to program App0 first, then also use PSoC creator to program App1. But after the programming of App1, App1 is not working. Then I push the Reset button on the board, but still, the App1 is not working.
So, my question is: is it possible to both program App0 and App1 without using Cysmart? Could you please let me know how to do that?
Thank you very much for your reading!
Looking forward to your help and suggestions.
Best regards,
Jiabin
Solved! Go to Solution.
- Labels:
-
ispn:39619:1:0
-
l1:314:1:0
-
PSoC6MCU
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @Jiabin ,
Can you refer to the below thread and let us know if that helps.
https://community.infineon.com/t5/PSoC-6/PSoC-6-dfu-downloadable-app-not-running/m-p/108185
Also you can refer to this KBA for more information
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @Jiabin ,
In the build settings, please update the linker scripts of App1 project to cy8c6xx7_cm0plus.ld and cy8c6xx7_cm4_dual.ld then app1 can be programmed.
Also make sure in cm0p.c file(in app1), CY_CORTEX_M4_APPL_ADDR is defined as shown below
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, @Alakananda_BG
Thank you very much for your reply!
Sorry I didn't make my question clear.
What I want is after using Kitprog to program App1, still can use Cysmart to write App1's IAS to make the system go back to App0. So that I can DFU by App0.
Can your solution keep App0 in the flash?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @Jiabin ,
Can you refer to the below thread and let us know if that helps.
https://community.infineon.com/t5/PSoC-6/PSoC-6-dfu-downloadable-app-not-running/m-p/108185
Also you can refer to this KBA for more information
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content