Comments (6)
issue start to happens with fe712fb
from adafruit_nrf52_bootloader.
issue does not happen if flash with segger studio, seem like some volatile or optimization things.
from adafruit_nrf52_bootloader.
only happens with arduino, doesn't happen with cpy uploading dfu-flash. Seems to be a quick serial port timeout with Arduino.
Update: flashing larger file such as bootloader still work hmm. strange !!
from adafruit_nrf52_bootloader.
Hooking it to the analyzer, it is dynamic issue with cpu blocking by nvmc operation. Basically when erasing + writing flash, the cpu is blocked --> causing the uart irq does not consume incoming data --> overwrite SLIP Start byte 0xC0 --> the whole following packet is discarded as invalid packet --> no ack at all. One of the solution could be modifying hci_slip/app_uart to use UARTE to make use of the DMA.
from adafruit_nrf52_bootloader.
further diving: seem like only nrf_nvmc_page_erase() cause issue since it block cpu for > 2ms. write words only block for few dozen us, thus isn't an issue. We can use the erase all first approach as previous version for dfu serial
from adafruit_nrf52_bootloader.
go back to erase in advance and skip erase on the fly for nrf52832. A small amount of delay (10 ms) is also added by adafruit-nrfutil after each 4KB to be safe.
from adafruit_nrf52_bootloader.
Related Issues (20)
- Type casting for ((USB_DESC_VID << 16) | USB_DESC_UF2_PID) HOT 2
- CircuitPython on the nRF52 ----> Compiling latest bootloader from source HOT 1
- Workflow-build fails with error code 2 while installing toolchains HOT 3
- DFU OTA upgrade problem HOT 4
- Add factory reset request
- Please add Xiao BLE Bootloader HOT 1
- No such file or directory for "nrf.h" HOT 1
- DFU via Serial1 HOT 1
- PCA10056: Part of the HEX regions are out of the device memory size HOT 10
- MDK NRF52840 USB Dongle bricked after flashing latest bootloader HOT 3
- nRF52840 USB Key as nRF Connect for Desktop BLE Adapter?
- DFU OTA with NRF Connect stuck at 100% HOT 1
- Tool to merge application firmware with bootloader for factory SWD/JLINK-programming HOT 1
- Make all filed with invalid suffix "c3a84" on integer constant HOT 5
- `board_teardown()` resets every pin including the LDO pin on some boards HOT 3
- DFU OTA always fails HOT 1
- non-direct advertising and buttonless DFU features
- Drag and drop reports an error but the application is loaded successfully
- Support for Softdevice S140 7.0.1
- Support for Errata 249 on revision 3 nrf52840 chips
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from adafruit_nrf52_bootloader.