| Author |
Message |
|
|
Posted: Aug 21, 2008 - 01:00 AM |
|

Joined: Aug 21, 2008
Posts: 12
|
|
(the original topic was: AVRISP mkII drivers for Vista x64)
Hi
I just got AVRISP mkII with STK48+ board from eBay.
AVRISP uses an Prolific PL-2303 USB-serial adapter
and I am unable to get it to work in Vista x64.
Does anyone of you guys have this setup and could
point me to right drivers. Prolific doesn't provide
Vista drivers so I think they have to be somewhat hacked
to work.
I'm trying to get it to work with the newest AvrStudio.
Anyone? |
Last edited by twizzz on Aug 22, 2008 - 12:53 PM; edited 1 time in total
|
| |
|
|
|
|
|
Posted: Aug 21, 2008 - 02:07 AM |
|


Joined: Mar 28, 2001
Posts: 12827
Location: Sydney, Australia (Gum trees, Koalas and Kangaroos, No Edelweiss)
|
|
|
Quote:
I just got AVRISP mkII with STK48+ board from eBay.
Let me guess-It is NOT a real Atmel AVRISP mkII, right? |
_________________ John Samperi
Ampertronics Pty. Ltd.
www.ampertronics.com.au
* Electronic Design * Custom Products * Contract Assembly
|
| |
|
|
|
|
|
Posted: Aug 21, 2008 - 12:16 PM |
|

Joined: Aug 21, 2008
Posts: 12
|
|
|
js wrote:
Quote:
I just got AVRISP mkII with STK48+ board from eBay.
Let me guess-It is NOT a real Atmel AVRISP mkII, right?
I don't think so. It says "USB AVRISP V2.0 200808800", "080710A07" and "waveshare" on the blue case. It's this one.
I got the impression that original is not manufactured anymore and went for this one.
Anyways.. is there any hope for me? |
|
|
| |
|
|
|
|
|
Posted: Aug 21, 2008 - 12:30 PM |
|


Joined: Mar 28, 2001
Posts: 12827
Location: Sydney, Australia (Gum trees, Koalas and Kangaroos, No Edelweiss)
|
|
|
Quote:
is there any hope for me?
Probably not.
Only joking of course, but you should scream at the manufacture for help.
And yes, the AVRISP Mk2 (USB) is still made by Atmel. (the older RS232 model has been discontinued) |
_________________ John Samperi
Ampertronics Pty. Ltd.
www.ampertronics.com.au
* Electronic Design * Custom Products * Contract Assembly
|
| |
|
|
|
|
|
Posted: Aug 21, 2008 - 04:24 PM |
|

Joined: Aug 21, 2008
Posts: 12
|
|
I got it to work. I only had to search the internet for working drivers for two days and then restore my Vista to a restore point from a week a ago.
Now I have Prolific USB-serial adapter at COM3 but AvrStudio doesn't connect to it... I've tried AVRISP mkII at USB and AVRISP at COM3.
AvrStudio has something called STK500 plugin loaded and I have also installed AVRISPmkIIUpgrade.exe amd WinAVR.
Versions are: aStudio4b589 and WinAVR 20080610.
Any advice? |
|
|
| |
|
|
|
|
|
Posted: Aug 21, 2008 - 07:01 PM |
|

Joined: Nov 29, 2007
Posts: 2706
|
|
|
js wrote:
Quote:
is there any hope for me?
Probably not.
Only joking of course, but you should scream at the manufacture for help.
You know what's funny? The seller on ebay has a 99.7% feedback rating. No one apparently had the balls to scream at the seller. |
_________________ Windows is like the faint smell of piss in a subway... -- Charlie Brooker, The Guardian, Monday 28 September 2009
|
| |
|
|
|
|
|
Posted: Aug 21, 2008 - 07:26 PM |
|

Joined: Aug 21, 2008
Posts: 12
|
|
|
ArnoldB wrote:
js wrote:
Quote:
is there any hope for me?
Probably not.
Only joking of course, but you should scream at the manufacture for help.
You know what's funny? The seller on ebay has a 99.7% feedback rating. No one apparently had the balls to scream at the seller.
Yeah.. Well there was an 8 cm CD included which had drivers for XP, datasheets for a few Atmel uCs and the schematics and example codes for a few boards - including my STK48+.
There wasn't however any manual for using these specific tools to program a uC. For a complete n00b like me that's not good.
On the bright side the board and the avrisp-clone are very professional looking so at least the kids in the sweat shops are doing great job. =) |
|
|
| |
|
|
|
|
|
Posted: Aug 21, 2008 - 10:53 PM |
|

