diff --git a/examples/mb525/fancyblink/Makefile b/examples/mb525/fancyblink/Makefile index 57a10333..ae68552c 100644 --- a/examples/mb525/fancyblink/Makefile +++ b/examples/mb525/fancyblink/Makefile @@ -88,7 +88,7 @@ flash: images -f $(OPENOCD_FLASHER) \ -f $(OPENOCD_BOARD) \ -c "init" -c "reset halt" \ - -c "flash write_image erase $(BINARY).bin 0x08000000" \ + -c "flash write_image erase $(BINARY).hex" \ -c "reset" \ -c "shutdown" $(NULL) diff --git a/examples/mb525/pwmleds/Makefile b/examples/mb525/pwmleds/Makefile index 0505f137..ee3e8eb2 100644 --- a/examples/mb525/pwmleds/Makefile +++ b/examples/mb525/pwmleds/Makefile @@ -88,7 +88,7 @@ flash: images -f $(OPENOCD_FLASHER) \ -f $(OPENOCD_BOARD) \ -c "init" -c "reset halt" \ - -c "flash write_image erase $(BINARY).bin 0x08000000" \ + -c "flash write_image erase $(BINARY).hex" \ -c "reset" \ -c "shutdown" $(NULL) diff --git a/examples/mb525/pwmleds/README b/examples/mb525/pwmleds/README index 08cc36ba..c15b562d 100644 --- a/examples/mb525/pwmleds/README +++ b/examples/mb525/pwmleds/README @@ -39,7 +39,7 @@ Or you can do the same manually via: $ openocd -f interface/jlink.cfg -f board/olimex_stm32_h103.cfg $ telnet localhost 4444 > reset halt - > flash write_image erase pwmleds.bin + > flash write_image erase pwmleds.hex > reset Replace the "jlink.cfg" with whatever JTAG device you are using, and/or diff --git a/examples/stm32-h103/fancyblink/Makefile b/examples/stm32-h103/fancyblink/Makefile index 0d19fda0..06d821e5 100644 --- a/examples/stm32-h103/fancyblink/Makefile +++ b/examples/stm32-h103/fancyblink/Makefile @@ -87,7 +87,7 @@ flash: images -f $(OPENOCD_FLASHER) \ -f $(OPENOCD_BOARD) \ -c "init" -c "reset halt" \ - -c "flash write_image erase $(BINARY).bin 0x08000000" \ + -c "flash write_image erase $(BINARY).hex" \ -c "reset" \ -c "shutdown" $(NULL) diff --git a/examples/stm32-h103/miniblink/Makefile b/examples/stm32-h103/miniblink/Makefile index db85a8ca..fa729ae9 100644 --- a/examples/stm32-h103/miniblink/Makefile +++ b/examples/stm32-h103/miniblink/Makefile @@ -87,7 +87,7 @@ flash: images -f $(OPENOCD_FLASHER) \ -f $(OPENOCD_BOARD) \ -c "init" -c "reset halt" \ - -c "flash write_image erase $(BINARY).bin 0x08000000" \ + -c "flash write_image erase $(BINARY).hex" \ -c "reset" \ -c "shutdown" $(NULL) diff --git a/examples/stm32-h103/usart/Makefile b/examples/stm32-h103/usart/Makefile index 432446d7..193be897 100644 --- a/examples/stm32-h103/usart/Makefile +++ b/examples/stm32-h103/usart/Makefile @@ -87,7 +87,7 @@ flash: images -f $(OPENOCD_FLASHER) \ -f $(OPENOCD_BOARD) \ -c "init" -c "reset halt" \ - -c "flash write_image erase $(BINARY).bin 0x08000000" \ + -c "flash write_image erase $(BINARY).hex" \ -c "reset" \ -c "shutdown" $(NULL)