Hi Nordic Team,
We are experiencing an intermittent Buttonless Secure DFU over BLE issue on our custom hardware based on the Raytac MDBT50Q-1MV2 (nRF52840) module.
Software Environment
- nRF5 SDK 17.1.0
- SoftDevice S140 v7.2.0
- Buttonless Secure DFU over BLE
- Same application firmware
- Same bootloader
- Same DFU package
Hardware
- Custom board using Raytac MDBT50Q-1MV2
- Nordic nRF52840-DK (used as reference)
Problem Description
The exact same firmware works reliably on the nRF52840-DK, but on the custom hardware DFU fails intermittently.
Observed behavior:
- First DFU attempt after programming the board usually succeeds.
- Subsequent DFU attempts fail.
- The failure occurs more frequently after BLE data streaming.
Testing was performed separately using both:
- nRF Connect Mobile
The same behavior was observed with both applications.
Additional Validation
To isolate the issue, we performed the following tests on the custom hardware:
- Stopped BLE data streaming before initiating DFU.
- Connected the charger before initiating DFU.
- Completely powered down the ADS1299 (power pin LOW and analog power/control pin LOW) before initiating DFU.
- Repeated the DFU separately using both mobile applications.
The DFU issue still remained in all cases.
Key Observation
During successful DFU:
- The bootloader advertises using the expected incremented BLE address.
During failed DFU:
- The bootloader sometimes advertises using the same BLE address as the application instead of the incremented address expected by the Buttonless Secure DFU procedure.
Typical errors observed are:
- GATT Connection Timeout (0x08)
- DFU Service Discovery Not Started (0x1005)
Hardware Verification
We compared our schematic with the MDBT50Q-1MV2 reference design and did not find any obvious schematic differences related to power supply, DC/DC, crystal, or USB connections.
Questions
- Are there any firmware configurations specific to the MDBT50Q-1MV2 module compared to a standard nRF52840?
- Under what conditions can the bootloader advertise using the same BLE address as the application instead of the incremented address?
- Are there any recommended checks for intermittent Buttonless Secure DFU failures on custom hardware when the same firmware works consistently on the nRF52840-DK?
Any suggestions would be greatly appreciated.
Thank you.