Joined: Aug 21, 2008
Posts: 12
|
|
I just (re)installed the STK500 firmware to the device and still can't connect. EBN-file went in just fine.
How it's supposed to work with original AVRISP mkII? Does it have to be connected to ISP-port before connecting or something? Please, walk me through the process.
Does anyone have any idea how STK48+ is supposed to work just by looking at it? Picture is somewhere in the previous posts. |
|
|
| |
|
|
|
|
|
Posted: Aug 21, 2008 - 11:39 PM |
|

Joined: Apr 01, 2004
Posts: 3812
Location: New Mexico
|
|
|
twizzz wrote:
Any advice?
Ask for your money back from the ebay selling citing incompatibility and then purchase a real AVRISPMkII. Atmel states in their current release notes that Vista 64 is supported by AVRStudio (which would include current drivers for Atmel products). |
_________________ Kevin Rosenberg
http://b9.com
http://kevin.hypershots.com
|
| |
|
|
|
|
|
Posted: Aug 22, 2008 - 12:00 AM |
|

Joined: Aug 21, 2008
Posts: 12
|
|
|
kmr wrote:
twizzz wrote:
Any advice?
Ask for your money back from the ebay selling citing incompatibility and then purchase a real AVRISPMkII. Atmel states in their current release notes that Vista 64 is supported by AVRStudio (which would include current drivers for Atmel products).
I'd hate to give up and I'm not going to do that just yet. That would probably be the best solution..
AVRISP mkII costs here 59 eur so that is quite a bit more than what I paid for my cheap copy. If only I could find a shop that would accept PayPal and ship to Europe...
Anyways, I'll try to get this to work for now.. |
|
|
| |
|
|
|
|
|
Posted: Aug 22, 2008 - 12:27 AM |
|

Joined: Apr 01, 2004
Posts: 3812
Location: New Mexico
|
|
|
twizzz wrote:
I'd hate to give up and I'm not going to do that just yet. That would probably be the best solution..
AVRISP mkII costs here 59 eur so that is quite a bit more than what I paid for my cheap copy.
I understand. Everyone has a different value for their time. When I was younger, I had more time than money. Now, I have more offered work than I have time, so I place a much higher value on my time. |
_________________ Kevin Rosenberg
http://b9.com
http://kevin.hypershots.com
|
| |
|
|
|
|
|
Posted: Aug 22, 2008 - 01:02 AM |
|

Joined: Aug 21, 2008
Posts: 12
|
|
I'm doing this for entertainment purposes only. I'm not planning on creating anything that I couldn't buy for less than 50 bucks. Just to educate myself...
I know that someday I also will go for the easy solution but not just yet.
And now back to the topic.
Is the original AVRISP mkII showing as usb-serial-adapter in Windows? If not, could my device infact be AVRISP mkI clone? It shows as COM3 port in Windows' device manager. |
|
|
| |
|
|
|
|
|
Posted: Aug 22, 2008 - 01:16 AM |
|


Joined: Mar 28, 2001
Posts: 12827
Location: Sydney, Australia (Gum trees, Koalas and Kangaroos, No Edelweiss)
|
|
|
Quote:
How it's supposed to work with original AVRISP mkII?
I don't have a Mk2 but the older Mk1, so can't help much.....
However, the original AVRISP was using a real RS232 port (Com1-Com4) but the Mk2 has a USB chip in it (more complicateds than the Mk1) so it does not connect as a com port device but as a USB device as far as I know.
Some people copied the Mk1 design and stuck a USB to RS232 chip at the front end which is equivalent to using a Mk1 with a USB to RS232 adaptor. Some work, some don't.
I hope you are a bit more confused now.  |
_________________ John Samperi
Ampertronics Pty. Ltd.
www.ampertronics.com.au
* Electronic Design * Custom Products * Contract Assembly
|
| |
|
|
|
|
|
Posted: Aug 22, 2008 - 01:50 AM |
|

Joined: Aug 21, 2008
Posts: 12
|
|
|
js wrote:
However, the original AVRISP was using a real RS232 port (Com1-Com4) but the Mk2 has a USB chip in it (more complicateds than the Mk1) so it does not connect as a com port device but as a USB device as far as I know.
Some people copied the Mk1 design and stuck a USB to RS232 chip at the front end which is equivalent to using a Mk1 with a USB to RS232 adaptor. Some work, some don't.
I hope you are a bit more confused now.
So it's more than likely I have mk1 clone. If this is the case, should I get rid of this ASAP and get a mk2? What differences there are between mk1 and mk2?
This was actually the most informative post in this thread so Thanks.  |
|
|
| |
|
|
|
|
|
Posted: Aug 22, 2008 - 02:05 AM |
|


