File tree Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change
1
+ # mbed-mcuboot-demo
2
+ Demo of mcuboot with Mbed
3
+
4
+ Initialize the mcuboot submodule:
5
+ ` git submodule init && git submodule update `
6
+
7
+ Pull the most recent mcuboot mbed port:
8
+ ` cd mcuboot && git checkout mbed-port && git pull `
9
+
10
+ Build the mbed program:
11
+ ```
12
+ mbed target NRF52840_DK
13
+ mbed toolchain GCC_ARM
14
+ mbed compile
15
+ ```
16
+
17
+ Flash bootloader application to the NRF52840_DK.
18
+
19
+ Then flash the included ` signed-usb.hex ` to the NRF52840_DK.
20
+
21
+ This enables drag-and-drop programming of the target over USB MSD.
22
+
23
+ Plug the NRF52840_DK's target USB connector into your laptop. It should show up as a 2MB flash drive.
24
+
25
+ Copy the ` signed.bin ` binary over to the flash drive. You can watch serial output for progress of flashing.
26
+
27
+ After a while the target should disconnect and start flashing itself... the on-board LED3 should start to blink when done.
You can’t perform that action at this time.
0 commit comments