Yahoo Groups archive

AVR-Chat

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

Thread

why my microcontroller usually broken?

why my microcontroller usually broken?

2007-02-25 by eka maulana

I have a problem with  my  AVR microcontroller (atmega16,  atmega32L and atmega8535L), I used ISP to program this microcontroller  with  CodeVisionAVR. Why did the MCU often broken after being  programmed. It happen to MCU ATMega16 and ATMega32L, but not to  ATMega8535L. 
  I used eksternal clock 8 MHz for programming my project.
  Thank you very much..
  
 
---------------------------------
Expecting? Get great news right away with email Auto-Check.
Try the Yahoo! Mail Beta.

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

Re: [AVR-Chat] why my microcontroller usually broken?

2007-02-26 by np np

Sounds like an programming overvoltage problem.
Are you sure you have the right volts to program it?

www.ckp-railways.talktalk.net/pcbcad21.htm



eka maulana <maula_eka@yahoo.com> wrote:                                  I have a problem with  my  AVR microcontroller (atmega16,  atmega32L and atmega8535L), I used ISP to program this microcontroller  with  CodeVisionAVR. Why did the MCU often broken after being  programmed. It happen to MCU ATMega16 and ATMega32L, but not to  ATMega8535L. 
   I used eksternal clock 8 MHz for programming my project.
   Thank you very much..
   
  
 ---------------------------------
 Expecting? Get great news right away with email Auto-Check.
 Try the Yahoo! Mail Beta.
 
 [Non-text portions of this message have been removed]
 
 
     
                       

 		
---------------------------------
 What kind of emailer are you? Find out today - get a free analysis of your email personality. Take the quiz at the Yahoo! Mail Championship.

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

Re: [AVR-Chat] why my microcontroller usually broken?

2007-02-26 by John Samperi

At 01:37 AM 26/02/2007, you wrote:
>   I used eksternal clock 8 MHz for programming my project.

What are you using as an external clock source? Is it working
and is the external clock being fed to the correct pin?

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] why my microcontroller usually broken?

2007-02-26 by eka maulana

I used buffer 74HC244 in my writer and voltage 5,12 volt. Is that voltage dangerous for the mCU(atmega32L)? 
  The mCu controlled driver stepper motor dan driver DC motor with IC  L298. Is the mCU current drop-out? or is the driver motor cause that  mcu broken?
  
  Thanks for your answer..

np np <harrabylad@yahoo.co.uk> wrote:                                                  Sounds like an programming overvoltage problem.
  Are you sure you have the right volts to program it?
  
  www.ckp-railways.talktalk.net/pcbcad21.htm
  
  eka maulana <maula_eka@yahoo.com>  wrote: I have a problem with my AVR microcontroller (atmega16,  atmega32L and atmega8535L),  I used ISP to program this microcontroller with CodeVisionAVR. Why did  the MCU often broken after being programmed. It happen to MCU ATMega16  and ATMega32L, but not to ATMega8535L. 
     I used eksternal clock 8 MHz for programming my project.
     Thank you very much..
     
    
   ---------------------------------
   Expecting? Get great news right away with email Auto-Check.
   Try the Yahoo! Mail Beta.
   
   [Non-text portions of this message have been removed]
   
   
       
                         
  
    
  ---------------------------------
  What kind of emailer are you? Find out today - get a free analysis of  your email personality. Take the quiz at the Yahoo! Mail Championship.
  
  [Non-text portions of this message have been removed]
  
  
      
                                    

 
---------------------------------
Finding fabulous fares is fun.
Let Yahoo! FareChase search your favorite travel sites to find flight and hotel bargains.

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

Re: [AVR-Chat] why my microcontroller usually broken?

2007-02-26 by eka maulana

yes, i used external clock source from 8 MHz crystal. I was check  external clock to the correct pin. At the first time the project  normaly running, but after last time that project can't running and  can't programming.
  Is the problem caused over current from my powersupply? I used regulator IC LM7805.

John Samperi <samperi@ampertronics.com.au> wrote:                                                  At 01:37 AM 26/02/2007, you wrote:
  >   I used eksternal clock 8 MHz for programming my project.
  
  What are you using as an external clock source? Is it working
  and is the external clock being fed to the correct pin?
  
  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
  ********************************************************
  
  
      
                                    

 
