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:
Is it possible to get the packets sent between the host and PSoC?