Skip to content

Commit 1cf0ce4

Browse files
committed
Added cfloader flashing
1 parent 2314cb5 commit 1cf0ce4

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,20 @@ $ idf.py monitor
2424

2525
### Flash using the builder image
2626

27+
To flash the ESP using a JTAG, use:
28+
2729
docker run --rm -it -v $PWD:/module/ --device /dev/ttyUSB0 --privileged -P bitcraze/builder /bin/bash -c "openocd -f interface/ftdi/olimex-arm-usb-tiny-h.cfg -f board/esp-wroom-32.cfg -c 'adapter_khz 20000' -c 'program_esp build/bootloader/bootloader.bin 0x1000 verify' -c 'program_esp build/aideck_esp.bin 0x10000 verify reset exit'"
2830

31+
### Flash using the cfloader
32+
33+
A binary can be flashed to the ESP via a Crazyradio using the [cfloader](https://www.bitcraze.io/documentation/repository/crazyflie-clients-python/master/functional-areas/cfloader/)
34+
35+
Note: replace the radio address with the appropriate value for your Crazyflie
36+
37+
```
38+
cfloader flash build/aideck_esp.bin deck-bcAI:esp-fw -w radio://0/30/2M
39+
```
40+
2941
### Build with the [toolbelt](https://github.com/bitcraze/toolbelt)
3042

3143
When using the [toolbelt](https://github.com/bitcraze/toolbelt) the required toolchain is running in a docker container

0 commit comments

Comments
 (0)