---------------------------------
 Get your own web address.
 Have a HUGE year through Yahoo! Small Business.

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

Re: [AVR-Chat] why my microcontroller usually broken?

2007-02-26 by John Samperi

At 02:04 AM 27/02/2007, you wrote:
>  i used external clock source from 8 MHz crystal. I was 
> check  external clock to the correct pin.

This is still NOT CLEAR. Are you using an external clock source
like a canned oscillator feeding into X1 or are you using the
external CRYSTAL oscillator connected to X1 and X2 with the
appropriate caps?

The 2 are completely different and if you have set the fuses for
EXTERNAL oscillator rather than EXTERNAL CRYSTAL oscillator then
you don't have a clock and will need to use some oscillator
(maybe 1 MHz) fed into X1 in order to get the programmer to work
again and set your fuses correctly.

This is a very common problem as people get confused by the
2 types, especially when you use a parallel port type
programmer instead of a serial type connected to Studio
which makes things 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] why my microcontroller usually broken?

2007-02-26 by Cat C

>This is a very common problem as people get confused by the
>2 types, especially when you use a parallel port type
>programmer instead of a serial type connected to Studio
>which makes things a lot easier.

How does the type of programmer affect the confusion?

Thanks,

Cat

_________________________________________________________________
http://local.live.com/default.aspx?v=2&cp=43.658648~-79.383962&style=r&lvl=15&tilt=-90&dir=0&alt=-1000&scene=3702663&cid=7ABE80D1746919B4!1329 
From January 26 to February 8, 2007

Re: [AVR-Chat] why my microcontroller usually broken?

2007-02-26 by John Samperi

At 05:52 AM 27/02/2007, you wrote:
>How does the type of programmer affect the confusion?

Because one usually has to try and understand all about
SUT and other cryptic bits and the fact that a 0 means
programmed etc. In Studio you will simply pick a proper
oscillator type which is clearly spelled out such as
EXTERNAL oscillator or EXTERNAL CRYSTAL oscillator , the
frequency range, start up time etc in a drop down list.

You will still need to understand the difference between
the 2 but it is less likely to confuse one. At least I have
NEVER messed up the fuses in any chip un the past 7 years
or so...perhaps I'm SOOOO GOOOD :-D :-D

Parallel port programmer have not been supported by Studio
for a long time, so one has to get something else as a
programmer interface. There seem to be some good GUIs for
parallel port programmers too but still seem to talk
about SUT bits etc.



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] why my microcontroller usually broken?

2007-02-26 by Cat C

Thanks John.
I don't have a serial, so I didn't know... I only used the studio to program 
the butterfly, that uses a loader over the serial port, and emulates 
something... forgot what...

You must be that good ;-)

I managed to "mis-configure" an ATmega88, as I thought it was a mega8... so 
now it will have to wait until I can find a low freq. crystal...

So one can always do daft things if one tries hard enough, or enough times 
:-D

Cat

BTW - what is the SUT?

_________________________________________________________________
Free Alerts�: Be smart - let your information find you�! 
http://alerts.live.com/Alerts/Default.aspx

Re: [AVR-Chat] why my microcontroller usually broken?

2007-02-26 by John Samperi

At 07:15 AM 27/02/2007, you wrote:
>BTW - what is the SUT?

Start Up Time fuse bits, together with the CKSEL fuse
bits land a lot of people in trouble with unusable chips :)
Look up the data sheets under "System Clock and Clock Options"


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] why my microcontroller usually broken?

2007-02-27 by Cat C

Thanks John,
I just didn't know they were called SUT.

Cat

----Original Message Follows----
Show quoted textHide quoted text
From: John Samperi <samperi@ampertronics.com.au>
Reply-To: AVR-Chat@yahoogroups.com
To: AVR-Chat@yahoogroups.com
Subject: Re: [AVR-Chat] why my microcontroller usually broken?
Date: Tue, 27 Feb 2007 09:55:50 +1100

At 07:15 AM 27/02/2007, you wrote:
 >BTW - what is the SUT?

Start Up Time fuse bits, together with the CKSEL fuse
bits land a lot of people in trouble with unusable chips :)
Look up the data sheets under "System Clock and Clock Options"


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



_________________________________________________________________
Don�t waste time standing in line�try shopping online. Visit Sympatico / MSN 
Shopping today! http://shopping.sympatico.msn.ca

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.