1__constant U32 _CPUCONF_ADDR = 0x52011000;
2__constant U32 _CPUCONF_CPUWAIT_OFFSET = 0x50C;
3
4int SetupTarget(void)
5{
6 JLINK_TARGET_Halt();
7
8 // Disable CPU wait
9 JLINK_MEM_WriteU32(_CPUCONF_ADDR + _CPUCONF_CPUWAIT_OFFSET, 0);
10
11 return 0;
12}
13