Hi Peter, On Fri, 7 Dec 2018 at 17:57, Peter Griffin peter.griffin@linaro.org wrote:
Hi Jerome,
Are you aware of the Lauterbach T32 configs here https://github.com/96boards-hikey/tools-images-hikey960/blob/master/trace32-... ?
I am. I have copied a few settings from these files, to no avail. I must say I don't know much about JTAG so I'm prodding in the dark so to speak. At some point OCD would stop at "Info: clock ..." but now I have an "all ones" error. I will double check the continuity of the solder joints on my JTAG header before anything else.
Any idea what the following means? (section 2.7.1 JTAG Debugging in [1])
" Step 1 Power on and reset the Hi3660. Step 2 Set JTAG_SEL1 and JTAG_SEL0 to 2'b01 to multiplex the CPU JTAG function on the JTAG pin. Step 3 Set JTAG_SEL1 and JTAG_SEL0 to 2'b00 to enter the register selection mode. Configure the system control register JTAGSYS_SW_SEL [7:0] to switch to the selected debugging interface for debugging. Step 4 Connect the corresponding simulator and open the corresponding debugging software to start debugging. "
Could it be that JTAG is not connected to the CPU by default?
[1] https://github.com/96boards/documentation/blob/master/consumer/hikey/hikey96...
Thanks,