On patience and USB AVR programmers

I have been trying to make my AVR programmers work with my laptop for since I got my laptop. But it seems that the laptop hardware is not really like the hardware that was with my desktop. Thus, the device is not detected. I was out of work, thus I decided today, I am going to make the USBasp work with the laptop. I couldn’t unfortunately.

But I gained something from today’s failure. I found out a AVRISP mkII clone derived from USBasp hardware. All the same circuit, just change the firmware and it will do. It’s a very good project, making the USBasp hardware AVR Studio compatible. I thank the Guy who made the modification. The link to the site is http://avr.mytutorialcafe.com/?p=101

I converted my USBasp to AVRISP mkII clone and also my friend’s USBasp (He gave it to me for fixing). Now I my programmer, which was compatible only with the desktop, is now also compatible with AVRStudio. Which is a great plus for embedded programmers who are using AVRGCC with AVR-Studio on Windows. But I am still stuck, it’s not working with my laptop.

Today I failed to,

  1. Make the Arduino bootloader work.
  2. Make the programmers compatible with laptop.
  3. Determine the cause of both.

What I learned today is that I can be more patient just by trying.

I had to walk to-and-fro so many times transferring components and all to my tiny workshop to the room where my good old desktop resides. It was pretty easy for me to lose nerves. But somehow, I kept working on, without any hope of success. I was amazed by the numbness. I went completely indifferent to the possible outcome of a certain solution that I was trying to put into the circuit. But my mind still worked on searching for newer solutions.

I think this is what patience is all about. You cannot really be excited and patient at the same time. You need to remove almost everything that might induce excitation. Only then you can have heart rate comparable to calibrated atomic clocks and nerves cool enough is liquefy nitrogen (I like to exaggerate sometimes). And while you are working on something pretty complex, and you need to troubleshoot on the run, you need all of these qualities.

Advertisements

6 comments on “On patience and USB AVR programmers

  1. Gabor Toth says:

    Hello,

    I just search on Google to “usbasp”, and I found your blog.
    I have got an USBasp, and I would like to use it with AVR Studio on Windows7.
    If I upgrade my USBasp’s firmware, will I use that?
    You wrote that “it’s not working with my laptop.” Could you solve this problem?

    Best wishes,
    Gabor

    • rivalslayer says:

      Well, I couldn’t solve the problem. I realized I was using a AVRISP mkII clone on the USBasp hardware for the last few days. It also didn’t work. Lots of people reported that USBasp not working with Windows 7. AVRDUDE in Windows 7 doesn’t really work. Even I bought a AVRISP mkII from Atmel which only works in AVR Studio, not with AVRDUDE.

      If you can manage it do tell me.

  2. Jean-Marie says:

    Hello rivalslayer.
    AVRISP mkII works with AVR Studio if the USB Jungo driver coming with Studio is installed but it cannot work with avrdude.
    If the Jungo driver is uninstalled and than Libusb driver is installed, AVRISP mkII will work with avrdude but it will not work with Studio anymore until you re-install Studio with Jungo.
    So far, I think there is no way to overcome this problem.

    Hoxever, it is possible to intall Studio without Jungo driver. Then you can compile a program with Studio, save it as a hex file to the disc and then flash it to the atmega with avrdude.

    I hope it will help.

  3. About 1 year ago, I bought the programmer proposed at http://fun4diy.com/AVRISP_mkII.htm
    I use it with the AVRISP mkII firmware and Studio 4. It works very fast.
    I can use it with avrdude but I must first uninstall the Jungo driver and replace it by Libusb.

    Jean-Marie

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s