Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Thread

Can program a 90S2313 only once with AVRISP 2?

Can program a 90S2313 only once with AVRISP 2?

2008-01-27 by dlc

Hey guys,

   I've an odd problem.  I've found that I can program a 90S2313 only 
once with an AVRISPv2 using avrdude.  I suspect strongly that this is 
the AVRISP 2's fault and not avrdude, but I thought that someone else 
may have seen this oddity and offer comfort or perhaps "wedgie release" 
hints. :)

   The program is a toy program that just blinks an LED but since the 
programmer yanks the reset line, that shouldn't matter in this issue.  I 
play on the Macintosh with AVR's however I've tried this similar program 
from a Windows box using the parallel port, that works, and on my G4 
iBook using both an Atmel AVRISP and a Pololu AVRISP 2 clone.  The 
AVRISP 2 works fine with other devices like the Mega168, Mega128 and 
Mega8535, but this 2313 is a puzzler.

Has anyone else seen this?

thanks,
DLC
-- 
-------------------------------------------------
Dennis Clark          TTT Enterprises
www.techtoystoday.com
-------------------------------------------------

Re: [AVR-Chat] Can program a 90S2313 only once with AVRISP 2?

2008-01-27 by Enki

I remember the good old AT90S2313 needed to be erased before 
reprogramming if the lock fuses were set.
	Newer chips don't need to be erased first.

	Mark Jordan
Show quoted textHide quoted text
On 27 Jan 2008 at 8:32, dlc wrote:

> Hey guys,
> 
>    I've an odd problem.  I've found that I can program a 90S2313 only 
> once with an AVRISPv2 using avrdude.  I suspect strongly that this is 
> the AVRISP 2's fault and not avrdude, but I thought that someone else 
> may have seen this oddity and offer comfort or perhaps "wedgie release" 
> hints. :)
> 
>    The program is a toy program that just blinks an LED but since the 
> programmer yanks the reset line, that shouldn't matter in this issue.  I 
> play on the Macintosh with AVR's however I've tried this similar program 
> from a Windows box using the parallel port, that works, and on my G4 
> iBook using both an Atmel AVRISP and a Pololu AVRISP 2 clone.  The 
> AVRISP 2 works fine with other devices like the Mega168, Mega128 and 
> Mega8535, but this 2313 is a puzzler.
> 
> Has anyone else seen this?
> 
> thanks,
> DLC
> -- 
> -------------------------------------------------
> Dennis Clark          TTT Enterprises
> www.techtoystoday.com
> -------------------------------------------------
> 
> 
>  
> Yahoo! Groups Links
> 
> 
>

Re: [AVR-Chat] Can program a 90S2313 only once with AVRISP 2?

2008-01-27 by dlc

So does this mean that the AVRISP does this step before programming and 
the AVRISP 2 doesn't?

DLC

Enki wrote:
> 	I remember the good old AT90S2313 needed to be erased before 
> reprogramming if the lock fuses were set.
> 	Newer chips don't need to be erased first.
> 
> 	Mark Jordan
> 
> 
> On 27 Jan 2008 at 8:32, dlc wrote:
> 
>> Hey guys,
>>
>>    I've an odd problem.  I've found that I can program a 90S2313 only 
>> once with an AVRISPv2 using avrdude.  I suspect strongly that this is 
>> the AVRISP 2's fault and not avrdude, but I thought that someone else 
>> may have seen this oddity and offer comfort or perhaps "wedgie release" 
>> hints. :)
>>
>>    The program is a toy program that just blinks an LED but since the 
>> programmer yanks the reset line, that shouldn't matter in this issue.  I 
>> play on the Macintosh with AVR's however I've tried this similar program 
>> from a Windows box using the parallel port, that works, and on my G4 
>> iBook using both an Atmel AVRISP and a Pololu AVRISP 2 clone.  The 
>> AVRISP 2 works fine with other devices like the Mega168, Mega128 and 
>> Mega8535, but this 2313 is a puzzler.
>>
>> Has anyone else seen this?
>>
>> thanks,
>> DLC
>> -- 
>> -------------------------------------------------
>> Dennis Clark          TTT Enterprises
>> www.techtoystoday.com
>> -------------------------------------------------
>>
>>
>>  
>> Yahoo! Groups Links
>>
>>
>>
> 
> 
> 
> 
>  
> Yahoo! Groups Links
> 
> 
> 

-- 
-------------------------------------------------
Dennis Clark          TTT Enterprises
www.techtoystoday.com
-------------------------------------------------

Re: [AVR-Chat] Can program a 90S2313 only once with AVRISP 2?

2008-01-27 by John Samperi

At 06:29 AM 28/01/2008, you wrote:
>So does this mean that the AVRISP does this step before programming and
>the AVRISP 2 doesn't?

I thought the MK2 does not support older chips anyway,
....unless one massages the chip's xml file????

There could be an option to erase before program, I use
Windows and Studio and life is a lot easier :-)


Regards

John Samperi

********************************************************
Ampertronics Pty. Ltd.
11 Brokenwood Place Baulkham Hills, NSW 2153 AUSTRALIA
Tel. (02) 9674-6495       Fax (02) 9674-8745
Email: john@ampertronics.com.au
Website  http://www.ampertronics.com.au
*Electronic Design * Custom Products * Contract Assembly
********************************************************

Re: [AVR-Chat] Can program a 90S2313 only once with AVRISP 2?

2008-01-27 by dlc

John Samperi wrote:
> At 06:29 AM 28/01/2008, you wrote:
>> So does this mean that the AVRISP does this step before programming and
>> the AVRISP 2 doesn't?
> 
> I thought the MK2 does not support older chips anyway,
> ....unless one massages the chip's xml file????

   It appears to, sometimes and sort of.  The Mega8535 seems OK but this 
90S2313 is an oddity - I'll see if there is something in avrdude that I 
can set up to add an extra erase in at the beginning.  It shouldn't be 
too hard.  It seemed OK with the device and it _did_ do it once...

> There could be an option to erase before program, I use
> Windows and Studio and life is a lot easier :-)

   I guess that I'm just a trouble maker. ;)  I use a Mac 99% of the time.

thanks,
DLC

> 
> Regards
> 
> John Samperi
> 
> ********************************************************
> Ampertronics Pty. Ltd.
> 11 Brokenwood Place Baulkham Hills, NSW 2153 AUSTRALIA
> Tel. (02) 9674-6495       Fax (02) 9674-8745
> Email: john@ampertronics.com.au
> Website  http://www.ampertronics.com.au
> *Electronic Design * Custom Products * Contract Assembly
> ********************************************************
> 
> 
> 
>  
> Yahoo! Groups Links
> 
> 
> 

-- 
-------------------------------------------------
Dennis Clark          TTT Enterprises
www.techtoystoday.com
-------------------------------------------------

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.