This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

How to flash hex file via BLE UART service without connecting any Programmer?

Hello sir,

I have develop project and their lots of quantity. I want flash my updated program into my nordic device without open this device via BLE services. Is it possible to flash, i am using BLE UART service and read sensor data and send to my own apps. By using same apps is it possible to update my program via android apps. So sir please give some reference tutorial or your valuable suggestion. Or some reference example code for same let me know sir...

Thanks in advance.....

Vishal

Parents
  • I have upload directly hex file is given in sdk nRF5_SDK_13.1.0_7ca7556\examples\dfu\ble_dfu_send_hex\test_images_update_nrf52832 dfu_test_softdevice_bootloader_s132.hex. Then i have created my own application zip file using following command "C:\Program Files (x86)\Nordic Semiconductor\nRFgo Studio\nrfutil.exe" dfu genpkg --application nrf52832_xxaa.hex --application-version 0xff --dev-revision 1 --dev-type 1 --sd-req 0xfffe BLE.zip

    But when i select this zip file in nordic toolbox android app and select device click on upload it connecting and again discconect and show error message is "Remote DFU invalid CRC error" in nRF ToolBox. why it so how i can resolve this issue please tell me. even when i select test zip file is given in sdk is successfully upload. but my own application zip not upload. let me know sir....

    Thanks in advance......

Reply
  • I have upload directly hex file is given in sdk nRF5_SDK_13.1.0_7ca7556\examples\dfu\ble_dfu_send_hex\test_images_update_nrf52832 dfu_test_softdevice_bootloader_s132.hex. Then i have created my own application zip file using following command "C:\Program Files (x86)\Nordic Semiconductor\nRFgo Studio\nrfutil.exe" dfu genpkg --application nrf52832_xxaa.hex --application-version 0xff --dev-revision 1 --dev-type 1 --sd-req 0xfffe BLE.zip

    But when i select this zip file in nordic toolbox android app and select device click on upload it connecting and again discconect and show error message is "Remote DFU invalid CRC error" in nRF ToolBox. why it so how i can resolve this issue please tell me. even when i select test zip file is given in sdk is successfully upload. but my own application zip not upload. let me know sir....

    Thanks in advance......

Children
No Data
Related