AVR ISP Kit problem

For other supported Arduino products from Adafruit: Shields, accessories, etc.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: AVR ISP Kit problem

Post by adafruit_support_rick »

Shouldn't be a problem with arduino 1.0.1.

I'll see if somebody else has any ideas...

adafruit
 
Posts: 12151
Joined: Thu Apr 06, 2006 4:21 pm

Re: AVR ISP Kit problem

Post by adafruit »

try an earlier IDE? dont know what it could be either

RosscoS
 
Posts: 44
Joined: Wed May 09, 2012 2:41 pm

Re: AVR ISP Kit problem

Post by RosscoS »

Just tried Arduino 0022.
Serial output is as follows

Code: Select all

AdaBootLoader Bootstrap programmer (originally OptiLoader Bill Westfield (WestfW))

Type 'G' or hit BUTTON for next chip
Starting Program Mode [OK]

Reading signature:950F
Searching for image...
  Found "adaboot_atmega328.hex" for atmega328

Setting fuses
  Set Lock Fuse to: 3F -> E000  Set Low Fuse to: FF -> A000  Set High Fuse to: DA -> A800  Set Ext Fuse to: 5 -> A400
Verifying fuses...
	Lock Fuse: 3F is 3F	Low Fuse: 0xFF is 0xFF	High Fuse: 0xDA is 0xDA	Ext Fuse: 0x5 is 0x5
Flashing page 7800
  Commit Page: 0x3C00 -> 0x3C00
Flashing page 7880
  Commit Page: 0x3C40 -> 0x3C40
Flashing page 7900
  Commit Page: 0x3C80 -> 0x3C80
Flashing page 7980
  Commit Page: 0x3CC0 -> 0x3CC0
Flashing page 7A00
  Commit Page: 0x3D00 -> 0x3D00
Flashing page 7A80
  Commit Page: 0x3D40 -> 0x3D40
Flashing page 7B00
  Commit Page: 0x3D80 -> 0x3D80
Flashing page 7B80
  Commit Page: 0x3DC0 -> 0x3DC0
Flashing page 7C00
  Commit Page: 0x3E00 -> 0x3E00
Flashing page 7C80
  Commit Page: 0x3E40 -> 0x3E40
Flashing page 7D00
  Commit Page: 0x3E80 -> 0x3E80
Flashing page 7D80
  Commit Page: 0x3EC0 -> 0x3EC0
Flashing page 7E00
  Commit Page: 0x3F00 -> 0x3F00
Flashing page 7E80
  Commit Page: 0x3F40 -> 0x3F40
Flashing page 7F00
  Commit Page: 0x3F80 -> 0x3F80
Flashing page 7F80
  Commit Page: 0x3FC0 -> 0x3FC0

Setting fuses
  Set Lock Fuse to: F -> E000

Verifing flash...
	Flash verified correctly!
Verifying fuses...
	Lock Fuse: F is F
Fuses verified correctly!

Type 'G' or hit BUTTON for next chip
Seems to be working!
However does this mean that I will need to write all code in 0022 in order to upload to the chips that I burn the bootloader to with Arduino 0022?

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: AVR ISP Kit problem

Post by adafruit_support_rick »

RosscoS wrote:Seems to be working!
Weird. I wonder what the difference is in the IDE?
RosscoS wrote:However does this mean that I will need to write all code in 0022 in order to upload to the chips that I burn the bootloader to with Arduino 0022?
No. You'll only need to run the AdaBootLoader sketch from 022. You can generate the loadable hex files from 101.

adafruit
 
Posts: 12151
Joined: Thu Apr 06, 2006 4:21 pm

Re: AVR ISP Kit problem

Post by adafruit »

bizarre, but good to know. we'll put a note on the tutorial - try to fix it in the future as well of course

User avatar
mr.multisite
 
Posts: 2
Joined: Fri Jul 27, 2012 4:39 pm

Re: AVR ISP Kit problem

Post by mr.multisite »

I just had the same problem, using 1.0.1 of the IDE. Using 0023 to upload the sketch seems to have resolved my problem.
What differences between 0023 and 1.0.1 could be causing the problem?

User avatar
adafruit_support_bill
 
Posts: 88096
Joined: Sat Feb 07, 2009 10:11 am

Re: AVR ISP Kit problem

Post by adafruit_support_bill »

What differences between 0023 and 1.0.1 could be causing the problem?
Not sure at this point. We are looking into it.

User avatar
jdac
 
Posts: 3
Joined: Fri Aug 09, 2013 4:00 pm

Re: AVR ISP Kit problem

Post by jdac »

The last post on this is one year ago and you said you would check into this problem. I had this same problem and after days of searching I found that using newer versions do not work but version 0022 does work. Any news on this?

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: AVR ISP Kit problem

Post by adafruit_support_rick »

Which versions of the IDE do not work? Are you running on Windows or Mac? Can you post an avrdude trace showing the failure?

User avatar
jdac
 
Posts: 3
Joined: Fri Aug 09, 2013 4:00 pm

Re: AVR ISP Kit problem

Post by jdac »

Version 1.0.1 and 1.0.5 did not work. I am on windows. Since I loaded the bootloader on to the chips using Version 0022, it now works with the all versions. It needed Version 0022 the first time only. I will buy some more chips and see if I can reproduce the error.

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: AVR ISP Kit problem

Post by adafruit_support_rick »

I just tried it with 1.0.4 on my Mac, and it works.

What exactly did the error look like? If you get an error to the effect that the "programmer is not in synch" (I forget the exact message), try reloading the Arduino_ISP sketch.

If you se an error like "avrdude: usbdev_open(): did not find any USB device "usb"", you have to change the programmer type to "Arduino as ISP" in the Tools:Programmer menu

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: AVR ISP Kit problem

Post by adafruit_support_rick »

UPDATE: I just tried it with Arduino 1.0.1 in Windows 7, and it worked just fine.

Locked
Please be positive and constructive with your questions and comments.

Return to “Other Arduino products from Adafruit”