[openocd:tickets] Re: #378 SWD support for RISCV artchitecture

2024-01-28 Thread Marek Vrbka
I did some investigation on the CH32V series. It seems that they have their own custom protocol completely unrelated to ARM SWD. I have seen it referred to as RVSWD. To complicate things even further, their CH32V003 uses a different single transport protocol. --- **[tickets:#378] SWD support

[openocd:tickets] Re: #378 SWD support for RISCV artchitecture

2024-01-28 Thread Tomas Vanek
> I have came across custom SOCs where there is a single ARM Coresight DAP and > a riscv processor connected on APB bus on a particular APB port. > Example SOC: https://www.nordicsemi.com/Products/nRF54H20 - This is with > combination of ARM and RISCV core on an SOC. Ashi, does the first statem

[openocd:tickets] Re: #378 SWD support for RISCV artchitecture

2024-01-16 Thread Ashi Gupta
Example SOC: https://www.nordicsemi.com/Products/nRF54H20 - This is with combination of ARM and RISCV core on an SOC. CH32V seems to be a RISCV based SOC only. For SOC having combination of ARM and RISCV or any other peripheral connected on APB bus, ARM being a primary debug chip is accessible

[openocd:tickets] Re: #378 SWD support for RISCV artchitecture

2024-01-10 Thread Tommy Murphy
> I have came across custom SOCs where there is a single ARM Coresight DAP and > a riscv processor connected on APB bus on a particular APB port. Do you happen to mean the WCH CH32VXXX MCUs by any chance? If so then maybe this is of relevance? * https://github.com/fxsheep/openocd_wchlink-rv/iss

[openocd:tickets] Re: #378 SWD support for RISCV artchitecture

2024-01-10 Thread Ashi Gupta
Though this is a off-topic. I have got some queries hence posting I have came across custom SOCs where there is a single ARM Coresight DAP and a riscv processor connected on APB bus on a particular APB port. ARM debug can be achieved using openocd, any idea on how riscv debug can be achieved he

[openocd:tickets] Re: #378 SWD support for RISCV artchitecture

2023-03-09 Thread Cinly Ooi
Interesting development. I was looking at the pin out on the tweet to see whether it use JTAG or SWD. All I can find is USB, so no guidance there. Either signals can be routed through USB I believe. I know JTAG can, but my limited knowledge means I am not sure about SWD. From: Antonio Borneo

[openocd:tickets] Re: #378 SWD support for RISCV artchitecture

2023-01-02 Thread Cinly Ooi
HI Antonio, With reference to your second point, "[A] single JTAG/SWD TAP based on ARM CoreSight DAP. One of the AP (access ports) could be a JTAG-AP where the debug of the RISC-V core gets accessible. (today OpenOCD does not support JTAG-AP yet)" This is an interesting idea, and certainly pos

[openocd:tickets] Re: #378 SWD support for RISCV artchitecture

2023-01-02 Thread Cinly Ooi
ickets] 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 t

RE: [openocd:tickets] Re: #378 SWD support for RISCV artchitecture

2023-01-02 Thread Ooi, Cinly
ickets] 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 t

[openocd:tickets] Re: #378 SWD support for RISCV artchitecture

2022-12-29 Thread Tommy Murphy
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] SWD support for RISCV artchite

[openocd:tickets] Re: #378 SWD support for RISCV artchitecture

2022-12-29 Thread Tommy Murphy
That seems to be about using ESP32 as an SWD debug interface. Not about debugging ESP32 using SWD. And nothing there is obviously about the RISC-V based ESP32-C3. As such, I don't see its relevance in this thread? --- ** [tickets:#378] SWD support for RISCV artchitecture** **Status:** new **Mil

[openocd:tickets] Re: #378 SWD support for RISCV artchitecture

2022-12-28 Thread Tommy Murphy
You mean ESP32-C3? I don't think so. As far as I can see it only has JTAG. https://www.espressif.com/en/products/socs/esp32-c3 --- ** [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 As