-
Notifications
You must be signed in to change notification settings - Fork 498
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement Hard Coded Bootloader Options #2
Comments
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. |
What is the factory reset pin though. I don't see it in the schematics |
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. |
Ah I see P0.22. Forget about factory reset, will it erase the memory application as well application data right ? |
Btw, I forgot about the factory reset. Let's review the memory flash a bit.
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 |
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. |
ok let give 32KB for user than. Factoryreset will cause bootloader to erase
Let's wait for this, we will dot it later when having something solid. |
move discussion to bootloader repo adafruit/Adafruit_nRF52_Arduino_Bootloader#1 |
The silk on the FRST pin will be updated to indicate that the pad is dual usage, but this will be rarely used (Boot into OTA or factory reset), so I'm OK with only BOOTSERIAL being available on a 0.1" pin.
The text was updated successfully, but these errors were encountered: