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

App does not work via DFU

I have a nRF51822 device which has softdevice and bootloader. And I'm trying upload my app with following steps:

  1. make .bin file with gcc
  2. Push the DFU button, and entering DFU mode. (Seen as DfuTarg)
  3. Upload bin file via iOS nRF Loader.
  4. The upload completed successfully.
  5. My app does not run.

Therefore, I have a question. Are there any special code or special settings for DFU on the app code side? Thanks in advance.

Parents
  • What means »My app does not run«? Is the bootloader still running (still seeing the "DfuTarg" via Ble)? What bootloader are you using (e.g. bootloader example from Nordic Sdk 5.2, compiled with gcc 4.8 or Keil ...)? If using nRFgo hardware (Starter Kit) which Led's are on? Does your app running right when flashing via Jtag? Startaddress of your app 0x14000?

Reply
  • What means »My app does not run«? Is the bootloader still running (still seeing the "DfuTarg" via Ble)? What bootloader are you using (e.g. bootloader example from Nordic Sdk 5.2, compiled with gcc 4.8 or Keil ...)? If using nRFgo hardware (Starter Kit) which Led's are on? Does your app running right when flashing via Jtag? Startaddress of your app 0x14000?

Children
No Data