cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC 4 MCU

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
Reply
7 Replies
rola_264706
Honored Contributor II
        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
Reply
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
Reply
rola_264706
Honored Contributor II
        Even though you are using the example program .Could you please provide your program so we can check it.   
0 Likes
Reply
Anonymous
Not applicable

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

   

Thanks for your kindly help!

   

Bros

0 Likes
Reply
rola_264706
Honored Contributor II

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
Reply
Anonymous
Not applicable

OK,it is smaller now, thanks!

0 Likes
Reply
rola_264706
Honored Contributor II

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
Reply