Hi everyone, I'm still picking at the mazda cmu and I've already been able to connect to jtag, but there's a problem. After initializing the memory, the chip stops responding to jtag commands after a while, and openocd resets the connection accordingly. If I do everything quickly and try to download the compiled project from eclipse, I get a bunch of:
Error: timeout waiting for DSCR bit change Error: Error waiting for InstrCompl=1 Error: Error waiting for cortex_a_exec_opcode
and the subsequent loss of communication. I tried initializing the APB-AP registers with the command imx6d.dap apcsw 1 0 and disabling wdog, but it didn't help. I have attached archive with my configs and log.
Hello,
I suggest you check directly with manufacturer.
If you are not able to debug the device, may have secure JTAG debug enabled.
Best regards.
Hello. Visteon is not particularly willing to share information, but Mazda is... It does not introduce reverse engineering of its devices at all, as explicitly stated in the license agreement. secure jtag is most likely not enabled because I can initialize the memory and perform operations with it. it seems to me that the problem is in openocd or in the second core, which is not affected by the halt state.