mirror of
https://github.com/pvvx/rtl00TstMinAmebaV35a.git
synced 2024-11-21 17:24:16 +00:00
update
This commit is contained in:
parent
ee4c0adaa1
commit
f3717ca7ce
1 changed files with 5 additions and 2 deletions
|
@ -111,14 +111,17 @@ reset:
|
|||
runram:
|
||||
@start $(JLINK_PATH)$(JLINK_GDB) -device Cortex-M3 -if SWD -ir -endian little -speed $(FLASHER_SPEED)
|
||||
@$(GDB) -x flasher/gdb_run_ram.jlink
|
||||
@taskkill.exe /F /IM $(JLINK_GDB)
|
||||
@taskkill.exe -F -IM $(JLINK_GDB)
|
||||
|
||||
test:
|
||||
@$(OPENOCD) -f interface/$(FLASHER).cfg -c "adapter_khz $(FLASHER_SPEED)" -f $(FLASHER_PATH)rtl8710.ocd -f $(FLASHER_PATH)cortex.ocd -c "init" -c "reset halt" -c "load_image $(TST_IMAGE) $(LD_ADDRESS) bin" -c "cortex_bootstrap $(ST_ADDRESS)" -c "shutdown"
|
||||
|
||||
readfullflash:
|
||||
@rm -f $(BIN_DIR)/fullflash.bin
|
||||
@$(OPENOCD) -f interface/$(FLASHER).cfg -c "adapter_khz $(FLASHER_SPEED)" -f $(FLASHER_PATH)rtl8710.ocd -f $(FLASHER_PATH)cortex.ocd -c "init" -c "reset halt" -c "rtl8710_flash_read_id" -c "rtl8710_flash_read $(BIN_DIR)/fullflash.bin 0 1048576" -c "reset run" -c "shutdown"
|
||||
@start $(JLINK_PATH)$(JLINK_GDB) -device Cortex-M3 -if SWD -ir -endian little -speed $(FLASHER_SPEED)
|
||||
@$(GDB) -x flasher/gdb_rdflash.jlink
|
||||
@taskkill.exe -F -IM $(JLINK_GDB)
|
||||
# @$(OPENOCD) -f interface/$(FLASHER).cfg -c "adapter_khz $(FLASHER_SPEED)" -f $(FLASHER_PATH)rtl8710.ocd -f $(FLASHER_PATH)cortex.ocd -c "init" -c "reset halt" -c "rtl8710_flash_read_id" -c "rtl8710_flash_read $(BIN_DIR)/fullflash.bin 0 1048576" -c "reset run" -c "shutdown"
|
||||
if [ -s $(BIN_DIR)/fullflash.bin ]; then echo FullFlash = $(BIN_DIR)/fullflash.bin; fi
|
||||
|
||||
$(NMAPFILE): $(ELFFILE)
|
||||
|
|
Loading…
Reference in a new issue