adafruit / Adafruit_nRF52_Bootloader

USB-enabled bootloaders for the nRF52 BLE SoC chips
MIT License
447 stars 404 forks source link

Nordic DFU OTA Compatibility #80

Open zwells opened 5 years ago

zwells commented 5 years ago

HCI_RX_BUF_QUEUE_SIZE must be 16 for Nordic DFU to prevent overflow

zwells commented 5 years ago

Solves Issue #63

hathach commented 5 years ago

Can you provide your set up inclduing app used, mobile hardware and os, bootloader, board and step to reproduce the issue so we could try to reproduce the issue first.

zwells commented 5 years ago

Any Arduino IDE generated zip package for Adafruit Feather nRF52832 bootloader can be given directly to nRF Toolbox, nRF Connect, or fengqiangboy/flutter-nordic-dfu (iOS and Android)

Hangs and fails on Starting DFU when HCI_RX_BUF_QUEUE_SIZE < 14

Succeeds when HCI_RX_BUF_QUEUE_SIZE >= 14

mattratto commented 4 years ago

The issue with this is that changing the HCI_RX_BUF_QUEUE_SIZE = 16 generates the following error on make for Adafruit Feather nRF52832: c:/program files (x86)/gnu tools arm embedded/8 2019-q3-update/bin/../lib/gcc/arm-none-eabi/8.3.1/../../../../arm-none-eabi/bin/ld.exe: region RAM overflowed with stack

This does appear to work for 52340-based boards.

evandavey commented 3 years ago

I required this change for OTA DFU to work using nRF Connect on Android and a Sparkfun MicroMod nRF52840.

ericlangel commented 8 months ago

Same Issue here....i cant Update with NRF DFU and NRF Connect

and this issue/PR is 4 years old!!!!