Yahoo Groups archive

AVR-Chat

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

Messages

Browse messages

Page 18 of 307 · 15341 messages matched

aviation use of atmega's

2012-01-25 by ki0bk

I'm getting ready to start a project the will be used in an aircraft, we are looking at using an atmega48/88/168 depending on code size and wanted to know if anyone has done this before. If so, what mega avr did you use? -Jim

Thread view Attachments: 0

Re: [AVR-Chat] Question Regarding AVR Dragon

2012-01-23 by fireweaver

One way to protect the board from static and other damage is to physically mount it to a piece of sheet metal that is about 10mm larger (length x width) than the board you are mounting it to. Drill the sheet aluminium to accommodate whatever mounting holes are in the Dragon board

Thread view Attachments: 0

RE: [AVR-Chat] assembler macros

2012-01-23 by Steven Hodge

Thanks for looking at it, John. I think it must be some sort of assembler bug. Steve From: AVR-Chat@yahoogroups.com [mailto:AVR-Chat@yahoogroups.com] On Behalf Of John Samperi Sent: Monday, January 23, 2012 12:34 PM To: AVR-Chat@yahoogroups.com Subject: RE: [AVR-Chat] assembler m

Thread view Attachments: 0

RE: [AVR-Chat] assembler macros

2012-01-23 by John Samperi

At 07:21 AM 24/01/2012, you wrote: >Why does the parameter substitution not work? Steve OK I now see what you are trying to do but have no idea how to fix it, sorry. :-) Regards John Samperi ******************************************************** Ampertronics Pty. Ltd. 11 Broken

Thread view Attachments: 0

RE: [AVR-Chat] assembler macros

2012-01-23 by Steven Hodge

I want the routine to end up being named "usart0_Init" and that is what the call instruction uses. The name inside the macro definition has "@0" in it so that I'm hoping the "@0" will get replaced with the value "0" when the macro is invoked, to end up with just "usart0_Init" as

Thread view Attachments: 0

RE: [AVR-Chat] assembler macros

2012-01-23 by John Samperi

At 07:00 AM 24/01/2012, you wrote: >I don't understand. Neither do I :-) , you are calling the routine usart@0_Init: and NOT usart0_Init: see the extra @? Regards John Samperi ******************************************************** Ampertronics Pty. Ltd. 11 Brokenwood Place Baul

Thread view Attachments: 0

RE: [AVR-Chat] assembler macros

2012-01-23 by Steven Hodge

I don't understand. In the code snippet that doesn't work, "@0" is inside the macro definition. Why then does it not get expanded to just "0" when the macro gets expanded with "@0" set to "0", so there ends up being no "@" in the name of the routine? Steve From: AVR-Chat@yahoogro

Thread view Attachments: 0

Re: [AVR-Chat] assembler macros

2012-01-23 by John Samperi

At 05:27 AM 24/01/2012, you wrote: >usart0_Init" error: > >.MACRO _USART_INIT >usart@0_Init: It would be an error if you have the extra @ in the name of the routine. Regards John Samperi ******************************************************** Ampertronics Pty. Ltd. 11 Brokenwood

Thread view Attachments: 0

assembler macros

2012-01-23 by Steven Hodge

Is there some restriction about using a macro parameter in a label? The following code will not work. It gives an "undefined symbol: usart0_Init" error: .MACRO _USART_INIT usart@0_Init: .... code using @0 parameter ............ .ENDMACRO ..... call usart0_Init ..... _USART_INIT 0

Thread view Attachments: 0

Re: [AVR-Chat] Re: avr programming

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" To: AVR-Chat@yahoogroups.com Sent: Monday, 23 January 2012, 20:25 Subject: Re: [AVR-Chat] Re: avr programming That sett

Thread view Attachments: 0

Re: [AVR-Chat] Re: avr programming

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 > > > _________________________

Thread view Attachments: 0

Re: [AVR-Chat] Re: avr programming

2012-01-23 by shirin ghanbari

atmega8 ________________________________ From: "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 >

Thread view Attachments: 0

Re: [AVR-Chat] Re: avr programming

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 60

Thread view Attachments: 0

Re: [AVR-Chat] Re: avr programming

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 inter

Thread view Attachments: 0

Re: Question Regarding AVR Dragon

2012-01-23 by greggy

Hiya Plons(Nard) has done a lot of work in protecting Dragons. Read all of this... http://www.avrfreaks.net/index.php?name=PNphpBB2&file=viewtopic&p=813448 --greg --- In AVR-Chat@yahoogroups.com, "Ahmed" wrote: > > Hey all, > I recently got an AVR Dragon for doing some hobby proj

Thread view Attachments: 0

Re: Question Regarding AVR Dragon

2012-01-23 by ecros_technology

