JTAG/SWD on Quartz64 model A
#4
Here is an article I wrote about how I got it working: http://notes.zahoryzontnik.com

There are significant differences from the process described by Chris, but reading his article put me on the right track. Specifically the register addresses and values are different. One needs an openocd config file for RK3566 that I had to create (it can be copied from the article - once I've tested it more I'll submit it as a contribution to openocd) . It was created based on scanning the rom table. And one needs to disable sleep/idle states for the cores. This is also described there.

The two pins labelled ARM_JTAG are indeed JTAG and SWD. There is a procedure to switch them between JTAG and SWD. OpenOCD runs that procedure automatically when SWD as protocol is specified.

In general debugging via SWD works fine. Hardware breakpoints and watch points work, single stepping through the kernel (including irq handlers) works, memory copy works. Mind I've used jlink hardware only as my debug probe and instead of "break" use "hbreak" when kernel debugging.
  Reply


Messages In This Thread
JTAG/SWD on Quartz64 model A - by capablegh - 07-30-2021, 02:33 PM
RE: JTAG/SWD on Quartz64 model A - by capablegh - 08-04-2021, 06:05 AM
RE: JTAG/SWD on Quartz64 model A - by capablegh - 08-12-2021, 02:29 PM
RE: JTAG/SWD on Quartz64 model A - by Randomuser - 08-15-2022, 06:19 PM
RE: JTAG/SWD on Quartz64 model A - by fatalfeel - 10-03-2022, 03:16 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Quartz64 seeming died Darin755 0 177 01-19-2024, 07:29 PM
Last Post: Darin755
  Quartz64 model a neither booting nor resetting without pressing reset button aleix 2 1,224 08-24-2023, 04:52 AM
Last Post: aleix
  Thoughts on repairs for a Quartz64-B beepy 1 829 08-02-2023, 05:02 PM
Last Post: beepy
Question Li-Pol QUARTZ64 Model-B vs Model-A polrus 1 803 07-13-2023, 10:36 PM
Last Post: tllim
  can't get quartz64-A working jyoung 14 4,650 04-29-2023, 04:41 PM
Last Post: diederik
  Trustzone support for QUARTZ64 capablegh 13 7,232 04-28-2023, 01:58 AM
Last Post: NCLI
  Booting Quartz64 Model B Jojo120120 14 7,819 01-23-2023, 03:31 AM
Last Post: balbes150
  quartz64 model b 2x20 max power proj964 1 1,586 10-23-2022, 05:32 AM
Last Post: CounterPillow
  quartz64 model b 2x20 pin header proj964 1 1,538 10-23-2022, 05:21 AM
Last Post: CounterPillow
Tongue Trying to get Quartz model A working fasani 2 2,270 09-17-2022, 06:43 AM
Last Post: balbes150

Forum Jump:


Users browsing this thread: 1 Guest(s)