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.
one correction the app I'm using to verify the memory of the BLE chip is smartsnippets toolbox and I'm trying to program the SPI flash not the OTP memory.
Hi oy,
Thank you for posting your questions online.
1, About how-to program the DA14531 please refer to this tutorial: 16. Flash Programming — DA145XX Tutorial SDK Getting started (renesas.com)
2, which system you are using for programing? SmartSnippets toolbox supports Windows, Linux, MacOS.
3,
oy said:I need to be able to update the firmware through the microcontroller.
Do you mean boot from microcontroller?
if so, please refer to this tutorial: https://www.renesas.com/us/en/document/apn/b-072-da14531-booting-otp-and-serial-interfaces-html?r=1564826
If not, we do not have such support for program the Flash through Micro Controller through uart.
Any further questions are welcome.
BR,
JH_Renesas