[dorkbotpdx-blabber] Dragon / 168 / AVR Studio ?

Hans Lindauer armatronix at sbcglobal.net
Tue Jun 9 18:41:33 EDT 2009


Thanks Don, I did see that but I was hoping to get it working with AVR 
Studio.

I also saw this since my original message: 
http://support.atmel.no/knowledgebase/avrstudiohelp/mergedProjects/AVRDragon/AVRDragon_connecting_to_target_through_the_debugwire_interface.htm

Following the above steps with the ISP Frequency at 250.0 kHz, I was 
able to get it to work but it had a lot of trouble connecting to the 
device via debugwire so I couldn't proceed.

Ditching ISP and connecting the Dragon for High-Voltage/Parallel 
Programming seemed to do the trick, I was able to program all of the chips.

I did have one problem: I tried to write the extended fuses at 0x00, but 
when AVR Studio verified them, they were at 0xF8.  These seem to be the 
same settings when you enter them into the dialog, but I just want to be 
sure.

Also, I'm interested in how to go about writing a program to the chip 
along with the bootloader.

Once I get this all figured out, I'll make a blog about it.

-Hans


Donald Delmar Davis wrote:
> Did you look at the make file in the posting i did on this?
> I am using avrdude which you may try to see if is an avr studio issue.
>
> http://www.dorkbotpdx.org/blog/feurig/burning_a_bootloader_with_the_avr_dragon
>
> Don
>
> On Jun 9, 2009, at 1:17 PM, Hans Lindauer wrote:
>
>> I tried the whole meeting last night to get my Dragon to burn Adaboot 
>> onto an ATmega168 using ISP, but didn't have any luck.  I think I can 
>> rule out Vista as the culprit, because it does the same thing on XP 
>> at home.
>>
>> Has anyone had any luck with this setup?
>>
>> Here's what I did:
>>
>>     * Wired the Dragon as per
>>       http://support.atmel.no/knowledgebase/avrstudiohelp/mergedProjects/AVRDragon/SCKT3200A2.htm
>>       and socketed the chip
>>     * In AVR Stuidio: connected to the Dragon on the USB port
>>     * Left ISP Frequency at 1.000 MHz
>>     * Selected ADABoot_168.hex from
>>       http://www.wulfden.org/downloads/code/arduino/ADABootLoaderR3_9D15.zip
>>       [
>>       www.wulfden.org/downloads/code/arduino/ADABootLoaderR3_9D15.zip
>>       ] [
>>       www.wulfden.org/downloads/code/arduino/ADABootLoaderR3_9D15.zip
>>       [
>>       www.wulfden.org/downloads/code/arduino/ADABootLoaderR3_9D15.zip
>>       ] ] as my Flash Input HEX File
>>     * Set low_fuses=0xff, high_fuses=0xdd, extended_fuses=0x00 as per
>>       append_2_boards.txt (from above archive)
>>     * Set lockbit to 0x0f (per above), this one I'm not sure about at all
>>     * Left all other parameters to default
>>     * When I program the chip, I get the following messages and also
>>       an ISP Mode Error message popup.
>>           o Getting ISP frequency parameters.. SD=0x03 .. OKOK
>>             Reading FLASH input file.. OK
>>             Setting device parameters.. OK!
>>             Entering programming mode.. FAILED!
>>             Leaving programming mode.. OK!
>>
>> Can someone please point me in the right direction here?  I tried all 
>> of the lower ISP frequency settings.  Also, I get the same errors if 
>> I try to erase the device.
>>
>> Thanks,
>> -Hans
>> _______________________________________________
>> dorkbotpdx-blabber mailing list
>> dorkbotpdx-blabber at dorkbot.org <mailto:dorkbotpdx-blabber at dorkbot.org>
>> http://music.columbia.edu/mailman/listinfo/dorkbotpdx-blabber
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> dorkbotpdx-blabber mailing list
> dorkbotpdx-blabber at dorkbot.org
> http://music.columbia.edu/mailman/listinfo/dorkbotpdx-blabber

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://music.columbia.edu/pipermail/dorkbotpdx-blabber/attachments/20090609/4be24380/attachment-0001.html


More information about the dorkbotpdx-blabber mailing list