Comments (4)
Progress towards getting the bootloader running on the nRF52840dk (PCA10056)
Useful guides:
-
Turn off the mass storage device jlink
-
Build the bootloader
git clone https://github.com/adafruit/Adafruit_nRF52_Bootloader cd Adafruit_nRF52_Bootloader git submodule update --init --recursive make BOARD=pca10056 clean make BOARD=pca10056 sd make BOARD=pca10056 flash
-
Compile the kernel with flash address starting at
0x26000
. -
Convert a bin file to a DFU package
adafruit-nrfutil dfu genpkg --sd-req 0xFFFE --dev-type 0x0052 --application target/thumbv7em-none-eabi/release/nrf52840dk.bin dfu-package.zip
-
Load the bin file
adafruit-nrfutil --verbose dfu serial --package dfu-package.zip -p /dev/cu.usbmodem14201 -b 115200 --singlebank --touch 1200
Notes
- The bootloader appears to be at the top of the flash address range.
- This right now requires the softdevice to be included. If we only care about supporting the DFU version I'm not sure that is required.
- I had to remove the UICR erase step in the shared nrf boot code so that it does not clear the address of where the bootloader is. otherwise the softdevice does not jump to the bootloader.
from tock-bootloader.
I think with a little hacking it would be possible to make the bootloader DFU over serial only, and for it to not require a softdevice. And, the bootloader is only given 0xA000
bytes so it will fit in our standard 0x10000
space in flash.
from tock-bootloader.
Almost done in branch usb-cdc.
from tock-bootloader.
Done!
from tock-bootloader.
Related Issues (12)
- Instructions HOT 1
- Help Wanted: Make kernel location variable HOT 1
- tock-bootloader requires a different rust nightly than tock HOT 1
- tools/semver.sh is missing
- Bootloader cannot update itself
- no port for risc-v HOT 4
- nrf52dk bootloader HOT 2
- Did mcuboot considered as base or reference? HOT 4
- Tracking Issue: nrf5x support HOT 1
- Tracking Issue: ek-tm4c129xl support HOT 1
- Tracking Issue: launchxl support HOT 1
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 tock-bootloader.