Comments (8)
Since we may need an option for force OTA boot mode instead of the more common SERIAL mode, but we don't have a free pin dedicate for this, I propose to use the F.RST pad which is located on a test point on the bottom of the PCB. It won't happen commonly anyway.
We can still keep factory reset behaviour like normal (when only FRST is asserted), but asserted both DFU and FRST pins at the same time will enter OTA bootloader mode, which at least keeps the possibility even if it's more trouble than entering SERIAL bootloader mode.
from adafruit_nrf52_arduino.
What is the factory reset pin though. I don't see it in the schematics .
from adafruit_nrf52_arduino.
See P0.22 here: #1
It doesn't have a 0.1" pin, it's only available as a test pad on the bottom of the PCB.
from adafruit_nrf52_arduino.
Ah I see P0.22. Forget about factory reset, will it erase the memory application as well application data right ?
from adafruit_nrf52_arduino.
Btw, I forgot about the factory reset. Let's review the memory flash a bit.
- Our bootloader is larger starting from 0x78000 with 32KB + 8KB bootloader data ~ 40KB.
- Softdevice + MBR currently is 104 + 4 = 108
- Application + data is 512 - (40+104+4) = 364 KB
How much did we partition the application data, I would suggest 32KB, that leave 332 KB for dual bank --> an image is limited at 332/2 = 166KB
PS: SD 3.0.0 is larger with 120KB
from adafruit_nrf52_arduino.
I think 166KB is fine for a SD based image with OTA update support. That's still WAY more than we have for Bluefruit on the nRF51.
from adafruit_nrf52_arduino.
ok let give 32KB for user than. Factoryreset will cause bootloader to erase
- application code region
- applicaticon data region
Let's wait for this, we will dot it later when having something solid.
from adafruit_nrf52_arduino.
move discussion to bootloader repo adafruit/Adafruit_nRF52_Arduino_Bootloader#1
from adafruit_nrf52_arduino.
Related Issues (20)
- Adafruit nRF52840 Feather: Please give a tutorial on hold combinations and whitespace characters HOT 1
- Building with non-release version leads to platformio assertion error HOT 2
- Bluefruit.Central.connect Connection Timeout? HOT 3
- Where is Bluefruit_FileIO.h ? HOT 1
- I2C slave library : Restart sequence when a register address writes is done before reading
- Maximal number of characteristics or attributes per BLE service? HOT 1
- Eddystone-TLM data HOT 1
- PDM library drops microphone samples HOT 2
- Beacon example fails to compile with BLE_GAP_ADV_TYPE_ADV_NONCONN_IND uncommented HOT 4
- CircuitPlayground.readCap() not working with Bluefruit.begin() HOT 4
- [v1.4.0] Adafruit Feather nRF52840 Express: Cannot link to Serial HOT 5
- Softwareserial Lib Is Reading Incorrect Values HOT 2
- Bluefruit.Security.setIOCaps(false, true, false); I would like to inquire regarding this. HOT 1
- The pairing process via button press does not work in the `pairing_passkey` example.
- BLE UART broken on Android 14+ OneUI 6+ HOT 3
- Support for Nice!Nano V2 Nordic nRF52840 HOT 2
- FreeRTOS version for nRF52840 is oudate
- Serial1.read() does not work. UART can only write, not read.
- Can't verify / upload a sketch - RuntimeError: Click will abort further execution because Python was configured to use ASCII
- With v.1.6.1 there is a delay while connecting to USB HOT 2
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_arduino.