Hi Peter,
On Fri, 7 Dec 2018 at 17:57, Peter Griffin <peter.griffin@linaro.org> wrote:

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?



Thanks,
-- 
Jerome


For original HiKey I made the OpenOCD config file based off the t32 files, so hopefully that will help you.

Peter.

On Fri, 7 Dec 2018 at 16:47, Jerome Forissier <jerome.forissier@linaro.org> wrote:
Hi,

Has anyone successfully used JTAG on HiKey960? I have a Bus Blaster v3c adapter and OpenOCD. No luck until now.

Cheers,
--  
Jerome

_______________________________________________
Dev mailing list
Dev@lists.96boards.org
https://lists.96boards.org/mailman/listinfo/dev