1 Reply Latest reply on Nov 21, 2017 4:33 AM by himam_31

    Unable to recover from bootloader error 0x4004 - CYBLE-212019



      I am using CYBLE 212019 with a single stack bootloader model. I am using an external host for bootloading the board. While updating the image, I am getting error code 0x4004 which is a combination of CYRET_ERR_BTLDR_MASK and CYRET_ERR_DATA.


      After this error, I am unable to update an image using the bootloader. I have to erase the entire flash and program both the bootloader and application using the programmer(SWD interface) to bring it back to a working state. This problem is reproducible with the .cyacd image which I have. Every time I try to update the module with this image, I am getting error 0x4004 and the bootloader stops working!


      Here are my previous posts:



      CYBLE-212019. What happens if there is a power outage during a firmware update?

      CYBLE-212019 bootloading(single stack bootloader) using external host - Error code 0x4004