--- In AVR-Chat@yahoogroups.com, "Ahmed" wrote: > > The AVR Dragon is ... an uncovered PCB > ... Can any one suggest me how to > protect it from static damage. Just use normal precautions, i.e. don't stroke the cat or shuffle across a nylon carpet in rubber-soled shoes and then p

Thread view Attachments: 0

Question Regarding AVR Dragon

2012-01-23 by Ahmed

Hey all, I recently got an AVR Dragon for doing some hobby project. The AVR Dragon is pretty much an uncovered PCB prone to static damage. Can any one suggest me how to protect it from static damage. Any easy method suggested will be much appreciated. Cheers :)

Thread view Attachments: 0

Re: [AVR-Chat] (unknown)

2012-01-23 by R E Purcella

The problem is that studio 4 doesn't support TPI programming, but studio 5 does. Updating gcc is fine, but can we get a firmware upgrade for programming platforms like stk500 to support TPI? Studio 5 isn't quite easy to use as 4, but eventually it worked for me. It appears to me

Thread view Attachments: 0

Re: [AVR-Chat] (unknown)

2012-01-23 by Jim Wagner

Studio5 has been the subject of extended discussion on the AVRFreaks web site. It has the potential for being pretty good, but there are currently many problems. These problems do seem to be repaired over time, but it is awfully slow and does NOT give me great confidence. This is

Thread view Attachments: 0

Re: [AVR-Chat] (unknown)

2012-01-23 by Bruce

Jim, I am a hobbyist. Been using Studio 4. Upgraded to Studio 5. I was so disappointed in 5, that I decided 4 wasn't broken and went back to Studio 4. Any idea what the deal with AVR and Studio 5 ? I hope this is not the future. Bruce On 1/21/2012 11:12 AM, Jim Wagner wrote: > Th

Thread view Attachments: 0

Re: avr programming

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

Thread view Attachments: 0

Re: [AVR-Chat] avr programming

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

Thread view Attachments: 0

RE: [AVR-Chat] avr programming

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-

Thread view Attachments: 0

Re: [AVR-Chat] avr programming

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 Regar

Thread view Attachments: 0

Re: [AVR-Chat] avr programming

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 To: AVR-Chat@yahoogroups.com Sent: Saturday, January 21, 2012 9:39 PM Subje

Thread view Attachments: 0

Re: [AVR-Chat] avr programming

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.pic

Thread view Attachments: 0

Re: [AVR-Chat] avr programming

2012-01-21 by shirin ghanbari

ok have parallel port & ISP ________________________________ From: sania safdar To: "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 T

Thread view Attachments: 0

Re: [AVR-Chat] avr programming

2012-01-21 by sania safdar

g540 and ISP Best Regards Sania Safdar ________________________________ From: Zack Widup 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 wrote: > > > > I p

Thread view Attachments: 0

Re: [AVR-Chat] avr programming

2012-01-21 by shirin ghanbari

paralell programer with LPT port ________________________________ From: Zack Widup 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 wrote: > > > > I program t

Thread view Attachments: 0

Re: [AVR-Chat] (unknown)

2012-01-21 by Jim Wagner

This is total rubbish. Studio is fine for programming. Avoid Studio5 and it works very nicely. You WILL need a programming device, such as a Dragon, but that works very well with Studio, Jim Wagner Oregon Research Electronics On Jan 21, 2012, at 1:09 AM, hamidreza maddah wrote: >

Thread view Attachments: 0

Re: [AVR-Chat] programing in Avrstudio enviroment

2012-01-21 by sania safdar

i wana interface the atmega88 with ISP programer i have creayed a siple blin hex file using avr studio4 and program it on atmega88 using s540 programer but its not working >when i run the program in avrstudio4 it closes after runing >so wat i do? > > >Best Regards >Sania Safdar >

Thread view Attachments: 0

Re: [AVR-Chat] avr programming

2012-01-21 by Zack Widup

What programmer are you using? Zack On 1/9/12, shirin ghanbari 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 b

Thread view Attachments: 0

Re: (no subject)

2012-01-21 by Mike Bronosky

A good place to learn about AVRs is AVR Freaks: www.avrfreaks.net They have a tutorial on AVR Studio: http://www.avrfreaks.net/index.php?name=PNphpBB2&file=viewtopic&t=107979 WinAVR is probably a better platform to program AVRs: http://winavr.sourceforge.net/download.html -- Linu

Thread view Attachments: 0

programing in Avrstudio enviroment

2012-01-21 by greggy

Hi Sania It all rather depends on quite a few factors... Can you tell us a bit more about what you want to be able to do and what operating system you use? An idea about your experience would probably help as well. --greg --- In AVR-Chat@yahoogroups.com, sania safdar wrote: > > k

