| Author |
Message |
|
|
Posted: Mar 16, 2011 - 02:43 PM |
|

Joined: Mar 18, 2009
Posts: 34
|
|
Hello,
I couldn't find the ATmega8 in the AVR Programming list. Only the ATmega8U2 is listed. But if I read the device ID the JTAG ICE mkII detect the right device.
Look at the pictures.
Can any one help me? |
_________________ If someone finds an error it can keep!
|
| |
|
|
|
|
|
Posted: Mar 16, 2011 - 03:10 PM |
|


Joined: Jul 18, 2005
Posts: 62299
Location: (using avr-gcc in) Finchingfield, Essex, England
|
|
| I wonder if this is because (even for ISP) they only offer devices that have JTAG, PDI or debugWire? I don't think AS4 had such a limitation so you are probably better off sticking with that until they finish writing AS5. |
_________________
|
| |
|
|
|
|
|
Posted: Mar 16, 2011 - 03:20 PM |
|

Joined: Nov 17, 2004
Posts: 13840
Location: Vancouver, BC
|
|
| Rather odd. For the JTAGICE MkII I get the same result as you. For the STK600 I get the mega8A (which should work for a mega8), as well as the mega8515 and mega8535, but I don't get the mega649P. You would think that the ISP list would be the same for both devices. |
_________________ Regards,
Steve A.
The Board helps those that help themselves.
|
| |
|
|
|
|
|
Posted: Mar 16, 2011 - 03:58 PM |
|


Joined: Nov 01, 2005
Posts: 6324
Location: Hilversum - the Netherlands
|
|
Mega8 is not fully supported yet in AS5.
I reported that when I tried to use the Dragon as ISP-programmer under AS5. And was told that that info is in the releasenotes of AS5: it was there
For my current project (mega8) I use AS4 until this issue is fixed. |
_________________ Dragon broken ? Or problems with the Parallel Port Programmer ? Scroll down on my projects-page http://www.aplomb.nl/TechStuff/TechStuff.html for tips
|
| |
|
|
|
|
|
Posted: Mar 16, 2011 - 05:50 PM |
|

Joined: Mar 18, 2009
Posts: 34
|
|
I looked at the AVR Studio 4 but there is also no ATmega8 to programming.
Could I use the STK500 for programming or is it possible to program the ATmega8 with the JTAGIce mkII? |
_________________ If someone finds an error it can keep!
|
| |
|
|
|
|
|
Posted: Mar 16, 2011 - 05:54 PM |
|

Joined: Mar 18, 2009
Posts: 34
|
|
If I select the ATmega8U2 I can read the FUSE bits and so on.
But if I try to program I got a error message! |
_________________ If someone finds an error it can keep!
|
| |
|
|
|
|
|
Posted: Mar 16, 2011 - 06:04 PM |
|


Joined: Jul 18, 2005
Posts: 62299
Location: (using avr-gcc in) Finchingfield, Essex, England
|
|
|
Quote:
Could I use the STK500 for programming or is it possible to program the ATmega8 with the JTAGIce mkII?
If all else fails then avrdude will do it. It's always been better programming software than anything Atmel has offered. |
_________________
|
| |
|
|
|
|
|
Posted: Mar 16, 2011 - 07:11 PM |
|

Joined: Mar 18, 2009
Posts: 34
|
|
So I build a programming cable to use the atmega8 with the STK500.
It runs right. I hope the Studio 5 get full support for all ATmega!!!
Thanks at all!!  |
_________________ If someone finds an error it can keep!
|
| |
|
|
|
|
|
Posted: Mar 16, 2011 - 07:14 PM |
|

Joined: Nov 17, 2004
Posts: 13840
Location: Vancouver, BC
|
|
|
Quote:
If I select the ATmega8U2
The mega8U is a very different chip from the mega8. You won't be able to get results with that. |
_________________ Regards,
Steve A.
The Board helps those that help themselves.
|
| |
|
|
|
|
|
Posted: Apr 21, 2011 - 10:02 PM |
|

