On Apr 12, 2009, at 12:13 AM, Dirk Behme wrote:

Rick Altherr wrote:
...
it looks like the following major projects are in progress:
...
- Cortex-A8 support
... has had some initial discovery but no real development.

Yes, I agree.

I'd really like to help with Cortex-A8 support. But I have to admit that I don't understand a lot of discussion in

https://lists.berlios.de/pipermail/openocd-development/2009-March/005097.html
https://lists.berlios.de/pipermail/openocd-development/2009-March/005099.html
https://lists.berlios.de/pipermail/openocd-development/2009-March/005117.html

Any proposals how to go on with Cortex-A8? And/Or who can do what? Or how I could help? Or what's the problem that there is no progress at the moment? Or ... ?


The Cortex-M3 support is very similar to Cortex-A8 up to a certain layer. The ARM debug interface is designed as a set of layers that build on each other and can do automatic discovery. The cortex-swjdp support in OpenOCD is a good start, but it assumes which AHB and APB ports are available. The first item would be to verify the cortex- swjdp portion against the documents for the CoreSight debug interface.

To really get started, I suggest familiarizing yourself with the following docs:
- ARM IHI 0031A (ARM Debug Interface v5)
- ARM IHI 0029B (CoreSight v1.0)
- ARM DDI 0316D (CoreSight DAP-Lite)
- ARM DDI 0314F (CoreSight Components TRM)
- ARM DDI 0344H (Cortex-A8 TRM, primarily chapter 12)

I believe I listed those in the right order for getting up to speed. Basically the Cortex-A8 debug registers are accessed externally via CoreSight. CoreSight is an implementation of the ARM Debug Interface v5.

The cortex-swjdp implementation in OpenOCD deals with CoreSight but makes some assumptions about which CoreSight components are available. For Cortex-A8, that will likely need to change a bit as the set of components will be different.

After cortex-swjdp is patched to handle the new components, a cortex- a8 target implementation can be started by using the cortex-swjdp layer to access the various debug registers and memory locations.

If you need any of these documents, they should be on ARM's website, or I can send them to you.

Best regards

Dirk

--
Rick Altherr
kc8...@kc8apf.net

"He said he hadn't had a byte in three days. I had a short, so I split it with him."
 -- Unsigned



Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to