avr programming
2012-01-09 by shirin ghanbari
Yahoo Groups archive
Index last updated: 2026-04-28 22:41 UTC
Thread
2012-01-09 by shirin ghanbari
I program the fuse bits of the avr mega under 1.5MHZ external crystal and then i can not program it it . chip enable error please help me what can i do? [Non-text portions of this message have been removed]
2012-01-21 by Zack Widup
What programmer are you using? Zack
On 1/9/12, shirin ghanbari <shivarin12@yahoo.com> wrote: > > > > I program the fuse bits of the avr mega under 1.5MHZ external crystal and > then i can not program it it . chip enable error > please help me what can i do? > > [Non-text portions of this message have been removed] > >
2012-01-21 by shirin ghanbari
paralell programer with LPT port ________________________________
From: Zack Widup <w9sz.zack@gmail.com> To: AVR-Chat@yahoogroups.com Sent: Saturday, 21 January 2012, 19:17 Subject: Re: [AVR-Chat] avr programming What programmer are you using? Zack On 1/9/12, shirin ghanbari <shivarin12@yahoo.com> wrote: > > > > I program the fuse bits of the avr mega under 1.5MHZ external crystal and > then i can not program it it . chip enable error > please help me what can i do? > > [Non-text portions of this message have been removed] > > [Non-text portions of this message have been removed]
2012-01-21 by sania safdar
g540 and ISP Best Regards Sania Safdar ________________________________
From: Zack Widup <w9sz.zack@gmail.com> To: AVR-Chat@yahoogroups.com Sent: Saturday, January 21, 2012 8:47 PM Subject: Re: [AVR-Chat] avr programming What programmer are you using? Zack On 1/9/12, shirin ghanbari <shivarin12@yahoo.com> wrote: > > > > I program the fuse bits of the avr mega under 1.5MHZ external crystal and > then i can not program it it . chip enable error > please help me what can i do? > > [Non-text portions of this message have been removed] > > [Non-text portions of this message have been removed]
2012-01-21 by shirin ghanbari
ok have parallel port & ISP ________________________________
From: sania safdar <see_wide_sea@yahoo.com> To: "AVR-Chat@yahoogroups.com" <AVR-Chat@yahoogroups.com> Sent: Saturday, 21 January 2012, 19:54 Subject: Re: [AVR-Chat] avr programming g540 and ISP Best Regards Sania Safdar ________________________________ From: Zack Widup <w9sz.zack@gmail.com> To: AVR-Chat@yahoogroups.com Sent: Saturday, January 21, 2012 8:47 PM Subject: Re: [AVR-Chat] avr programming What programmer are you using? Zack On 1/9/12, shirin ghanbari <shivarin12@yahoo.com> wrote: > > > > I program the fuse bits of the avr mega under 1.5MHZ external crystal and > then i can not program it it . chip enable error > please help me what can i do? > > [Non-text portions of this message have been removed] > > [Non-text portions of this message have been removed] [Non-text portions of this message have been removed]
2012-01-21 by Jim Wagner
The G540 does NOT work with ISP. You have to remove the mcu from your circuit and put the mcu in the programmer. ISP is "In System Programming" and works with an ISP programmer and your application board. Further, if you look on the list of supported devices, here: http://www.pic16.com/soft/G540_DeviceList.txt There is no Atmel mega or avr chip even listed. It WILL program Atmel programmable logic devices and memory, but no MCU. So, even though the heading to the product says: G540 USB Universal Programmer for EPROM FLASH GAL AVR PIC 51 Either that headline is lying or the device list is lying. Based on the list of supported devices, this device is totally useless for any atmel mcu. Jim Wagner Oregon Research Electronics On Jan 21, 2012, at 8:24 AM, sania safdar wrote: > g540 and ISP > > > Best Regards > Sania Safdar > > ________________________________ > From: Zack Widup <w9sz.zack@gmail.com> > To: AVR-Chat@yahoogroups.com > Sent: Saturday, January 21, 2012 8:47 PM > Subject: Re: [AVR-Chat] avr programming > > > > What programmer are you using? > > Zack > > On 1/9/12, shirin ghanbari <shivarin12@yahoo.com> wrote: > > > > > > > > I program the fuse bits of the avr mega under 1.5MHZ external crystal and > > then i can not program it it . chip enable error > > please help me what can i do? > > > > [Non-text portions of this message have been removed] > > > > > > [Non-text portions of this message have been removed] > > [Non-text portions of this message have been removed]
2012-01-21 by sania safdar
im nt using ISP with g540 i just have these two options for programing i hv programed atmega88 dip using g540 but its nt working Best Regards Sania Safdar ________________________________
From: Jim Wagner <wagnerj@proaxis.com> To: AVR-Chat@yahoogroups.com Sent: Saturday, January 21, 2012 9:39 PM Subject: Re: [AVR-Chat] avr programming The G540 does NOT work with ISP. You have to remove the mcu from your circuit and put the mcu in the programmer. ISP is "In System Programming" and works with an ISP programmer and your application board. Further, if you look on the list of supported devices, here: http://www.pic16.com/soft/G540_DeviceList.txt There is no Atmel mega or avr chip even listed. It WILL program Atmel programmable logic devices and memory, but no MCU. So, even though the heading to the product says: G540 USB Universal Programmer for EPROM FLASH GAL AVR PIC 51 Either that headline is lying or the device list is lying. Based on the list of supported devices, this device is totally useless for any atmel mcu. Jim Wagner Oregon Research Electronics On Jan 21, 2012, at 8:24 AM, sania safdar wrote: > g540 and ISP > > > Best Regards > Sania Safdar > > ________________________________ > From: Zack Widup <w9sz.zack@gmail.com> > To: AVR-Chat@yahoogroups.com > Sent: Saturday, January 21, 2012 8:47 PM > Subject: Re: [AVR-Chat] avr programming > > > > What programmer are you using? > > Zack > > On 1/9/12, shirin ghanbari <shivarin12@yahoo.com> wrote: > > > > > > > > I program the fuse bits of the avr mega under 1.5MHZ external crystal and > > then i can not program it it . chip enable error > > please help me what can i do? > > > > [Non-text portions of this message have been removed] > > > > > > [Non-text portions of this message have been removed] > > [Non-text portions of this message have been removed] ------------------------------------ Yahoo! Groups Links [Non-text portions of this message have been removed]
2012-01-21 by Jim Wagner
If its not "working", then it is very likely that you have NOT programmed it. Jim On Jan 21, 2012, at 2:17 PM, sania safdar wrote: > im nt using ISP with g540 i just have these two options for programing > i hv programed atmega88 dip using g540 but its nt working > > > Best Regards > Sania Safdar > > ________________________________ > From: Jim Wagner <wagnerj@proaxis.com> > To: AVR-Chat@yahoogroups.com > Sent: Saturday, January 21, 2012 9:39 PM > Subject: Re: [AVR-Chat] avr programming > > The G540 does NOT work with ISP. You have to remove the mcu from your circuit and put the mcu in the programmer. ISP is "In System Programming" and works with an ISP programmer and your application board. > > Further, if you look on the list of supported devices, here: > > http://www.pic16.com/soft/G540_DeviceList.txt > > There is no Atmel mega or avr chip even listed. It WILL program Atmel programmable logic devices and memory, but no MCU. So, even though the heading to the product says: > > G540 USB Universal Programmer for EPROM FLASH GAL AVR PIC 51 > > Either that headline is lying or the device list is lying. Based on the list of supported devices, this device is totally useless for any atmel mcu. > > Jim Wagner > Oregon Research Electronics > > On Jan 21, 2012, at 8:24 AM, sania safdar wrote: > > > g540 and ISP > > > > > > Best Regards > > Sania Safdar > > > > ________________________________ > > From: Zack Widup <w9sz.zack@gmail.com> > > To: AVR-Chat@yahoogroupscom > > Sent: Saturday, January 21, 2012 8:47 PM > > Subject: Re: [AVR-Chat] avr programming > > > > > > > > What programmer are you using? > > > > Zack > > > > On 1/9/12, shirin ghanbari <shivarin12@yahoo.com> wrote: > > > > > > > > > > > > I program the fuse bits of the avr mega under 1.5MHZ external crystal and > > > then i can not program it it . chip enable error > > > please help me what can i do? > > > > > > [Non-text portions of this message have been removed] > > > > > > > > > > [Non-text portions of this message have been removed] > > > > > > [Non-text portions of this message have been removed] > > ------------------------------------ > > Yahoo! Groups Links > > [Non-text portions of this message have been removed] > > [Non-text portions of this message have been removed]
2012-01-22 by Dave McLaughlin
Can you post the fuse settings you are using? Most of the time the reason an AVR does not work it because the fuse settings for the osc are wrong. My client had this very issue with a programmer he purchased. Check your fuse settings: Dave... -----Original Message----- From: AVR-Chat@yahoogroups.com [mailto:AVR-Chat@yahoogroups.com] On Behalf Of Jim Wagner Sent: 22 January 2012 05:59 To: AVR-Chat@yahoogroups.com Subject: Re: [AVR-Chat] avr programming If its not "working", then it is very likely that you have NOT programmed it. Jim
On Jan 21, 2012, at 2:17 PM, sania safdar wrote: > im nt using ISP with g540 i just have these two options for programing > i hv programed atmega88 dip using g540 but its nt working > > > Best Regards > Sania Safdar
2012-01-22 by Jim Wagner
Even more important is to verify whether or not you can read the device signature bytes. If you cannot, there are several possible reasons: 1) Bad wiring 2) Bad programmer settings 3) Programmer set for too high clock rate compared to MCU clock. Programmer clock must be less than 1/4 the frequency of the MCU clock. 4) Previous fuse setting which no longer gives an operating clock for the MCU. By far, the last is very common. The usual solution is to add a low frequency external oscillator to drive the X1 pin. That will provide a clock for all of the fuse error settings. Be sure to set the programmer clock to less than 1/4 the frequency of the external clock. Jim Wagner Oregon Research Electronics On Jan 21, 2012, at 7:56 PM, Dave McLaughlin wrote: > Can you post the fuse settings you are using? > > Most of the time the reason an AVR does not work it because the fuse > settings for the osc are wrong. My client had this very issue with a > programmer he purchased. > > Check your fuse settings: > > Dave... > > -----Original Message----- > From: AVR-Chat@yahoogroups.com [mailto:AVR-Chat@yahoogroups.com] On Behalf > Of Jim Wagner > Sent: 22 January 2012 05:59 > To: AVR-Chat@yahoogroups.com > Subject: Re: [AVR-Chat] avr programming > > If its not "working", then it is very likely that you have NOT programmed > it. > > Jim > On Jan 21, 2012, at 2:17 PM, sania safdar wrote: > > > im nt using ISP with g540 i just have these two options for programing > > i hv programed atmega88 dip using g540 but its nt working > > > > > > Best Regards > > Sania Safdar > > [Non-text portions of this message have been removed]
2012-01-23 by muhammad SHABBIR
Dear sania i have own build isp programmer and using since last 6 years with tiny2313 its good working. also now using with atmega 48 nice working. and now in nov 2011 i bought G540. but not checked on avr som work on eprom with g540 its good.. now tell me in detail. where is the problem. on tiny 2313 i worked with avr studio and little ave assembler. shabbir --- In AVR-Chat@yahoogroups.com, sania safdar <see_wide_sea@...> wrote:
> > g540 and ISP > > Â > Best Regards > Sania Safdar > > > > > ________________________________ > From: Zack Widup <w9sz.zack@...> > To: AVR-Chat@yahoogroups.com > Sent: Saturday, January 21, 2012 8:47 PM > Subject: Re: [AVR-Chat] avr programming > > > Â > What programmer are you using? > > Zack > > On 1/9/12, shirin ghanbari <shivarin12@...> wrote: > > > > > > > > I program the fuse bits of the avr mega under 1.5MHZ external crystal and > > then i can not program it it . chip enable error > > please help me what can i do? > > > > [Non-text portions of this message have been removed] > > > > > > > > [Non-text portions of this message have been removed] >
2012-01-23 by shirin ghanbari
i programed the fuse bits with following ckesl0=1 cksel1=0 sksel2=0 cksel3=1 and then i can not program it because the the program show chip enable error my programmer is the parallel and have isp port and have socket for mega8 with 6000000MHZ crystal when i programed it on internal crystal i do not have any problem but in external i have problem and the programmer can not erase chip or programmed it ________________________________
From: muhammad SHABBIR <moghul40@yahoo.com> To: AVR-Chat@yahoogroups.com Sent: Monday, 23 January 2012, 7:06 Subject: [AVR-Chat] Re: avr programming Dear sania i have own build isp programmer and using since last 6 years with tiny2313 its good working. also now using with atmega 48 nice working. and now in nov 2011 i bought G540. but not checked on avr som work on eprom with g540 its good.. now tell me in detail. where is the problem. on tiny 2313 i worked with avr studio and little ave assembler. shabbir --- In AVR-Chat@yahoogroups.com, sania safdar <see_wide_sea@...> wrote: > > g540 and ISP > > Â > Best Regards > Sania Safdar > > > > > ________________________________ > From: Zack Widup <w9sz.zack@...> > To: AVR-Chat@yahoogroups.com > Sent: Saturday, January 21, 2012 8:47 PM > Subject: Re: [AVR-Chat] avr programming > > > Â > What programmer are you using? > > Zack > > On 1/9/12, shirin ghanbari <shivarin12@...> wrote: > > > > > > > > I program the fuse bits of the avr mega under 1.5MHZ external crystal and > > then i can not program it it . chip enable error > > please help me what can i do? > > > > [Non-text portions of this message have been removed] > > > > > > > > [Non-text portions of this message have been removed] > [Non-text portions of this message have been removed]
2012-01-23 by wagnerj@proaxis.com
What chip? Jim Wagner
> i programed the fuse bits  with following > ckesl0=1 > cksel1=0 > sksel2=0 > cksel3=1 > > and then i can not program it because the the program show chip enable > error > my programmer is the parallel and have isp port and have socket for mega8 > with 6000000MHZ crystal > when i programed it on internal crystal i do not have any problem but in > external i have problem  and the programmer can not erase chip or > programmed it > > > ________________________________ > From: muhammad SHABBIR <moghul40@yahoo.com> > To: AVR-Chat@yahoogroups.com > Sent: Monday, 23 January 2012, 7:06 > Subject: [AVR-Chat] Re: avr programming > > >  > Dear sania > i have own build isp programmer and using since last 6 years with tiny2313 > its good working. also now using with atmega 48 nice working. and now in > nov 2011 i bought G540. but not checked on avr som work on eprom with g540 > its good.. now tell me in detail. where is the problem. on tiny 2313 i > worked with avr studio and little ave assembler. > shabbir > > --- In AVR-Chat@yahoogroups.com, sania safdar <see_wide_sea@...> wrote: >> >> g540 and ISP >> >> à>> Best Regards >> Sania Safdar >> >> >> >> >> ________________________________ >> From: Zack Widup <w9sz.zack@...> >> To: AVR-Chat@yahoogroups.com >> Sent: Saturday, January 21, 2012 8:47 PM >> Subject: Re: [AVR-Chat] avr programming >> >> >> à>> What programmer are you using? >> >> Zack >> >> On 1/9/12, shirin ghanbari <shivarin12@...> wrote: >> > >> > >> > >> > I program the fuse bits of the avr mega under 1.5MHZ external crystal >> and >> > then i can not program it it . chip enable error >> > please help me what can i do? >> > >> > [Non-text portions of this message have been removed] >> > >> > >> >> >> >> [Non-text portions of this message have been removed] >> > > > > > [Non-text portions of this message have been removed] > >
2012-01-23 by shirin ghanbari
atmega8 ________________________________
From: "wagnerj@proaxis.com" <wagnerj@proaxis.com> To: AVR-Chat@yahoogroups.com Sent: Monday, 23 January 2012, 20:21 Subject: Re: [AVR-Chat] Re: avr programming What chip? Jim Wagner > i programed the fuse bits  with following > ckesl0=1 > cksel1=0 > sksel2=0 > cksel3=1 > > and then i can not program it because the the program show chip enable > error > my programmer is the parallel and have isp port and have socket for mega8 > with 6000000MHZ crystal > when i programed it on internal crystal i do not have any problem but in > external i have problem  and the programmer can not erase chip or > programmed it > > > ________________________________ > From: muhammad SHABBIR <moghul40@yahoo.com> > To: AVR-Chat@yahoogroups.com > Sent: Monday, 23 January 2012, 7:06 > Subject: [AVR-Chat] Re: avr programming > > >  > Dear sania > i have own build isp programmer and using since last 6 years with tiny2313 > its good working. also now using with atmega 48 nice working. and now in > nov 2011 i bought G540. but not checked on avr som work on eprom with g540 > its good.. now tell me in detail. where is the problem. on tiny 2313 i > worked with avr studio and little ave assembler. > shabbir > > --- In AVR-Chat@yahoogroups.com, sania safdar <see_wide_sea@...> wrote: >> >> g540 and ISP >> >>  >> Best Regards >> Sania Safdar >> >> >> >> >> ________________________________ >> From: Zack Widup <w9sz.zack@...> >> To: AVR-Chat@yahoogroups.com >> Sent: Saturday, January 21, 2012 8:47 PM >> Subject: Re: [AVR-Chat] avr programming >> >> >>  >> What programmer are you using? >> >> Zack >> >> On 1/9/12, shirin ghanbari <shivarin12@...> wrote: >> > >> > >> > >> > I program the fuse bits of the avr mega under 1.5MHZ external crystal >> and >> > then i can not program it it . chip enable error >> > please help me what can i do? >> > >> > [Non-text portions of this message have been removed] >> > >> > >> >> >> >> [Non-text portions of this message have been removed] >> > > > > > [Non-text portions of this message have been removed] > > [Non-text portions of this message have been removed]
2012-01-23 by wagnerj@proaxis.com
That setting of CKSEL is for a low frequency crystal. That means 32KHz or so. To recover your chip, you will either need to hook up a 32KHz crystal or connect an external clock signal (maybe about 1MHz). Then you can program it again. Jim
> atmega8 > > > ________________________________ > From: "wagnerj@proaxis.com" <wagnerj@proaxis.com> > To: AVR-Chat@yahoogroups.com > Sent: Monday, 23 January 2012, 20:21 > Subject: Re: [AVR-Chat] Re: avr programming > > >  > What chip? > > Jim Wagner > >> i programed the fuse bits àwith following >> ckesl0=1 >> cksel1=0 >> sksel2=0 >> cksel3=1 >> >> and then i can not program it because the the program show chip enable >> errorà>> my programmer is the parallel and have isp port and have socket for >> mega8 >> with 6000000MHZ crystal >> when i programed it on internal crystal i do not have any problem but in >> external i have problem àand the programmer can not erase chip or >> programmed it >> >> >> ________________________________ >> From: muhammad SHABBIR <moghul40@yahoo.com> >> To: AVR-Chat@yahoogroups.com >> Sent: Monday, 23 January 2012, 7:06 >> Subject: [AVR-Chat] Re: avr programming >> >> >> à>> Dear sania >> i have own build isp programmer and using since last 6 years with >> tiny2313 >> its good working. also now using with atmega 48 nice working. and now in >> nov 2011 i bought G540. but not checked on avr som work on eprom with >> g540 >> its good.. now tell me in detail. where is the problem. on tiny 2313 i >> worked with avr studio and little ave assembler. >> shabbir >> >> --- In AVR-Chat@yahoogroups.com, sania safdar <see_wide_sea@...> wrote: >>> >>> g540 and ISP >>> >>> Ãâà>>> Best Regards >>> Sania Safdar >>> >>> >>> >>> >>> ________________________________ >>> From: Zack Widup <w9sz.zack@...> >>> To: AVR-Chat@yahoogroups.com >>> Sent: Saturday, January 21, 2012 8:47 PM >>> Subject: Re: [AVR-Chat] avr programming >>> >>> >>> Ãâà>>> What programmer are you using? >>> >>> Zack >>> >>> On 1/9/12, shirin ghanbari <shivarin12@...> wrote: >>> > >>> > >>> > >>> > I program the fuse bits of the avr mega under 1.5MHZ external crystal >>> and >>> > then i can not program it it . chip enable error >>> > please help me what can i do? >>> > >>> > [Non-text portions of this message have been removed] >>> > >>> > >>> >>> >>> >>> [Non-text portions of this message have been removed] >>> >> >> >> >> >> [Non-text portions of this message have been removed] >> >> > > > > > [Non-text portions of this message have been removed] > >
2012-01-23 by shirin ghanbari
thanks i must connect or in programmer board or connect it outside of the programmer with bredboard ________________________________
From: "wagnerj@proaxis.com" <wagnerj@proaxis.com> To: AVR-Chat@yahoogroups.com Sent: Monday, 23 January 2012, 20:25 Subject: Re: [AVR-Chat] Re: avr programming That setting of CKSEL is for a low frequency crystal. That means 32KHz or so. To recover your chip, you will either need to hook up a 32KHz crystal or connect an external clock signal (maybe about 1MHz). Then you can program it again. Jim > atmega8 > > > ________________________________ > From: "wagnerj@proaxis.com" <wagnerj@proaxis.com> > To: AVR-Chat@yahoogroups.com > Sent: Monday, 23 January 2012, 20:21 > Subject: Re: [AVR-Chat] Re: avr programming > > >  > What chip? > > Jim Wagner > >> i programed the fuse bits  with following >> ckesl0=1 >> cksel1=0 >> sksel2=0 >> cksel3=1 >> >> and then i can not program it because the the program show chip enable >> error >> my programmer is the parallel and have isp port and have socket for >> mega8 >> with 6000000MHZ crystal >> when i programed it on internal crystal i do not have any problem but in >> external i have problem  and the programmer can not erase chip or >> programmed it >> >> >> ________________________________ >> From: muhammad SHABBIR <moghul40@yahoo.com> >> To: AVR-Chat@yahoogroups.com >> Sent: Monday, 23 January 2012, 7:06 >> Subject: [AVR-Chat] Re: avr programming >> >> >>  >> Dear sania >> i have own build isp programmer and using since last 6 years with >> tiny2313 >> its good working. also now using with atmega 48 nice working. and now in >> nov 2011 i bought G540. but not checked on avr som work on eprom with >> g540 >> its good.. now tell me in detail. where is the problem. on tiny 2313 i >> worked with avr studio and little ave assembler. >> shabbir >> >> --- In AVR-Chat@yahoogroups.com, sania safdar <see_wide_sea@...> wrote: >>> >>> g540 and ISP >>> >>>  >>> Best Regards >>> Sania Safdar >>> >>> >>> >>> >>> ________________________________ >>> From: Zack Widup <w9sz.zack@...> >>> To: AVR-Chat@yahoogroups.com >>> Sent: Saturday, January 21, 2012 8:47 PM >>> Subject: Re: [AVR-Chat] avr programming >>> >>> >>>  >>> What programmer are you using? >>> >>> Zack >>> >>> On 1/9/12, shirin ghanbari <shivarin12@...> wrote: >>> > >>> > >>> > >>> > I program the fuse bits of the avr mega under 1.5MHZ external crystal >>> and >>> > then i can not program it it . chip enable error >>> > please help me what can i do? >>> > >>> > [Non-text portions of this message have been removed] >>> > >>> > >>> >>> >>> >>> [Non-text portions of this message have been removed] >>> >> >> >> >> >> [Non-text portions of this message have been removed] >> >> > > > > > [Non-text portions of this message have been removed] > > [Non-text portions of this message have been removed]