update JLink files
This commit is contained in:
parent
7349c16268
commit
fe3cd95e58
@ -20,6 +20,8 @@ Purpose : J-Link target setup file for VORAGO VA416xx
|
|||||||
*/
|
*/
|
||||||
int AfterResetTarget (void) {
|
int AfterResetTarget (void) {
|
||||||
JLINK_SYS_Report("AfterResetTarget()");
|
JLINK_SYS_Report("AfterResetTarget()");
|
||||||
|
JLINK_MEM_WriteU32(0x400210C0, 0x1ACCE551); // WDOGLOCK = 0x1ACCE551
|
||||||
|
JLINK_MEM_WriteU32(0x40021008, 0x0); // WDOGCONTROL = 0x0 (diable)
|
||||||
return JLINK_MEM_WriteU32(0x40010010, 0x1); // ROM_PROT = 0x1
|
return JLINK_MEM_WriteU32(0x40010010, 0x1); // ROM_PROT = 0x1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
target remote localhost:2331
|
target remote localhost:2331
|
||||||
|
|
||||||
|
monitor halt
|
||||||
# Reset is problematic on RevA, okay for RevB
|
# Reset is problematic on RevA, okay for RevB
|
||||||
monitor reset
|
monitor reset
|
||||||
|
|
||||||
@ -7,5 +8,3 @@ monitor reset
|
|||||||
break main
|
break main
|
||||||
|
|
||||||
load
|
load
|
||||||
|
|
||||||
continue
|
|
||||||
|
Loading…
Reference in New Issue
Block a user