Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
hamradio:mmdvm:pog [2019/08/14 02:17] philpemhamradio:mmdvm:pog [2019/08/14 02:31] – [In-system re-flash] philpem
Line 30: Line 30:
  
 It should now be possible to upgrade the board's firmware using the tools included with Pi-Star. It should now be possible to upgrade the board's firmware using the tools included with Pi-Star.
 +
 +To flash manually:
 +
 +<code>
 +stm32flash -v -w firmware.bin -g 0x0 -R -i 20,-21,21:-20,21 /dev/ttyAMA0
 +
 +# -v: verify writes
 +# -w: write flash from file
 +# -g: start execution at specified address (after loading)
 +# -R: reset device at exit
 +# -i: GPIO sequence --
 +#       enter with GPIO20 high and toggle GPIO21 L->H
 +#       exit with GPIO20 low and GPIO21 H
 +# /dev/ttyAMA0: Pi serial port
 +#
 +# default baud rate is 57600
 +</code>
Find me on Mastodon
  • Last modified: 2019/10/20 20:21
  • by philpem