programming da14531MOD using microcontroller

Hi,

I'm currently using the da14531MOD BLE chip and I have it hooked up to a dspic microcontroller. I need to be able to update the firmware through the microcontroller. I have tried to program the chip using a python script through 1-wire UART but it doesn't seem to work this is just for testing purposes. Once I get it to work using the python script I would like to implement it using the dspic. The python script I'm using is   https://github.com/ezflash/ezFlashCLI but I can't seem to get it to program the firmware onto the Bluetooth chip. When I run the script and pass to it the .hex file it fails with this message "ERROR:da1469xSerialLoader:Failed to get length ACK", but if I pass it the .bin file it reports back success but when I read the memory of the chip using the smartbond app it comes back empty.

Any help with this would be appreciated.

Parents Reply Children
No Data