Joined: Mar 28, 2001
Posts: 12827
Location: Sydney, Australia (Gum trees, Koalas and Kangaroos, No Edelweiss)
|
|
|
Quote:
should I get rid of this ASAP and get a mk2?
If you have an original Atmel unit you have some guarranty that things will work (most of the times) or that someone here or Atmel help can get you going.
There seem to be still a few problems with Vista, I still use XP pro. |
_________________ John Samperi
Ampertronics Pty. Ltd.
www.ampertronics.com.au
* Electronic Design * Custom Products * Contract Assembly
|
| |
|
|
|
|
|
Posted: Aug 22, 2008 - 02:30 PM |
|

Joined: Aug 21, 2008
Posts: 12
|
|
I got confirmation from the dealer that this device is infact Mk1 AVRISP with integrated usb-serial adapter.
Is Mk1 as capable as Mk2? I mean, is the only difference that Mk2 is 'real-usb'? |
|
|
| |
|
|
|
|
|
Posted: Aug 23, 2008 - 12:02 AM |
|

Joined: Aug 21, 2008
Posts: 12
|
|
Ha! I got it to work. Don't ask me how...
Now I have a new problem. Inluded atMega48V-10PU is programmable and I even got the sample led flasher to work but I can't program my atMega8-16PU uCs.
Why?!
edit: Urgh.. I think I just messed up this mega48 also..
wrong fuses on/off or something.. |
|
|
| |
|
|
|
|
|
Posted: Aug 24, 2008 - 05:41 PM |
|

Joined: Dec 08, 2004
Posts: 4493
Location: Nova Scotia, Canada
|
|
At the moment, a *real* original AVRISP has exactly the same capabilities as the AVRISP mkII. Beyond the obvious difference of native USB communication, the only other major differences are that the mkII has some more diagnostic modes to detect incorrectly attached programming cables, and it can transfer programs at a higher speed.
A cloned AVRISP which uses the same .ebn file as the original AVRISP *should* have all the same capabilities too, assuming no glaring mistakes were made in cloning and assembling its hardware. So, if it works reliably and repeatably with an ATmega48, then in principle, it should also work reliably and repeatably with an ATmega8. If it's unreliable with the ATmega48, then it will also likely be unreliable with the ATmega8.
It has been implied on Atmel's website that the AVRISP mkII will someday be made capable of programming the XMega series of AVRs using a different protocol than is currently used by all previous types of AVRs. When that happens, it is unlikely that the same capability will be back-ported to the AVRISP and we'll start to see a real divergence in the functionality between the two programmers. |
|
|
| |
|
|
|
|
|
Posted: Aug 25, 2008 - 12:06 PM |
|

Joined: Aug 21, 2008
Posts: 12
|
|
|
lfmorrison wrote:
At the moment, a *real* original AVRISP has exactly the same capabilities as the AVRISP mkII. Beyond the obvious difference of native USB communication, the only other major differences are that the mkII has some more diagnostic modes to detect incorrectly attached programming cables, and it can transfer programs at a higher speed.
So, with Mk1 I'm able to break the uC if connected wrong?
What's happened to my mega48? I was able to program it a couple of times and now it doesn't respond anymore. The program I uploaded to it works fine though.
Could it have something to do with the fuses? I might have accidentally set all fuses to 1. How can I fix this?
I also have a few mega8s and only 1 out of 5 responds when clicking 'Read signature' in the programming window. I've tried all of the ISP frequencies but nothing helps. |
|
|
| |
|
|
|
|
|
Posted: Aug 25, 2008 - 12:21 PM |
|

Joined: Feb 12, 2005
Posts: 7302
Location: Cratfield, England
|
|
You can mess most things up if you try hard enough. It is seldom fatal.
You should be able to restore your 4 duff mega8 AVRs by supplying an external clock signal.
Alternatively you could just use more care when programming your single good Mega8. When programming fuses the idea is to check only the boxes that you need.
David. |
|
|
| |
|
|
|
|
|
Posted: Aug 26, 2008 - 12:29 AM |
|

Joined: Aug 21, 2008
Posts: 12
|
|
|
david.prentice wrote:
...
You should be able to restore your 4 duff mega8 AVRs by supplying an external clock signal.
...
David.
I'm not sure how to do that. I have stk48+ board which seems to have a 7,3728 (prolly kilo) herz crystal but I'm not sure how to use (or not use) it with AVR. Any ideas?
Only AVR which is responding is saying that its signature is 0x00 0x01 0x02. Brief Googling tells me it means the AVR is locked. Maybe permanantly. Can I do something to unlock it? |
|
|
| |
|
|
|
|
|