jesuslg123
|
57ce8b2e93
|
When in bootloader mode and USB is disconnected the system now jumpt to app state to avoid leave the device stuck on bootloader
|
2026-03-08 21:20:03 +01:00 |
|
Eduardo José Tagle
|
2d889d35d5
|
Merge branch 'adafruit:master' into master
|
2026-02-04 12:07:14 -03:00 |
|
hathach
|
48cfda2a29
|
check page size alignment for address as well
|
2026-02-03 19:01:45 +07:00 |
|
hathach
|
8c45bf843c
|
- always enable flash protect
- clean up code
- add illustrated memory layout for quick ref
|
2026-02-03 18:47:04 +07:00 |
|
Ha Thach
|
6180d8a26b
|
Merge pull request #381 from ReFil/gcc-15-fixes
fix: Fix build errors on GCC15
|
2026-02-03 14:17:16 +07:00 |
|
hathach
|
6b24be5f69
|
- add GCC diagnostic ignored "-Warray-bounds" to affected code
- correct usage of __has_attribute(nonstring) and rename to ATTR_NOSTRING
|
2026-02-03 14:14:08 +07:00 |
|
Eduardo José Tagle
|
c61f330c1d
|
Merge branch 'master' of https://github.com/ejtagle/Adafruit_nRF52_Bootloader
|
2026-02-02 14:28:35 -03:00 |
|
Eduardo José Tagle
|
1307fe7f57
|
Enable FLASH overwrite protection from user applications for MBR and bootloader
|
2026-02-02 14:28:12 -03:00 |
|
hathach
|
a76d419c34
|
minor clean up
|
2026-02-02 14:30:32 +07:00 |
|
Eduardo José Tagle
|
d0f13ea1fe
|
Made sure to clear pending interrupts and exceptions before jumping to the user application. Was rarely causing locks
|
2026-01-31 16:17:22 -03:00 |
|
Eduardo José Tagle
|
3249f41dd9
|
In case a RESET command is received in the middle of a OTA DFU, reboot to bootloader to allow the DFU app to recover previously interrupted transfers, instead of reverting to the last working firmware and launching it
|
2026-01-27 22:41:20 -03:00 |
|
Eduardo José Tagle
|
29dd14ee46
|
Merged improvements
|
2026-01-26 00:49:52 -03:00 |
|
Eduardo José Tagle
|
e1ea1c6dd1
|
Wait until FLASH operation queue has enough available room, instead of silently dropping operations
|
2026-01-26 00:44:54 -03:00 |
|
hathach
|
3c4470889b
|
minor clean up and fix dfu_bl_image_validate() return nrf error code
|
2026-01-23 14:30:58 +07:00 |
|
 Ha ThachandCopilot