Thread view Attachments: 0

Re: [AVR-Chat] (unknown)

2012-01-21 by hamidreza maddah

yes --- On Sat, 1/21/12, sania safdar wrote: From: sania safdar Subject: Re: [AVR-Chat] (unknown) To: "AVR-Chat@yahoogroups.com" Date: Saturday, January 21, 2012, 5:33 AM keil? keil can be used for avr programing? Best Regards Sania Safdar ________________________________ From: h

Thread view Attachments: 0

Re: [AVR-Chat] (unknown)

2012-01-21 by sania safdar

keil? keil can be used for avr programing? Best Regards Sania Safdar ________________________________ From: hamidreza maddah To: AVR-Chat@yahoogroups.com Sent: Saturday, January 21, 2012 6:30 PM Subject: Re: [AVR-Chat] (unknown) i recomend IAR , Keil, CodevisionAvr --- On Sat, 1/

Thread view Attachments: 0

Re: [AVR-Chat] (unknown)

2012-01-21 by hamidreza maddah

i recomend IAR , Keil, CodevisionAvr --- On Sat, 1/21/12, sania safdar wrote: From: sania safdar Subject: Re: [AVR-Chat] (unknown) To: "AVR-Chat@yahoogroups.com" Date: Saturday, January 21, 2012, 3:01 AM so wat enviroment u recomend for programing? Best Regards Sania Safdar _____

Thread view Attachments: 0

Re: [AVR-Chat] (unknown)

2012-01-21 by Leon Heller

On 21/01/2012 11:01, sania safdar wrote: > so wat enviroment u recomend for programing? I use AVR Studio and a Dragon programmer/debugger. Leon -- Leon Heller G1HSM

Thread view Attachments: 0

Re: [AVR-Chat] (unknown)

2012-01-21 by sania safdar

so wat enviroment u recomend for programing? Best Regards Sania Safdar ________________________________ From: hamidreza maddah To: AVR-Chat@yahoogroups.com Sent: Saturday, January 21, 2012 2:09 PM Subject: Re: [AVR-Chat] (unknown) Avrstudio is not good for programming. i use it f

Thread view Attachments: 0

Re: [AVR-Chat] (unknown)

2012-01-21 by hamidreza maddah

Avrstudio is not good for programming. i use it for simulate --- On Fri, 1/20/12, sania safdar wrote: From: sania safdar Subject: [AVR-Chat] (unknown) To: "AVR-Chat@yahoogroups.com" Date: Friday, January 20, 2012, 12:35 AM kindly some one quide me about atmega88 programing in Avr

Thread view Attachments: 0

Message 14447

2012-01-20 by sania safdar

kindly some one quide me about atmega88 programing in Avrstudio enviroment Best Regards Sania Safdar [Non-text portions of this message have been removed]

Thread view Attachments: 0

avr programming

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]

Thread view Attachments: 0

Re: help with CMUCAM2

2011-12-31 by jrader30

Searching for info on this item, there are good sources available on it. Cmucam2 has been superseded by Cmucam3, but both has programming sources on Source forge. Both uses the Java programming language, readily available, and the documentation I read says that the GUI should not

Thread view Attachments: 0

Re: [AVR-Chat] Re: the address of flash memory

2011-12-30 by Jim Wagner

Then use pgm_xxx or its "cousins". See avrlibc docs for details. http://www.nongnu.org/avr-libc/user-manual/pgmspace.html Jim On Dec 30, 2011, at 2:04 PM, m_gh77 wrote: > hi > my example is short.the lentgh of my real data is large > so i should use my data in the flash memory. >

Thread view Attachments: 0

Re: [AVR-Chat] Re: the address of flash memory

2011-12-30 by Jim Wagner

Why is the array in flash? The way you have defined it, it is in SRAM. The data is in flash and is copied into SRAM during boot-up. You access the data through its "image" in SRAM. It is NOT intended for you to access it any other way. Why should you need to when SRAM has everyth

Thread view Attachments: 0

Re: [AVR-Chat] the address of flash memory

2011-12-30 by Jim Wagner

pointer? in c, buffer (no index) points to the first member of the array. Jim Wagner Oregon Research Electronics. On Dec 30, 2011, at 1:33 PM, m_gh77 wrote: > Hi all > I have a source code as same as this: > flash unsigned char buffer[3]={0xff,0x01,0xff}; > > if i want to know wh

Thread view Attachments: 0

the address of flash memory

2011-12-30 by m_gh77

Hi all I have a source code as same as this: flash unsigned char buffer[3]={0xff,0x01,0xff}; if i want to know what is the address of this variable in my flash memory("SMALL MODEL") i want to use this address in my program.how can i find it? thanks

Thread view Attachments: 0

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.