Yahoo Groups archive

AVR-Chat

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

Thread

Tiny2313

Tiny2313

2007-02-14 by weston54

I have a Tiny2313 in an SOIC package soldered to a PCB I made, along 
with a 6 pin programming connector for my ISP MKII.  Everything was 
great until I accidentally set the fuse for an external oscillator.  
Now I get a failure 100% of the time with AVR Studio.  Is there some 
way I can reset this?  Ack!!

Mark Weston

Re: [AVR-Chat] Tiny2313

2007-02-14 by John Samperi

At 01:12 PM 14/02/2007, you wrote:
>I accidentally set the fuse for an external oscillator.
>Is there some way I can reset this?  Ack!!

You are not the first to do this :)

Feed a 1MHz clock to X1 to give the chip a clock.
The clock can be <> than 1MHz but make sure the you have the ISP
frequency set to 1/4 of whatever you feed into the chip or you
will still get errors.

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] Tiny2313

2007-02-14 by AVR Development

I had to comment.  That is a totally cool question and yeah, it made me
wonder.  I don't know, I've never done this but yeah, if there is no other
route to solution then I would somehow inject a signal at the xtal intput.
Hopefully, you can just inject the signal via a probe.  You might have to
cut a trace, I dunno.

 

A Good Thing To Know John :)  Thanks.

 

Barry
Show quoted textHide quoted text
-----Original Message-----
From: AVR-Chat@yahoogroups.com [mailto:AVR-Chat@yahoogroups.com] On Behalf
Of John Samperi
Sent: Tuesday, February 13, 2007 7:57 PM
To: AVR-Chat@yahoogroups.com
Subject: Re: [AVR-Chat] Tiny2313

 

At 01:12 PM 14/02/2007, you wrote:
>I accidentally set the fuse for an external oscillator.
>Is there some way I can reset this? Ack!!

You are not the first to do this :)

Feed a 1MHz clock to X1 to give the chip a clock.
The clock can be <> than 1MHz but make sure the you have the ISP
frequency set to 1/4 of whatever you feed into the chip or you
will still get errors.

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. <mailto:john%40ampertronics.com.au> com.au
Website http://www.ampertro <http://www.ampertronics.com.au> nics.com.au
*Electronic Design * Custom Products * Contract Assembly
********************************************************

 



[Non-text portions of this message have been removed]

Re: [AVR-Chat] Tiny2313

2007-02-14 by dlc

This nice link was passed to me on this topic:

http://www.evilmadscientist.com/article.php/avrclockbits

enjoy,
DLC

weston54 wrote:
> I have a Tiny2313 in an SOIC package soldered to a PCB I made, along 
> with a 6 pin programming connector for my ISP MKII.  Everything was 
> great until I accidentally set the fuse for an external oscillator.  
> Now I get a failure 100% of the time with AVR Studio.  Is there some 
> way I can reset this?  Ack!!
> 
> Mark Weston
> 
> 
> 
> 
> 
>  
> Yahoo! Groups Links
> 
> 
> 

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

Re: [AVR-Chat] Tiny2313

2007-02-14 by Ori Y

Hi 

You can solder 1 - 4MHz crystal to pins 4 and 5 and
try to set the fuses back again.
then remove the crystal.

good luck 

Ori


--- weston54 <weston54@yahoo.com> wrote:

> I have a Tiny2313 in an SOIC package soldered to a
> PCB I made, along 
> with a 6 pin programming connector for my ISP MKII. 
> Everything was 
> great until I accidentally set the fuse for an
> external oscillator.  
> Now I get a failure 100% of the time with AVR
> Studio.  Is there some 
> way I can reset this?  Ack!!
> 
> Mark Weston
> 
> 
> 
> 



 
____________________________________________________________________________________
The fish are biting. 
Get more visitors on your site using Yahoo! Search Marketing.
http://searchmarketing.yahoo.com/arp/sponsoredsearch_v2.php

Re: [AVR-Chat] Tiny2313

2007-02-14 by John Samperi

At 04:55 PM 14/02/2007, you wrote:
>You can solder 1 - 4MHz crystal to pins 4 and 5 and
>try to set the fuses back again.

Cannot do that if the fuses are set for external oscillator,
only if external CRYSTAL oscillator has been selected.

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] Tiny2313

2007-02-14 by Kathy Quinlan

John Samperi wrote:
> At 04:55 PM 14/02/2007, you wrote:
>> You can solder 1 - 4MHz crystal to pins 4 and 5 and
>> try to set the fuses back again.
> 
> Cannot do that if the fuses are set for external oscillator,
> only if external CRYSTAL oscillator has been selected.
> 
> Regards
> 
> John Samperi
Quick and dirty fix for these problems:

Get a square wave of any freq.(up to the max of the chip) (I use 2MHz as 
that is the fastest my signal gen will do)

use a scope probe on X1 inject the signal into the X1 input of the AVR, 
hold the probe on the pin while  you let the programmer reprogram the 
fuses correctly :)

I have rescued batches of M128's when a customer set them ALL WRONG !!!
-- 
Regards,

Kat.
---------------------------------------------------------------
  K.A.Q. Electronics     Website: www.kaqelectronics.dyndns.org
  IM: Yahoo: PinkyDwaggy MSN: katinka@kaqelectronics.dyndns.org
  For Everything Electronics 		   Phone: 0419 923 731
---------------------------------------------------------------

Re: Tiny2313

2007-02-14 by weston54

This looks great Dennis, thanks for your speedy response.  I use a
Windows computer, and it looks like AVRDUDE is linux based, at least
for the command line.  Did I miss something.  Is there still hope?

Mark Weston

Re: [AVR-Chat] Re: Tiny2313

2007-02-14 by dlc@frii.com

AVRdude is Windows, linux and Max OS X.  Just find the one that runs on
your box and go with it.

DLC
Show quoted textHide quoted text
> This looks great Dennis, thanks for your speedy response.  I use a
> Windows computer, and it looks like AVRDUDE is linux based, at least
> for the command line.  Did I miss something.  Is there still hope?
>
> Mark Weston
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>

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.