AVRISP mkII Clone (MEGA8) Win7 users around?

Go To Last Post
7 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I probably should just give this thing away and buy another proper AVR ISP mkII, but I keep it around as a spare and would like it to work.

It's a clone, with a M8 in it (AVRISP mkII or USBASP firmware can be loaded). I have used it for years on WinXP with no issues (Jungo USB drivers for Studio and LibUSB filter driver for avrdude).

But, it's time to move the spare programming machine to Win7, and this is the only thing that did not seem to make the move. I verified that the drivers are installed correctly, since my Atmel MkII fires up fine and runs, via 6.1 SP1 AVRStudio and AVRDUDE 5.11.

So, I guess, if someone has or knows of a firmware that works with the AVRISP mkII USB drivers and runs on a M8 or related (m168/328/88), I'd love to know about it. Not holding out a ton of hope, but I hate to ditch the little programmer, as it's been quite a solid performer, and I use it when on the road, as if I dies, I'll not feel bad.

I tried searching for related postings, but could not find relevant answers. I could move to USBASP firmware, I suppose, but that firmware seems much slower.

Jim

Jim Brain

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Look for the Lufa extensions in Atmel Studio 6.1. There is a project for an AVRisp mkII clone that allows you to select firmware, on the fly, to use Studio or avrdude. Can't remember if it works with an M8 though.

I have been using my clone on Win 7/8/8.1 with no problems. It's late here. Maybe someone else can give you more info. I'll check back in here to follow up later.

"I may make you feel but I can't make you think" - Jethro Tull - Thick As A Brick

"void transmigratus(void) {transmigratus();} // recursio infinitus" - larryvc

"It's much more practical to rely on the processing powers of the real debugger, i.e. the one between the keyboard and chair." - JW wek3

"When you arise in the morning think of what a privilege it is to be alive: to breathe, to think, to enjoy, to love." -  Marcus Aurelius

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

LUFA uses real USB-AVRs and produces full-speed USB-2 comms. V-USB uses any AVR and bit-bangs slow speed USB-1.

USBASP and many other projects use V-USB with a tiny2313 or mega8 chip.

Yes, there was some AVRISP-2 clone firmware that would run on USBASP hardware. It works very well on XP. It does NOT work on Vista or Win7. I don't have Win8 but I would put money on it not working there either!

So if you have binned your XP PC, I suggest that you just use your USBASP hardware with regular USBASP firmware. Or just flash out another $3.50 for a brand new USBASP.

Oh, as far as I know, genuine LUFA firmware works fine on every Windoze.

David.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Oh well, I thought I'd give it a try. I'll flash it USBASP for now, though I think it's time to keep an eye on a used mkII to grab.

Thanks for the confirmation.

Jim

Jim Brain

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I have no idea what the XP vs others problem is.
I don't have the source code for this V-USB "device".

Since a LUFA-clone is inexpensive, you could make/buy one of them.

Mind you, buying a genuine AVRISP-2 would give you proper voltage-protection etc. Most home-made programmers just rely on you connecting the right way etc.

David.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Atmel Studio 6.2 sp1 1502
C:\Users\user\AppData\Roaming\Atmel\AtmelStudio\6.2\ApplicationStatus.log
 

13:06:26.216: Got Tool::contextAdded([{"ID":"Tool_1","Name":"com.atmel.avrdbg.tool.ispmk2","DeviceId":"","BoardProperties":{},"MajorFirmwareVersionOnDisk":1,"MinorFirmwareVersionOnDisk":23}] ) event, notifying listeners
13:06:26.220: Tool:setupTool 13,0008 msecs
13:06:26.229: Tool:getContext 3,0002 msecs
13:06:38.239: Tool:connect 12007,6868 msecs
13:06:38.245: Tool:tearDownTool 2,0001 msecs
13:06:50.294: 13:06:50: [ERROR] Could not establish communication with the tool., ModuleName: TCF (TCF command: Tool:connect failed.)

 

last LUFA http://www.github.com/abcminiuse...
LUFA-140928\Projects\AVRISP-MKII\Lib\V2ProtocolParams.h

 

        #if (!defined(FIRMWARE_VERSION_MINOR) || defined(__DOXYGEN__))
            /** Minor firmware version, reported to the host on request; must match the version
             *  the host is expecting, or it (may) reject further communications with the programmer. */
            #define FIRMWARE_VERSION_MINOR   0x17

Old LUFA in different version, set Version to 0x99 yes

AvrStudio 7
AVR ISP MkII Clone
Core I3-4330
Kingston HyperX Savage SSD

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Please don't cross post the same thing to three different threads in the future.

 

Moderator