will tincan "flyswatter" JTAG be upward compatible to A8?

19 views
Skip to first unread message

Robert P. J. Day

unread,
Mar 28, 2009, 12:28:16 PM3/28/09
to Beagleboard Google mailing list

i can read here:

http://elinux.org/BeagleBoardOpenOCD

that, at the moment, openocd has only "basic" support for OMAP3 but
not yet Cortex A8. i'm assuming this is true but can i assume that,
if i buy the flyswatter and beagleboard adapter kit from here:

http://tincantools.com/product.php?productid=16134&cat=0&page=1

that HW will still apply when A8 support is added to openocd? thanks.

rday
--

========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry:
Have classroom, will lecture.

http://crashcourse.ca Waterloo, Ontario, CANADA
========================================================================

Dirk Behme

unread,
Mar 29, 2009, 3:01:32 AM3/29/09
to Robert P. J. Day, beagl...@googlegroups.com
Robert,

Robert P. J. Day wrote:
>
> i can read here:
>
> http://elinux.org/BeagleBoardOpenOCD
>
> that, at the moment, openocd has only "basic" support for OMAP3 but
> not yet Cortex A8. i'm assuming this is true

Yes, it is ;)

There's actually some discussion how to add Cortex A8 support to OpenOCD

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

but unfortunately not a lot progress (?).

> but can i assume that,
> if i buy the flyswatter and beagleboard adapter kit from here:
>
> http://tincantools.com/product.php?productid=16134&cat=0&page=1
>
> that HW will still apply when A8 support is added to openocd? thanks.

I'm not sure I got your question right. You want to know if Flyswatter
will still work with OpenOCD & Beagle when OpenOCD supports Cortex A8?

Note that Flyswatter is HW only, while OpenOCD is SW (and Cortex A8
support is SW, too). Having Cortex A8 support (i.e. OpenOCD knows how
to deal with Cortex A8 JTAG/debug registers etc.) in OpenOCD is the
*requirement* for (GDB) debugging via Flyswatter.

That is, Cortex A8 support in OpenOCD is *necessary* to use Flyswatter
(for GDB debugging). Thus, the answer to your question (if I got it
right) is: Yes.

Dirk

Btw.: If somebody likes/is able to help with adding Cortex A8 support
to OpenOCD, this would be greatly appreciated!


Robert P. J. Day

unread,
Mar 29, 2009, 9:15:23 AM3/29/09
to Dirk Behme, beagl...@googlegroups.com
On Sun, 29 Mar 2009, Dirk Behme wrote:

> I'm not sure I got your question right. You want to know if
> Flyswatter will still work with OpenOCD & Beagle when OpenOCD
> supports Cortex A8?
>
> Note that Flyswatter is HW only, while OpenOCD is SW (and Cortex A8
> support is SW, too). Having Cortex A8 support (i.e. OpenOCD knows
> how to deal with Cortex A8 JTAG/debug registers etc.) in OpenOCD is
> the *requirement* for (GDB) debugging via Flyswatter.
>
> That is, Cortex A8 support in OpenOCD is *necessary* to use
> Flyswatter (for GDB debugging). Thus, the answer to your question
> (if I got it right) is: Yes.

i realized the difference between the SW and HW aspects of the
above, i just wanted to verify that adding the (eventual?) openocd SW
support for cortex A8 wouldn't require some sort of HW mod.

Søren Steen Christensen

unread,
Mar 29, 2009, 10:38:28 AM3/29/09
to beagl...@googlegroups.com
> Btw.: If somebody likes/is able to help with adding Cortex A8 support
> to OpenOCD, this would be greatly appreciated!

Hi Dirk,

I might have a little time and find this topic very interesting. I would
therefore like to hear a little about what it takes to help OpenOCD forward.
I have basic knowledge of JTAG and the OMAP-emulation-system in general.
Furthermore I have access to a working CCS JTAG setup, which might show
useful as well :)

I however have absolutely no knowledge about OpenOCD and very little about
GDB...

In case you can match this with what you need to get going in anyway, please
let me know, and let's see if we can find a way forward...

Best regards
Søren


Dirk Behme

unread,
Mar 29, 2009, 10:54:34 AM3/29/09
to Søren Steen Christensen, beagl...@googlegroups.com
Søren,

Søren Steen Christensen wrote:
>> Btw.: If somebody likes/is able to help with adding Cortex A8 support
>> to OpenOCD, this would be greatly appreciated!
>
> Hi Dirk,
>
> I might have a little time and find this topic very interesting. I would
> therefore like to hear a little about what it takes to help OpenOCD forward.
> I have basic knowledge of JTAG and the OMAP-emulation-system in general.
> Furthermore I have access to a working CCS JTAG setup, which might show
> useful as well :)
>
> I however have absolutely no knowledge about OpenOCD and very little about
> GDB...

Same here ;)

General good starting point could be

http://elinux.org/BeagleBoardOpenOCD

As mentioned there, we already can access "ARM JTAG device" and now
have to 'teach' OpenOCD how to deal with Cortex A8 JTAG (registers?).

OpenOCD already supports Cortex M3. It's my understanding that we need
now something similar for Cortex A8 like

http://svn.berlios.de/svnroot/repos/openocd/trunk/src/target/cortex_m3.c

Next step would be to have look to

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


and try to understand it ;)

> In case you can match this with what you need to get going in anyway, please
> let me know, and let's see if we can find a way forward...

Have a look to above and see if you can get an idea what's needed.

Many thanks!

Dirk

Dirk Behme

unread,
Apr 13, 2009, 8:08:16 AM4/13/09
to Søren Steen Christensen, beagl...@googlegroups.com

Just fyi: At OpenOCD mailing list Rick Altherr wrote a nice intro how
to help with Cortex A8 support for OpenOCD. I tried to summarize it in

http://elinux.org/BeagleBoardOpenOCD#Cortex_A8_support

Best regards

Dirk

Rick Altherr

unread,
Apr 13, 2009, 1:41:06 PM4/13/09
to beagl...@googlegroups.com, Søren Steen Christensen

> --~--~---------~--~----~------------~-------~--~----~
> You received this message because you are subscribed to the Google
> Groups "Beagle Board" group.
> To post to this group, send email to discu...@beagleboard.org.
> To unsubscribe from this group, send email to beagleboard...@beagleboard.org
> For more options, visit this group at http://groups.google.com/group/beagleboard?hl=en
> -~----------~----~----~----~------~----~------~--~---
>


FWIW, the documents that require you to be a "registered ARM customer"
just mean you need to create an account usually. I don't believe you
need to work for any specific company or have any real agreement with
ARM.

--
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

Reply all
Reply to author
Forward
0 new messages