kopia lustrzana https://github.com/mikaelnousiainen/RS41ng
Improve instructions about erasing the firmware
Using the larger number of sectors should be attempted firstpull/37/head
rodzic
873e281372
commit
57b35a62ac
|
@ -224,9 +224,9 @@ ______________________| |______________________
|
|||
* GND -> Pin 1 (GND)
|
||||
* 3.3V -> Pin 5 (MCU switch 3.3V)
|
||||
3. Unlock the flash protection - needed only before reprogramming the sonde for the first time
|
||||
* `openocd -f ./openocd_rs41.cfg -c "init; halt; flash protect 0 0 31 off; exit"`
|
||||
* **NOTE:** If the above command fails with an error about erasing sectors, try replacing the number `31` with `63`:
|
||||
* `openocd -f ./openocd_rs41.cfg -c "init; halt; flash protect 0 0 63 off; exit"`
|
||||
* `openocd -f ./openocd_rs41.cfg -c "init; halt; flash protect 0 0 63 off; exit"`
|
||||
* **NOTE:** If the above command fails with an error about erasing sectors, try replacing the number `63` with `31`:
|
||||
* `openocd -f ./openocd_rs41.cfg -c "init; halt; flash protect 0 0 31 off; exit"`
|
||||
4. Flash the firmware
|
||||
* `openocd -f ./openocd_rs41.cfg -c "program build/src/RS41ng.elf verify reset exit"`
|
||||
5. Power cycle the sonde to start running the new firmware
|
||||
|
|
Ładowanie…
Reference in New Issue