- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm following the AN97060 but with no sucess. Now build without error both on Bootloader and Bootloadable project, programmed the bootloadable project, using Cysmart APP on IOS can found my device with bootloader service.But when try to OTA, the progress is stuck on 0%. When received the special command on custom profile,
my device enter into Bootloader.
case CMD_UPDATE_FW:
if((CmdBuf[1] == 0x55) && (CmdBuf[2] == 0xAA))
{
CyDelay(500);
CyBle_Shutdown(); /* stop all ongoing activities */
CyBle_ProcessEvents(); /* process all pending events */
CyBle_SetState(CYBLE_STATE_STOPPED);
CySysWdtUnlock();
CySysWdtDisable(WDT_COUNTER_MASK);
CyGlobalIntDisable;
Bootloadable_Load();
}
- Labels:
-
BLE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Now the problem is bonding, when I add the bonding on my bootloadable project, the device can not be found by cysmart App.
If I add the bonding in my single application project, it can be found.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am unable to read this page. Please post it using the PSOC Creator archive method and place it on this page using Add attachments.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Try this method while I am looking at your program.
-> Connect the BLE dongle and Open Cysmart.
-> Press the SW2 of device and enter into bootloader mode
-> Start scan in CySMart -> If the device name came in the list. Stop scan and place the cursor above the device name.
-> Click on the upgrade firmware button in the CySmart window. load the hex file and try OTA