Hi, [Working on the assumption that SWD is Serial Wire Debugging, not Single Wire Debugging. There is a reference for the latter when I did a goggle search]
Second Tommy's observation that there is no SWD access to RISC-V. I do not remember recalling any mention of SWD in the RISC-V Debug Specification. Also, pardon my ignorance, I do not remember ARM making it available as international standard or take any steps to license it to other device manufacturers not using ARM's ISA. If I am correct, then RISC-V-based device will not be able to use it. I am saying this because this can be the second reason why SWD is not supported for RISC-V device in OpenOCD, i.e. not possible to get any RISC-V hard or soft IP that uses SWD. Happy New Year. Cinly From: Tommy Murphy <tm1...@users.sourceforge.net> Sent: Friday, December 30, 2022 2:06 AM To: openocd-devel@lists.sourceforge.net Subject: [openocd:tickets] Re: #378 SWD support for RISCV artchitecture FWIW, Some Microchip FPGAs/SoC FPGAs can support hard and/or soft IP Cortex-M and RISC-V CPUs. But my recollection (from working for Microchip in the past) is that neither supported SWD. Certainly there is no SWD debug access to the RISC-V. ________________________________ [tickets:#378]<https://sourceforge.net/p/openocd/tickets/378/> SWD support for RISCV artchitecture Status: new Milestone: 0.10.0 Labels: openocd Created: Wed Dec 28, 2022 07:00 AM UTC by Ashi Gupta Last Updated: Thu Dec 29, 2022 05:20 PM UTC Owner: nobody Hi, I want to know if SWD debug support has been added for RISCV architecture in openocd ? So far i know that JTAG support is only available. If not any plans in doing so ? ________________________________ Sent from sourceforge.net because openocd-devel@lists.sourceforge.net<mailto:openocd-devel@lists.sourceforge.net> is subscribed to https://sourceforge.net/p/openocd/tickets/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/openocd/admin/tickets/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.