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

After performing a DFU, my device is stuck in DfuTarg Automatised DFU with Android

Hello everyone,

I'm currently facing two problems :

1- I'm using nrf Toolbox with the last version and perform a DFU on a low_energy_ble device. I'm using a .zip and got no trouble while doing it. But after this my device is stuck in DfuTarg (MAC_ADDRESS+1). I tried the setting External MCU DFU without succes and its seems my device is stuck in the bootloader and cant jump to the app. I can do the same procedure with another device who then got the right app/boot version and is ready to use without any problem. Have you ever got this case and how to force the jump in the application ?

2 - I want to automatised this process with a script so i work with the Nordic script :dfu_win_3_1.bat 
All the requirements are fine and im almost fine but i got an error : Upload failed : INSUFICIENCE RESSOURCES

Here is the command line which put m in trouble :


adb shell am startservice -n no.nordicsemi.android.nrftoolbox/.dfu.DfuService

-a no.nordicsemi.android.action.DFU_UPLOAD

-e no.nordicsemi.android.dfu.extra.EXTRA_DEVICE_ADDRESS XX:XX:XX:XX:XX:XX

-e no.nordicsemi.android.dfu.extra.EXTRA_DEVICE_NAME DfuTarg

--ei no.nordicsemi.android.dfu.extra.EXTRA_FILE_TYPE 0

--ez no.nordicsemi.android.dfu.extra.EXTRA_KEEP_BOND false

-e no.nordicsemi.android.dfu.extra.EXTRA_FILE_PATH "/sdcard/Nordic\ Semiconductor/Upload/connectivity_1.1.0_115k2_with_s130_2.0.1.hex"

-e no.nordicsemi.android.dfu.extra.EXTRA_INIT_FILE_PATH "/sdcard/Nordic\ Semiconductor/Upload/app_dfu.zip"

I tried with different nrf toolbox version and each one got a different output...
Have anyone run this Nordic script successfully ? Where is my error ?

Thanks and forgive my poor english

Parents Reply Children
No Data
Related