Joined: Jul 19, 2007
Posts: 1
|
|
| I was surprised too. I'm using avr dragon and avr studio 5 dont see atmega8. I looked in the C:\Program Files (x86)\Atmel\AVR Studio 5.0\devices the ATmega8.xml file exists. So because my programmer is avrdragon I copied C:\Program Files (x86)\Atmel\AVR Studio 5.0\tools\AVRDragon\xml\ATmega88_AVRDragon.xml to C:\Program Files (x86)\Atmel\AVR Studio 5.0\tools\AVRDragon\xml\ATmega8_AVRDragon.xml and inside file changed <device name="ATmega8"> instead of (<device name="ATmega88">). Restarted avr studio and then my avr dragon saw the device, and signatures was ok and device reading (fuses) was ok and new software runs fine. |
|
|
| |
|
|
|
|
|
Posted: Apr 23, 2011 - 01:07 PM |
|

Joined: Apr 30, 2010
Posts: 58
Location: 6000 feet above sea level
|
|
|
flomll wrote:
So I build a programming cable to use the atmega8 with the STK500.
It runs right. I hope the Studio 5 get full support for all ATmega!!!
Thanks at all!!
Why? The ATmega8 plugs straight into the STK500. |
|
|
| |
|
|
|
|
|
Posted: Aug 03, 2011 - 02:52 PM |
|

Joined: Jun 16, 2010
Posts: 371
|
|
I'm using JTAGICE mkii to program ATmega8 in ISP mode with connection how showed in
Quote:
http://support.atmel.no/knowledgebase/avrstudiohelp/mergedProjects/JTAGICEmkII/mkII/JTAGICEmkII.htm#Html/JTAGICE_mkII_Programming_with_JTAGICE_mkII.htm
with AS5 and it works.
I followed the suggestion of mindziux:
Quote:
I copied C:\Program Files (x86)\Atmel\AVR Studio 5.0\tools\AVRDragon\xml\ATmega88_AVRDragon.xml to C:\Program Files (x86)\Atmel\AVR Studio 5.0\tools\AVRDragon\xml\ATmega8_AVRDragon.xml and inside file changed <device name="ATmega8"> instead of (<device name="ATmega88">). Restarted avr studio and then my avr dragon saw the device, and signatures was ok and device reading (fuses) was ok and new software runs fine.
|
|
|
| |
|
|
|
|
|
Posted: Feb 13, 2012 - 07:08 AM |
|

Joined: Nov 11, 2009
Posts: 4
|
|
Thanks mindziux! 10 months later, and AS5 STILL doesn't have ATMega8. I just bought a Dragon, and was annoyed that I couldn't program my old stock of Mega8's. Tried mindziux's solution, and it seems to work OK.
Don't know why Atmel doesn't fix this? The Dragon marketing info and the user guide says the Mega8 is supported! Atmel needs to either fix the problem or fix the documentation. |
|
|
| |
|
|
|
|
|
Posted: Feb 13, 2012 - 09:29 AM |
|


Joined: Jul 18, 2005
Posts: 62299
Location: (using avr-gcc in) Finchingfield, Essex, England
|
|
|
Quote:
Thanks mindziux! 10 months later, and AS5 STILL doesn't have ATMega8.
Not entirely true. What you mean is that it doesn't have Dragon support... (which is a bit of a shame!) |
_________________
|
| |
|
|
|
|
|
Posted: Mar 30, 2012 - 08:36 PM |
|


Joined: Dec 15, 2003
Posts: 4402
Location: Slovakia, Bratislava
|
|
| Seriously, how hard is it to add one bloody chip? Does anyone know if there is the support for this in AVRStudio 6? Or have they done with actually programming the ICs all together? |
_________________ There are pointy haired bald people.
Time flies when you have a bad prescaler selected.
|
| |
|
|
|
|
|
Posted: Jun 27, 2012 - 06:46 PM |
|

Joined: Dec 18, 2009
Posts: 75
|
|
| nope .... its not present in avrstudio6 .... |
|
|
| |
|
|
|
|
|
Posted: Jun 27, 2012 - 06:55 PM |
|


