AVR ISP problem

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

Hello everybody,
I was using studio 3.65 and an AVRISP device to programme my Mega8. I upgraded to studio 4.10 and when I tried to prgramme, a pop up showed that the firmware is older and needed to be upgraded. I clicked yes and after some time the system stopped. Soon after this the avrisp stopped working. The green and red leds also stopped glowing and studio reports that it is not able to detect the device!! I am presuming that the firmware got disturbed. Is ther any way I can reprogramme this device?

Thank you.

Parthasaradhi Nayani

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

Go to the Help section and select the AVRISP. There are instructions on how to do a manual firmware update there.

Dave

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

If you sinply clicked 'yes' to reprogram, and did not follow the additional instructions that were presented, then go to the Academy and look at "Manual AVRISP firmware upgrade" which is Design Note DN010.

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

Dear friends,

Thank you all for your time to reply to my query. I have just learnt from ATMEL, on how to programme the AVRISP and felt that I should share it with you all.

The application note/ help file mentions that a target board is to be connected to the AVRISP as the power is supplied from the target. I tried this and the programmer programs the unit but fails on verification. Atmel's note, which I received, says that this will cause a problem as the target will respond to the signals on the ISP pins. Therefore the solution:

Provide connector which has only the power and ground pins connected and then programme AVRISP (no target board). I did this and it worked.

Thank you.

Parthasaradhi Nayani

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

"Provide connector which has only the power and ground pins connected and then programme AVRISP (no target board). I did this and it worked. "

I face the similiar problem with yours. When I program my mcu using STK500, it tells me to update the firmware, but I dont know how to do it.
What do you mean by Provide connector which has only the power and ground pins connected? And what is target board means?

thz so much ^^

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

The "target" or "target board" is simply the device that you are programming. On the STK500, this would be an AVR that you have plugged into one of the sockets. There is programming hardware built into the STK500 that will perform the operations necessary to write your code to the target Flash memory. As it turns out, the programmer built into the STK500 (and the AVRISP, which is quite similar) is itself based on an AVR microcontroller (two of them, actually). To support new devices, this firmware sometimes needs to be updated. It's a little easier with the STK500 - all you need to do is disconnect the little ribbon cable that you have plugged between the programming header and the header for the target device. The STK500 is powered from an external power source, unlike the AVRISP which is powered from the target board. All you should need to do is click on the OK button and the update should be done automatically.

Dave

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

I success finally. The way I update it is
1. Power off STK500
2. Remove the mcu and the ISP 6pin cable
3. Press "Program" and then power on at the same time
4. Press OK