[chbot] Atmel Programmers

Charles Manning cdhmanning at gmail.com
Mon Oct 24 23:10:35 BST 2011


On Sat, Oct 22, 2011 at 12:00 AM, Volker Kuhlmann
<list0570 at paradise.net.nz> wrote:
> Hi Charles,
>
> thanks for your input, much appreciated! I trust your experience, but
> the speeds don't quite make sense to me.
>
>> High speed is a bit more
>> important if you are working with large images (eg. using JTAG to
>> debug a Linux kernel on an omap).
>
> Rumour has it that running gdb on that kernel is also very effective,
> but Linux on embedded systems is not currently on my plans.
>
>> These devices can shift approx 0.5Mbytes per second
>
> How does this work, out of interest? Serial ports finish at 11.5kbyte/s,
> so there must be another way.

ftdi is a USB device that looks like a serial port to software. It is
not constrained by serial clock speeds.


>
> I have been playing with LPCXpresso hardware (because it's cheap),
> upload speeds on its JTAG is about serial port speed. Not impressive,
> and that's with the ARM on the JTAG just about more powerful than the
> real thing. (As an aside, I recommend to stay clear of the Code Red IDE.
> Too many things wrong with it, only one being the absence of a datasheet
> for the JTAG ARM. Eclipse is very nifty though.)
>
>> device) so loading a  debug image on a smaller ARM is sub-second and
>> stepping, debugging etc is instantaneous.
>
> Not with LPCXpresso, but I look forward to 5 steps up with a cheap
> flyswatter or similar... How do you control this? Is the ARM eclipse
> plugin good?

gdb is a layered architecture and the way it writes images can be controlled.

The gdb user interface (gdb, eclipse, whatever) communicates with a
gdb server on the host (typically openocd for ARM).

For ARM I will often use either insight debugger or just gdb. I've not
used Ecliipse but I know some have.

>
> I got the eclipse AVR plugin to go and it's a bit of a disappointment.
> It's buggy, needs too much fiddling just to get the programming part to
> go (with avrdude), and there's no debugging at all.

I just use command line for programming avrdude. I put the commands
right into the makefile.
See https://github.com/cdhmanning/avrprojects for some examples.

For AVR debuging I have never used anything other than AVRStudio
(Windows) and a JTAGICE2.
You can apparently use JTAGICE2 with Eclipse for debugging AVR.


>
> Volker
>
> --
> Volker Kuhlmann
> http://volker.dnsalias.net/     Please do not CC list postings to me.
>
> _______________________________________________
> Chchrobotics mailing list Chchrobotics at lists.linuxnut.co.nz
> http://lists.ourshack.com/mailman/listinfo/chchrobotics
> Mail Archives: http://lists.ourshack.com/pipermail/chchrobotics/
> Web site: http://kiwibots.org
> Meetings 3rd Monday each month at Tait Radio Communications, 175 Roydvale Ave, 6.30pm
>
> When replying, please edit your Subject line to reflect new content.
>



More information about the Chchrobotics mailing list