Consistently use the hex file for flashing.

This commit is contained in:
Uwe Hermann 2010-03-05 23:30:26 +01:00
parent 8faf33275a
commit d8eb8ce746
6 changed files with 6 additions and 6 deletions

View File

@ -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)

View File

@ -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)

View File

@ -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

View File

@ -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)

View File

@ -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)

View File

@ -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)