|
3e87e07921
|
fix typo
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
|
2026-01-21 09:06:12 +07:00 |
|
Eduardo José Tagle
|
827edd212b
|
Bumped SLAVE_LATENCY to 4. Does not make any difference in our tests, but https://stackoverflow.com/questions/32588325/ios-bluetooth-le-code-6-the-connection-has-timed-out-unexpectedly suggests this is the best to solve the ConnectionTimedOutUnexpectedly on IOS
|
2026-01-15 19:14:41 -03:00 |
|
Eduardo José Tagle
|
33070836f9
|
Add missing tinycrypt dependency
|
2026-01-15 02:38:13 -03:00 |
|
Eduardo José Tagle
|
c8af92c4d8
|
Implement signed firmware verification: If enabled (Disabled by default), the bootloader will reject and not flash any firmware that is not digitally signed with the proper key
|
2026-01-15 01:53:57 -03:00 |
|
Eduardo José Tagle
|
f20bfe9f63
|
Add DUAL_BANK functionality (disabled by default, can be enabled passing DUAL_BANK=1 to the Makefile in the make command line
|
2026-01-15 01:40:51 -03:00 |
|
Eduardo José Tagle
|
88eab38a6c
|
Allow flashing of a SINGLE BANK bootloader after a DUAL BANKED bootloader was installed. Without this patch, the SINGLE BANK bootloader will end in a continuous loop and no recovery without a JTAG programmer is possible
|
2026-01-15 01:26:03 -03:00 |
|
Eduardo José Tagle
|
450ce3b3c6
|
Definitions for DUAL BANKED firmware updates (storing 2 copies of the firmware, so if a firmware update fails, the bootloader can revert to the previously working firmware)
|
2026-01-15 01:22:12 -03:00 |
|
Eduardo José Tagle
|
efe383d090
|
Add DFU mode exit timeout of 3 minutes. If the user enters DFU mode BUT does nothing, in about 3 minutes, the bootloader will exit and start executing the user application
|
2026-01-15 01:19:15 -03:00 |
|
Eduardo José Tagle
|
ca46deb0a2
|
Factor out FLASH erase procedure (non OTA), fix FLASH write procedure (non OTA), use them instead of repeating code
|
2026-01-15 01:14:50 -03:00 |
|
Eduardo José Tagle
|
d28c2e0871
|
Enable negotiation of MTU sizes above 20. This will significatively increase DFU write speed
|
2026-01-15 01:03:53 -03:00 |
|
Eduardo José Tagle
|
36422ba612
|
Speedup FLASH writes by temporarily increasing BLE stack local latency
|
2026-01-15 00:46:27 -03:00 |
|
Eduardo José Tagle
|
04d029a5bd
|
Allow overriding device name in DFU mode
|
2026-01-15 00:43:27 -03:00 |
|
Eduardo José Tagle
|
b5ddc1879e
|
Fix improper processing of Flash WRITE/ERASE completion notifications that was causing the DFU firmware update to sometimes crash
|
2026-01-15 00:41:16 -03:00 |
|
Eduardo José Tagle
|
2910556adc
|
Wait until notification queue has enough room so no notifications of completed operations to the DFU app are lost
|
2026-01-15 00:36:14 -03:00 |
|
Eduardo José Tagle
|
f5ab453f75
|
Allow BLE characteristics to support both WriteWithoutResponse (for compatibility with Nordic DFU apps) and WriteWithResponse (for improved reliability)
|
2026-01-15 00:31:39 -03:00 |
|
Jürgen Leber
|
4ca93c5139
|
feat: adjust documentation for builds with SoftDevice S340
|
2025-10-27 21:05:08 +01:00 |
|
hathach
|
31c3081668
|
update makefile/cmake for softdevice macro. Remove the _s340 filter in ci
|
2025-06-30 17:32:49 +07:00 |
|
hathach
|
d475f25154
|
Merge branch 'master' into fork/JuergenLeber/add-sd-s340-support
# Conflicts:
# README.md
|
2025-06-30 16:14:29 +07:00 |
|
JuergenLeber
|
b8544f5c8c
|
feat: add SD S340 support for nRF52840 and nRF52833
|
2025-06-10 19:05:21 +02:00 |
|
JuergenLeber
|
389e5b004d
|
chore: update uf2 submodule to latest
|
2025-06-10 18:58:34 +02:00 |
|
montea
|
a980696dd0
|
Changed the default max MTU size within the DFU transport to 23, which is the required size for the legacy bootloader to perform a successful OTA with the latest Nordic-DFU-Library.
|
2023-02-12 18:51:21 +00:00 |
|
hathach
|
c42dce080c
|
add debug linker when building with DEBUG=1
extend bootloader start to reserved app for debug build
|
2022-07-14 12:28:02 +07:00 |
|
hathach
|
b60ef5c3f7
|
use s140 7.3.0 for feather 833
|
2022-07-13 17:30:18 +07:00 |
|
Ha Thach
|
8d4e89fdde
|
Merge pull request #250 from jpconstantineau/V7-SD-FROM-KBLADEWHT
add 833 support for v7 Softdevice (while not including new boards)
|
2021-12-22 12:45:00 +07:00 |
|
hathach
|
f9c032fbd7
|
add converted softdevice uf2 for easy recovery
|
2021-12-14 21:27:24 +07:00 |
|
Pierre Constantineau
|
084dbc5ae0
|
Merge https://github.com/kbladewht/Adafruit_nRF52_Bootloader into V7-SD-FROM-KBLADEWHT
|
2021-12-09 22:01:27 -06:00 |
|
hathach
|
d099cda94c
|
update tinyusb to commit https://github.com/hathach/tinyusb/commit/9775e76910d569ec73b8dd946f3fa5fe5414acdb
|
2021-11-30 13:05:35 +07:00 |
|
kbladewht
|
b2f81775fc
|
for api
|
2021-11-13 22:44:53 +08:00 |
|
kbladewht
|
95926c6024
|
add for v7
|
2021-11-13 20:39:26 +08:00 |
|
hathach
|
0889a68a7a
|
comment out ble event string due to lack of flash
|
2021-09-17 21:18:44 +07:00 |
|
hathach
|
1a6d8eae97
|
clean up
|
2021-08-04 19:05:30 +07:00 |
|
hathach
|
9e188d7370
|
update tinyusb
|
2021-08-04 16:39:05 +07:00 |
|
hathach
|
dedbb74562
|
increase app reserved size to 40KB to match circuitpython for 840
along with other clean up
|
2021-08-04 16:35:42 +07:00 |
|
hathach
|
eae198000c
|
clean up
- mostly whitespace
- use ceil div
|
2021-08-03 23:17:57 +07:00 |
|
dumam
|
b1e0d2fd72
|
GCC 11 Fixes
|
2021-06-26 16:53:59 +02:00 |
|
hathach
|
13118196d8
|
update tinyusb to fix control race condition
|
2021-06-19 14:26:35 +07:00 |
|