tech-embed archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

NetBSD Project JTAG kit and Guide



Hi,

Please excuse the long and rambling email but I would just like to run
this pass you.

I have just got Openocd running with a Tin Can Tools Flyswatter2
connecting to an Olimex SAM9-L9260 board after a bit of a struggle.
Having the project available would have helped me greatly! I found it
while trying to find what JTAG hardware support is available in NetBSD.

I was wondering whether my experience would help anyone if written up.

The back story is that I have built a NetBSD kernel for a piece of
custom hardware. (Zynq-7000 with ARM Cortex-A9). My development setup
uses the Flyswatter running under Linux but I wanted to move across to a
NetBSD development environment.

The stated criterion are low-cost embedded system and presumably
low-cost tools.

What would you consider as low cost?

I am guessing that any proposal I might make would fail on those
criteria and also on the fact that the Olimex board is expensive and NOT
currently supported (officially) by NetBSD. However if you look on the
Olimex website, they sell a more reasonably priced SAM9 board that the
webpage states comes with Linux installed but DOES have a NetBSD image
available. The particular board I am looking at is the CS-E9302 at a
cost of 69.95 Euros.

Since the JTAG project is NOT available, I started by looking at the
NetBSD kernel code on an i386 laptop running NetBSD 10.1 and found
references to the Tigard JTAG board which uses the same FTDI FD2232C
chipset that the Flyswatter does. I have a Tigard and so I plugged that
in and looked at the kernel messages. I also tried plugging the
Flyswatter in and checking the same USB device attachment messages which
gave me the clue that I would be able to achieve my goal. The Tigard did
actually connect to the Olimex SAM9 board using Openocd but the program
promptly crashed and segfaulted! I don't want to debug the guts of the
kernel and libusb code so I just moved straight on to getting the
Flyswatter running using the same USB attachment quirk that the Tigard uses.

Any writeup that I would do would mention this and run through building
a modified NetBSD kernel.

I could continue but this email is long enough already!!
(I have a TS7250 and a TS7200 which IS a supported platform but no JTAG
box header!!)

So, drop the idea or is this of interest?

Best Regards,

David


Home | Main Index | Thread Index | Old Index