Apologies. Sending again from registered email-id.

Thanks,
Agnelo



________________________________
From: Agnelo Dcosta <[email protected]>
Sent: Thursday, October 23, 2025 7:22 AM
To: Antonio Borneo <[email protected]>; Tony Ferranti OS 
<[email protected]>
Cc: OpenOCD <[email protected]>; Agnelo Dcosta (QUIC) 
<[email protected]>; Ashi Gupta <[email protected]>; Shaik Imran 
(Temp) <[email protected]>; Daniel Goehring OS 
<[email protected]>
Subject: Re: OpenOCD support for debug of non-ARM subsystems accessible via ARM 
ADI DAP

Hi @Antonio Borneo<mailto:[email protected]>,

Qualcomm's implementation of RISC-V does not include the optional DTM (Debug 
Transport Module).
The current OpenOCD RISC-V code considers that the DTM is always 
implemented/present.

IMO, we need to add flexibility to support both these RISC-V configurations - 
with DTM and without DTM.
To facilitate this, I suggest that we add another option  -dtm <true/false>  to 
the RISC-V configuration options. Not specifying this option should imply that 
the DTM is present.
Can we have your thoughts on this please?

Thanks,
Agnelo
________________________________
From: Antonio Borneo <[email protected]>
Sent: Sunday, October 5, 2025 3:23 PM
To: Tony Ferranti OS <[email protected]>
Cc: OpenOCD <[email protected]>; Agnelo Dcosta (QUIC) 
<[email protected]>; Ashi Gupta <[email protected]>; Daniel 
Goehring OS <[email protected]>
Subject: Re: OpenOCD support for debug of non-ARM subsystems accessible via ARM 
ADI DAP

WARNING: This email originated from outside of Qualcomm. Please be wary of any 
links or attachments, and do not enable macros.

On Fri, Oct 3, 2025 at 1:19 PM Tony Ferranti OS
<[email protected]> wrote:
>
> > You also mention ADIv5/v6 DAP.
> > There is the ADIv6 feature of "nested APs" that is not supported yet
> > in OpenOCD (I should work on it in the next months).
> > It's possible to have in ADIv6 one AP that is mapped in the memory
> > space of a parent MEM-AP. This nesting can be multiple, with an AP
> > behind another AP that is behind another AP ...
> >If this is your case, keep in mind that it's not addressed yet.
>
> Antonio,
> Please hold off on implementing OpenOCD "nested AP" support.  Daniel Goehring 
> <[email protected]> from Ampere Computing has been working on 
> an implementation.  It is undergoing testing but appears to be working with 
> ADIv6 on Armv7/Armv8/Armv9 PEs and nested AHB, AXI, and APB Access Ports.  He 
> should be able to submit a patch for review in the coming weeks that matches 
> the capabilities of other mainstream debuggers.

Cool.
I'm eager to have a look at this work

Thanks
Antonio


Reply via email to