Hi,
you can force OpenOCD to use a specific DAP AP. This avoids the autodetection 
that only searches for  AHB.
Add "-ap-num number" in the config file to the line "target configure ...", 
where number is the DAP AP number of your APB (not reported in your attachment, 
but probably it is AP# 0).
You can find further info here
http://openocd.org/doc/html/CPU-Configuration.html#index-0024target005fname-configure
or search for "CFG_AP_NUM" in OpenOCD source code.


---

** [tickets:#194] Accessing CORTEX-M0+ via APB**

**Status:** new
**Milestone:** 0.9.0
**Created:** Fri Jul 13, 2018 05:25 AM UTC by SANDEEP BABU
**Last Updated:** Fri Jul 13, 2018 05:25 AM UTC
**Owner:** nobody
**Attachments:**

- 
[2018-07-09.png](https://sourceforge.net/p/openocd/tickets/194/attachment/2018-07-09.png)
 (7.7 kB; image/png)



Hi,

We are using custom SoC design where the CORTEX M0+ cores are connected to the 
DAPLITE via APB2AHB Bridge. We are able to access ROM tables via APB but we are 
unable to access M0+ via APB as the JTAG debuggers (we have an Olimex 
ARM-USB-OCD-H) by default search for M0+ in AHB bus only. Kindly, advise any 
technique or methods to connect to M0+ core via APB in the setup mentioned. The 
JTAG architecture diagram is attached.



Regards
Sandeep Babu
Ignitarium Technologies Pvt Ltd.



---

Sent from sourceforge.net because 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.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
OpenOCD-devel mailing list
OpenOCD-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to