9 years, 3 months ago.

Getting "Remote DFU error: REMOTE DFU DATA SIZE EXCEEDS LIMIT" when trying FOTA on nRF51-DK

Hello!

I have been trying to get FOTA working on the nRF51-DK, but I am stuck at the same problem. Here are the steps I followed (from https://developer.mbed.org/users/prussell/code/bleIOv04_pr/wiki/FOTA-Notes) :

  • I installed the ble_default_bootloader_app.hex via USB (without reset button)
  • I compiled my app using [error] shadow platform. I got a 45ko hex file, seems reasonable.
  • I uploaded that hex file to Drive and started nRF Master Control Panel on an Android 4.3 device
  • I chosed DFU, then my hex file, then "no" for the dat file, DFU starts, and here is the log :

2 problems I see, the first one at the beginning of the DFU sequence, is the "[DFU] Image file opened (0 bytes in total)" and the one in red "Remote DFU error: REMOTE DFU DATA SIZE EXCEEDS LIMIT" right after "Starting upload"

My image file is not 0 bytes, so I thought that might the DFU error, but I can't find anything about this problem on theweb, otherwise I wouldn't be posting this.

In order of appearance :

I hope you can help me and I am not the only one with this problem :o

Regards, Jules

Question relating to:

Experimental BLE project showing how IO can be made with an App over BLE. Pointer to matching App will be added when ready, initially this works with: - Android App … android, BLE, IO, Notify, pwm

1 Answer

9 years, 3 months ago.

My tests used Android5 Lollipop. I suggest you try upgrading to Android5 Lollipop, let us know if that resolves issue.

Thanks I am going to try that !

posted by Jules Thuillier 29 Jan 2015

the BLE_default_app found to have other issues. Best use this simple project to test FOTA: http://developer.mbed.org/users/waynek/code/HelloBlue/

posted by Paul Russell 29 Jan 2015