[chbot] Atmel Programmers

Synco Reynders synco.reynders at gmail.com
Wed Oct 19 04:35:55 BST 2011


If you still really want to try AVR debugging look at:
http://avr-eclipse.sourceforge.net/wiki/index.php/Debugging
/s

On 19 October 2011 13:20, Synco Reynders <synco.reynders at gmail.com> wrote:
> Hi Jasper,
> To answer your questions:
> a) I've never actually used debugWire (1-wire), since it's relatively
> new and only for the Tiny range of AVRs.
> b) Since writing code in C, I've generally only used JTAGs to program
> devices since debugging has it's own set of problems.... simply
> setting up the JTAG and environment takes time, almost useless when
> working on real-time systems where interrupts throw you around, etc.
> Admittedly I've found debuggers handy when writing bootloaders, and
> finding memory over-runs.
> c) I bought the UsbProg as a bag of parts. Although truth to be told,
> I programmed it as an AVRISP and never considered changing its
> function after that. Now it'd be a perfect platform to make a
> debugWire programming interface for it :-)
>
> The other option is to buy a dedicated AVR ISP and USB-Serial
> module... See link for both:
> http://hobbyist.co.nz/?q=catalog/5
>
> Once you've got your AVR programmer working, you could make yourself a
> bootloader so you can reprogram it via a serial port (making the
> programmer redundant). Richard had done this and streamlined it nicely
> into his Makefile... (any chance you can share this Richard?) I've
> actually just started playing with AVR Universal Bootloader
> (https://sites.google.com/site/shaoziyang/Home/avr/avr-universal-bootloadere)
> so will let you know how I get on.
> /s
>
>
>
>
> On 19 October 2011 11:36, Jasper Mackenzie <jasper.mackenzie at gmail.com> wrote:
>> Good day,
>>  At the last meeting I was talking to a few of you about programmers as I
>> need to move away from the wonderful butterfly to more wonderful things
>> like attiny's...
>>
>> The person who knew I would forget their name, had built a ladyada
>> programmer which he had modified for single sided board, could you post a
>> pdf of the board please, as I dont use eagle. I am using FreePCB (win)
>>
>> Synco said he was using a usbprog which does seem like a very complete
>> programmer. My questions with this programmer are:
>>  a) can it do 1-wire debug - I couldn't find anything on the the usbprog
>> website to suggest so. If not, is there a DIY programmer that does?
>>  b) How in the heck as a total C n00b do I use the jtag etc. meaningfully?
>>  c) Did this come as a kit, is there a single sided version of the
>> board... i.e what route to fabrication did you take.
>>
>> Synco, you also mentioned that instead of a dedicated debugger it is
>> easier to pulse a pin or use a uart, I guess much the same as I was doing
>> with the Butterfly LCD.
>>
>> Anyway, any other thoughts? especially as to how to use and how useful
>> debugging is on these chips. I am using gcc-avr in a GNU/Linux environment.
>>
>> Cheers
>>
>> Jasper
>>
>> _______________________________________________
>> 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