Has someone here sucessfully tested the Fixed stack OTA?

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

cross mob
Anonymous
Not applicable

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();        
    }                 
       

0 Likes
7 Replies
rola_264706
Level 8
Level 8
50 likes received 25 likes received 10 likes received
        You have to use CYSMART 2.0 and the ble dongle the bootloader host is being phased out by Cypress. The bootloader host will not work.   
0 Likes
Anonymous
Not applicable

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.

0 Likes
rola_264706
Level 8
Level 8
50 likes received 25 likes received 10 likes received
        Even though you are using the example program .Could you please provide your program so we can check it.   
0 Likes
Anonymous
Not applicable

The file share link:http://pan.baidu.com/s/1slu2fFn

   

Thanks for your kindly help!

   

Bros

0 Likes
rola_264706
Level 8
Level 8
50 likes received 25 likes received 10 likes received

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.

0 Likes
lock attach
Attachments are accessible only for community members.
Anonymous
Not applicable

OK,it is smaller now, thanks!

0 Likes
rola_264706
Level 8
Level 8
50 likes received 25 likes received 10 likes received

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

0 Likes