Joined: Jul 18, 2005
Posts: 62299
Location: (using avr-gcc in) Finchingfield, Essex, England
|
|
|
Quote:
nope .... its not present in avrstudio6 ....
Yes it is (just checked and AS6 agrees with my picture attachement above). You can program the chip as long as you have AVRISPmkII, STK500 or STK600. It's just the ICEs that are omitted.
Simplest solution to use an ICE is avrdude (you can add a toolbar button/icon for it in AS6). |
_________________
|
| |
|
|
|
|
|
Posted: Jun 27, 2012 - 11:49 PM |
|


Joined: Mar 28, 2001
Posts: 20372
Location: Sydney, Australia (Gum trees, Koalas and Kangaroos, No Edelweiss)
|
|
|
Quote:
It's just the ICEs that are omitted.
There is NO debug facilities in the M8 apart maybe for the ICE40 or ICE50 which may no longer be supported. |
_________________ John Samperi
Ampertronics Pty. Ltd.
www.ampertronics.com.au
* Electronic Design * Custom Products * Contract Assembly
|
| |
|
|
|
|
|
Posted: Jun 28, 2012 - 09:16 AM |
|


Joined: Jul 18, 2005
Posts: 62299
Location: (using avr-gcc in) Finchingfield, Essex, England
|
|
|
Quote:
There is NO debug facilities in the M8 apart
John you miss the point. It's because the M8 has no debug that they knock the JATGICEmkII, JTAGICE3, Dragon and AVR One! off the list of "supported devices" but all of those devices *can* ISP the device - but the user isn't allowed to do this - avrdude has no such limitation. |
_________________
|
| |
|
|
|
|
|
Posted: Jun 28, 2012 - 10:39 PM |
|


Joined: Mar 28, 2001
Posts: 20372
Location: Sydney, Australia (Gum trees, Koalas and Kangaroos, No Edelweiss)
|
|
|
Quote:
they knock the JATGICEmkII, JTAGICE3, Dragon and AVR One! off the list of "supported devices"
Yet another reason not to download AS6, I need to look at the list there must be at least about a zillion of them by now.  |
_________________ John Samperi
Ampertronics Pty. Ltd.
www.ampertronics.com.au
* Electronic Design * Custom Products * Contract Assembly
|
| |
|
|
|
|
|
Posted: Oct 18, 2012 - 12:51 PM |
|

Joined: Mar 08, 2002
Posts: 13
|
|
| copying file /tools/JTAGICEmkII/xml/ATmega88_JTAGICEmkII.xml to /tools/JTAGICEmkII/xml/ATmega8_JTAGICEmkII.xml and changing <device name="ATmega88"> to <device name="ATmega8"> works. You must restart AVRStudio5 then. It should work also with dragon in different dir as posted earlier. |
|
|
| |
|
|
|
|
|
Posted: Oct 18, 2012 - 01:02 PM |
|


Joined: Jul 27, 2011
Posts: 541
Location: Atmel, Norway
|
|
|
cancel wrote:
copying file /tools/JTAGICEmkII/xml/ATmega88_JTAGICEmkII.xml to /tools/JTAGICEmkII/xml/ATmega8_JTAGICEmkII.xml and changing <device name="ATmega88"> to <device name="ATmega8"> works. You must restart AVRStudio5 then. It should work also with dragon in different dir as posted earlier.
Just a note on this: ICE support for Mega8 was added in Studio 6 SP1 |
_________________ :: Morten
|
| |
|
|
|
|
|
Posted: Oct 18, 2012 - 01:04 PM |
|


Joined: Jul 18, 2005
Posts: 62299
Location: (using avr-gcc in) Finchingfield, Essex, England
|
|
|
Quote:
ICE support
presumably you mean ISP programming using an ICE? To actually add InCircuit Emulation support to a mega8 would take nothing short of an act of God.  |
_________________
|
| |
|
|
|
|
|
Posted: Oct 18, 2012 - 01:10 PM |
|


Joined: Jul 27, 2011
Posts: 541
Location: Atmel, Norway
|
|
|
clawson wrote:
Quote:
ICE support
presumably you mean ISP programming using an ICE? To actually add InCircuit Emulation support to a mega8 would take nothing short of an act of God.
Ups ... I meant that ICEs now are allowed to program some chips that do not have a OCD, notably mega8, mega8515 and mega8535..
Now, more coffee obviously |
_________________ :: Morten
|
| |
|
|
|
|
|