I tried reading DAP' status, control and ID registers on iMX7D module.
The info and addresses are on p 258 of IMX7DRM manual.
E.g. : IDR addr 0x010000FC, suppose to have fixed value of 0x0001c0000
Trying by connecting to A7_0:
JLinkExe -device MCIMX7D7_A7_0 -autoconnect 1 -if JTAG -speed 4000 -JTAGConf -1,-1
mem32 0x010000FC, 1
This silently fails, with nothing printed, and no error or any trace returned.
Tried through M4:
JLinkExe -device Cortex-M4 -autoconnect 1 -if JTAG -speed 4000 -JTAGConf -1,-1 -JLinkScriptFile NXP_iMX7D_Connect_CortexM4.JLinkScript
(Or JLinkExe -device MCIMX7D5_M4 -autoconnect 1 -if JTAG -speed 4000 -JTAGConf -1,-1 )
mem32 0x010000FC, 1
Returns : Could not read memory.
What may be going on, why I cannot read these ?
The info and addresses are on p 258 of IMX7DRM manual.
E.g. : IDR addr 0x010000FC, suppose to have fixed value of 0x0001c0000
Trying by connecting to A7_0:
JLinkExe -device MCIMX7D7_A7_0 -autoconnect 1 -if JTAG -speed 4000 -JTAGConf -1,-1
mem32 0x010000FC, 1
This silently fails, with nothing printed, and no error or any trace returned.
Tried through M4:
JLinkExe -device Cortex-M4 -autoconnect 1 -if JTAG -speed 4000 -JTAGConf -1,-1 -JLinkScriptFile NXP_iMX7D_Connect_CortexM4.JLinkScript
(Or JLinkExe -device MCIMX7D5_M4 -autoconnect 1 -if JTAG -speed 4000 -JTAGConf -1,-1 )
mem32 0x010000FC, 1
Returns : Could not read memory.
What may be going on, why I cannot read these ?