by dakinet on Fri Feb 15, 2013 7:22 pm

Hi everyone, I build this great project (V2) and flash attiny with maked .hex from spi folder. Succesfuly instal com0com port emulator and USB Tiny 500.
On my pc USB port I connect onlu Tiny ISP (without target device). I have latest version of AVR studio 4 instaled.

Here what is happened:
When i click (in AVR studio) Tools/Program AVR/Conect, and choose platform:AVRISP; port:COM2

new form "STK500/AVRISP" is pop up and ask me:
An STK500 with firmware version 2.00 has been detected. The fermware version corresponding to this installation of AVR Studio is 2.0A. Pres OK to launch the upgrade program to perform an upgrade, or Cancel to continue without upgrading. NOTE! Correct operation is not guaranteed if an upgrade is not performed. AVR Studio will close down.

OK CANCEL
(see picture)
Image

When i click "CANCEL" I get the ISP error Mode message
A problem occurred when executing the command. Make sure that you are using the correct programming method. Current mode is ISP. See the command output for more info.
(see picture)
Image

On bottom of "STK500 with top module..." i have information:
Setting mode and device parameters...OK!
Entering programming mode...FAILED!
Leaving programming mode...OK!

I think something is wrong...
Any help, please.
Salutation
Attachments
USB Tiny ISP ISP Mode Error.jpg
USB Tiny ISP ISP Mode Error.jpg (134.99 KiB) Viewed 1488 times
USB Tiny ISP ask for firmware update.jpg
USB Tiny ISP ask for firmware update.jpg (31.72 KiB) Viewed 1488 times
dakinet
 
Posts: 3
Joined: Fri Feb 15, 2013 6:44 pm

by dakinet on Sat Feb 16, 2013 10:28 am

anybody, please help me...
dakinet
 
Posts: 3
Joined: Fri Feb 15, 2013 6:44 pm

by adafruit_support_rick on Sat Feb 16, 2013 1:05 pm

The error message you're getting seems pretty clear. Your version of AVR Studio 4 wants to see STK500 V2.0a firmware, but the USBtiny500 program is only emulating V2.00 firmware.

There are no newer versions USBtiny500. The STK500, as well as AVR Studio 4, are long obsolete.

You might see if you can find an earlier version of AVR Studio 4. You might also try Atmel Studio 6 - perhaps it will be more forgiving.

The simplest thing, however, would be to use avrdude to download to your target, instead of trying to do it through AVR Studio. You can still compile and build in AVR Studio, but you would run avrdude to download the .hex file to the target.
User avatar
adafruit_support_rick
 
Posts: 8421
Joined: Tue Mar 15, 2011 10:42 am
Location: Buffalo, NY

by dakinet on Sat Feb 16, 2013 6:34 pm

Thanx for helping me.

I find where is the problem:
When i making PCB (photo transfer metod) i figure that is much simplest to make one sided PCB, and later add couple of wires (that wil represent top coper side). In this wire soldering i forgot to add one wire that connect first and fourth pin on SN74HC125N.
Now programer work like charm!

P.S. Much easier is to buy a kit with pre made PCB from adafruit guys, and solder wiht a smile.

P.P.S Sory from my bad english, salutation from Serbia
dakinet
 
Posts: 3
Joined: Fri Feb 15, 2013 6:44 pm

by adafruit_support_rick on Sun Feb 17, 2013 12:21 pm

Your English is pretty good. Much better than my Serbian! :lol:
My high-school History teacher was from Serbia. Name of Hadrovic.
User avatar
adafruit_support_rick
 
Posts: 8421
Joined: Tue Mar 15, 2011 10:42 am
Location: Buffalo, NY