update JLink files

This commit is contained in:
2024-06-22 18:37:51 +02:00
parent 7349c16268
commit fe3cd95e58
2 changed files with 3 additions and 2 deletions

View File

@ -20,6 +20,8 @@ Purpose : J-Link target setup file for VORAGO VA416xx
*/
int AfterResetTarget (void) {
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
}