minor fixes

This commit is contained in:
rebane 2016-08-18 23:04:56 +03:00
parent 4d857797ab
commit a1c1f34bc9
2 changed files with 2 additions and 5 deletions

View file

@ -24,8 +24,8 @@ clean:
rm -rf $(FILENAME_PREFIX).bin $(FILENAME_PREFIX).elf
install:
openocd -f interface/stlink-v2-1.cfg -f rtl8710.ocd -c "init" -c "reset halt" -c "load_image $(FILENAME_PREFIX).bin $(ADDRESS) bin" -c "cortex_start $(ADDRESS)"
openocd -f interface/stlink-v2-1.cfg -f rtl8710.ocd -c "init" -c "reset halt" -c "load_image $(FILENAME_PREFIX).bin $(ADDRESS) bin" -c "cortex_start $(ADDRESS)" -c "shutdown"
reset:
openocd -f interface/stlink-v2-1.cfg -f rtl8710.ocd -c "init" -c "reset halt" -c "reset run"
openocd -f interface/stlink-v2-1.cfg -f rtl8710.ocd -c "init" -c "reset halt" -c "reset run" -c "shutdown"

View file

@ -46,9 +46,6 @@ if {![using_hla]} {
cortex_m reset_config sysresetreq
}
# halt
# load_image $firmware 0x20000000 bin
proc cortex_start {address} {
reg faultmask 0x01
set vectors ""