IRPost=9;DRPost=2;IRLenDevice=4");JLINK_CORESIGHT_WriteDP(JLINK_CORESIGHT_DP_REG_CTRL_STAT,...
APBaseAddr Base address of AP that will be written to DAP-DP SELECT register. RegAddr Specifies the address/offset of the AP register to read. For example for CoreSight SoC-400 and earlier, ARM specifies (amongst others) the following AHB-AP registers: 0x00 CSW 0x04 TAR 0x08 --- 0x...
* This is what this script does.*/voidInitTarget(void) {intv;intBitPos;intSpeed;intResetStatRegAddr;intResetCtrlregAddr;intResetBitPosition; Report("NXP LPC4350 (Cortex-M4+M0 core) J-Link script"); Speed=JTAG_Speed; JTAG_Speed=100; JTAG_Reset();//Perform TAP reset and J-Link JTAG au...