Yahoo Groups archive

AVR-Chat

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

Messages

Browse messages

Page 131 of 307 · 15341 messages matched

Re: [AVR-Chat] Re: I Need A Compiler

2007-01-29 by Russell Shaw

Larrie Carr wrote: > Have you coded your enum statement with a name label? Like > > enum week { Mon, Tue, Wed, Thu, Fri Sat, Sun} days; > > Right now, you aren't assigning a tag (the "week") to the enumeration. > Would explain the problem with the next possible tag being main whi

Thread view Attachments: 0

Re: I Need A Compiler

2007-01-28 by Larrie Carr

Have you coded your enum statement with a name label? Like enum week { Mon, Tue, Wed, Thu, Fri Sat, Sun} days; Right now, you aren't assigning a tag (the "week") to the enumeration. Would explain the problem with the next possible tag being main which would be illegal use. Larrie

Thread view Attachments: 0

RE: [AVR-Chat] Re: C Code weird behaviour help?

2007-01-28 by John Samperi

At 02:18 AM 29/01/2007, you wrote: >Studio 4 with the GCC plug in >makes is brain dead simple: I must agree with that even though I don't use C, no make file to write up or other confusing stuff. The only confusing bit for me is C itself... :) Perhaps the new Studio 4.13 will mak

Thread view Attachments: 0

RE: [AVR-Chat] Re: C Code weird behaviour help?

2007-01-28 by larry barello

Which compiler are you using? AVR-GCC compiles and runs your code correctly. I'll state this again just for the benefit of all those who assume they can't use GCC because it is too difficult: Studio 4 with the GCC plug in makes is brain dead simple: Just create a project, cut the

Thread view Attachments: 0

Re: C Code weird behaviour help?

2007-01-28 by luthjej

Thanks for the reply, Dave Unfortunately the code snippet below is not the "real" code, but a quick throw-together to illustrate the problem I'm having. In the real code, the variables are initialized with real data. Either statically (for testing) or dynamically from a pre-defin

Thread view Attachments: 0

Re: [AVR-Chat] Re: I Need A Compiler

2007-01-28 by Roy E. Burrage

It could be, Russell, that the rest of us didn't want to get involved with this silliness. Just because a program will not compile one project doesn't mean that it won't do a passable, even an exemplary, job for most of what an individual wants to do. However, that being stated,

Thread view Attachments: 0

Re: [AVR-Chat] Re: I Need A Compiler

2007-01-28 by Russell Shaw

Russell Shaw wrote: > stevech11 wrote: >> --- In AVR-Chat@yahoogroups.com, Russell Shaw wrote: >>> steve childress wrote: >>>> Codevision worked well for me and it has a large user base. >>> Windoze has a lot of users too, but it doesn't mean it's any good. >>> Try before you buy

Thread view Attachments: 0

Re: [AVR-Chat] Re: I Need A Compiler

2007-01-28 by Russell Shaw

stevech11 wrote: > --- In AVR-Chat@yahoogroups.com, Russell Shaw wrote: >> steve childress wrote: >>> Codevision worked well for me and it has a large user base. >> Windoze has a lot of users too, but it doesn't mean it's any good. >> Try before you buy. >> > As I said, CV has wo

Thread view Attachments: 0

Re: [AVR-Chat] Re: I Need A Compiler

2007-01-28 by Cat C

Schminux has much fewer users, but that doesn't mean anything either. ----Original Message Follows---- From: Russell Shaw Reply-To: AVR-Chat@yahoogroups.com To: AVR-Chat@yahoogroups.com Subject: Re: [AVR-Chat] Re: I Need A Compiler Date: Sun, 28 Jan 2007 15:06:30 +1100 steve chil

Thread view Attachments: 0

Re: [AVR-Chat] Re: I Need A Compiler

2007-01-28 by Russell Shaw

steve childress wrote: > Codevision worked well for me and it has a large user base. Windoze has a lot of users too, but it doesn't mean it's any good. Try before you buy.

Thread view Attachments: 0

Re: I Need A Compiler

2007-01-28 by stevech11

--- In AVR-Chat@yahoogroups.com, Russell Shaw wrote: > > steve childress wrote: > > Codevision worked well for me and it has a large user base. > > Windoze has a lot of users too, but it doesn't mean it's any good. > Try before you buy. > As I said, CV has worked very well for me

Thread view Attachments: 0

seeing Lcd output in AVR studio

2007-01-27 by Narendran

hi guys , i am writing up a program for lcd display as a part of my project can any body tell me if there is any plugin to see the display of the lcd in AVR studio... [Non-text portions of this message have been removed]

Thread view Attachments: 0

Re: [AVR-Chat] C Code weird behaviour help?

2007-01-27 by Dave Hylands

Hi, > Code that doesn't work: > > main () > { > unsigned int val; > unsigned int otherval; > > val = 650; > > while (1) > { > while (otherval Code that DOES work: > > main () > { > unsigned int otherval; > > while (1) > { > while (otherval

Thread view Attachments: 0

RE: [AVR-Chat] C Code weird behaviour help?

2007-01-27 by Cat C

maybe you should be more specific about "int"... like "uint_8t", "uint_16t" etc. I may have gotten the actual names wrong, but U get the idea (I hope). Good luck. Cat ----Original Message Follows---- From: "luthjej" Reply-To: AVR-Chat@yahoogroups.com To: AVR-Chat@yahoogroups.com

Thread view Attachments: 0

C Code weird behaviour help?

2007-01-27 by luthjej

Hi all, I'm hoping someone may be able to offer some assistance to a weird "C" behavior problem I'm having (ICC v7). The target platform is a Mega16. The problem I've simplified below - basically the code below does not work, the two while loops (outside of the main "infinite" lo

Thread view Attachments: 0

Re: [AVR-Chat] voltage level conversion

2007-01-26 by David VanHorn

On 1/25/07, John Samperi wrote: > > At 02:09 AM 26/01/2007, you wrote: > >I would go for the MAX232 too. > > So we are all ASS U ME ing that the op need a few mA? :) > What if he need 1A at +-12V? Well, just follow that with an LM-12 on +/- 18V supplies, configured as a buffer. T

Thread view Attachments: 0

Re: [AVR-Chat] voltage level conversion

2007-01-26 by David Kelly

On Fri, Jan 26, 2007 at 07:56:44AM +1100, John Samperi wrote: > At 02:09 AM 26/01/2007, you wrote: > >I would go for the MAX232 too. > > So we are all ASS U ME ing that the op need a few mA? :) > What if he need 1A at +-12V? Wasn't itemized in the Requirements Document. All he as

Thread view Attachments: 0

Re: [AVR-Chat] voltage level conversion

2007-01-26 by np np

Put a transistor (or two) on the output to increase drive. http://www.ckp-railways.talktalk.net/pcbcad28.htm John Samperi wrote: At 02:09 AM 26/01/2007, you wrote: >I would go for the MAX232 too. So we are all ASS U ME ing that the op need a few mA? :) What if he need 1A at +-12V

Thread view Attachments: 0

Re: [AVR-Chat] I Need A Compiler

2007-01-26 by Mark Nowell

I haven't used DW now for a few months but my memory is that you can't program with DW and can't have both ISP and DW enabled at the same time, so the program/debug cycle isn't exactly seamless. Whereas the Jtag program/debug cycle is seriously quick and completely seamless. I fi

Thread view Attachments: 0

RE: [AVR-Chat] Re: I Need A Compiler

2007-01-26 by steve childress

Codevision worked well for me and it has a large user base. _____ From: AVR-Chat@yahoogroups.com [mailto:AVR-Chat@yahoogroups.com] On Behalf Of Russell Shaw Sent: Wednesday, January 24, 2007 3:36 PM To: AVR-Chat@yahoogroups.com Subject: Re: [AVR-Chat] Re: I Need A Compiler kernel

Thread view Attachments: 0

Re: [AVR-Chat] voltage level conversion

2007-01-25 by Thomas Keller

1488 and 1489 RS-232 driver and receiver ships are made specifically to do just that. tom haben jemal wrote: > > hi > does anybody knows an IC (non programmble) that changes voltage level > from 0&5v to -12 & 12v respectively just toss the ic number > thanks alot > > > > --------

Thread view Attachments: 0

Re: [AVR-Chat] Platform Design for Camera

2007-01-25 by Thomas Keller

No, pneumatics is not a good choice, in terms of energy efficiency. probably, depending on all factors, a stepper motor with a lead screw arrangement will do the job (and you don't need four, three will do the job, and with some clever design, maybe even two actuators). There are

Thread view Attachments: 0

Re: [AVR-Chat] I Need A Compiler

2007-01-25 by John Samperi

At 09:19 PM 25/01/2007, you wrote: > Jtag development >is superb, and DebugWire is not. What exactly is not so superb with DW? :) I use JTAG, DW and (now rarely) the old ICE200 and can't tell the difference as far as debugging is concerned. Sure DW is still newer that JTAG and ma

Thread view Attachments: 0

Re: [AVR-Chat] voltage level conversion

2007-01-25 by John Samperi

At 02:09 AM 26/01/2007, you wrote: >I would go for the MAX232 too. So we are all ASS U ME ing that the op need a few mA? :) What if he need 1A at +-12V? Regards John Samperi ******************************************************** Ampertronics Pty. Ltd. 11 Brokenwood Place Baulkh

Thread view Attachments: 0

RE: [AVR-Chat] Re: Platform Design for Camera

2007-01-25 by Cat C

If you have accelerometers, it might be easier (and surely cheaper) to measure the angle(s) and calculate the horizontal distance (sine, cosine, whatnot) than make the platform horizontal. Cat _________________________________________________________________ Your Space. Your Frie

Thread view Attachments: 0

Re: [AVR-Chat] Platform Design for Camera

2007-01-25 by Narendran

hey try with accelerometers.... search about it... the iphone from apple has one of them... they use it to control the screen display with it... u can use it to tilt the cameras with respect to the inclined surface.... ----- Original Message ----- From: Leon To: AVR-Chat@yahoogro

Thread view Attachments: 0

Re: [AVR-Chat] voltage level conversion

2007-01-25 by np np

I assumed he was trying to change 0/5v to RS232 levels and the MAX232 does this very well. http://www.ckp-railways.talktalk.net/pcbcad21.htm David Kelly wrote: On Thu, Jan 25, 2007 at 03:09:29PM +0000, np np wrote: > I would go for the MAX232 too. > I have used it in dozens of pr

Thread view Attachments: 0

Re: [AVR-Chat] Platform Design for Camera

2007-01-25 by Jim Wagner

You can do it with motors in the way that pan and tilt is done for video cameras. Stepper motors work well but usually have to drive through a reduction system such as gears or belts. Jim On Wed, 24 Jan 2007 21:00:56 +0200 "Ümit ?en" wrote: > Thanks Leon and Tom, > One more quest

Thread view Attachments: 0

Re: [AVR-Chat] voltage level conversion

2007-01-25 by Jim Wagner

You will find these under "Interface circuits" at Maxim, Linear technology, Intersil and other. One member of the family usually has the number "232" as in MAX232. Jim On Wed, 24 Jan 2007 22:10:32 -0800 (PST) haben jemal wrote: > hi > does anybody knows an IC (non programmble) th

Thread view Attachments: 0

Re: [AVR-Chat] voltage level conversion

2007-01-25 by David Kelly

On Thu, Jan 25, 2007 at 03:09:29PM +0000, np np wrote: > I would go for the MAX232 too. > I have used it in dozens of projects and found it to be very reliable. > > http://www.ckp-railways.talktalk.net/pcbcad21.htm > > Andreas Stemmer wrote: > jemal wrote: > > does anybody knows

Thread view Attachments: 0

Re: Platform Design for Camera

2007-01-25 by brewski922

Slightly off topic but matchs up with cameras and robotics. In Servo magazine, a personal robotics magazine, http://www.servomagazine.com/index.php the January 2007 issue http://www.servomagazine.com/store.php?cat=2 has an article on cameras and robotics. http://www.servomagazine

Thread view Attachments: 0

Re: [AVR-Chat] voltage level conversion

2007-01-25 by np np

I would go for the MAX232 too. I have used it in dozens of projects and found it to be very reliable. http://www.ckp-railways.talktalk.net/pcbcad21.htm Andreas Stemmer wrote: jemal wrote: > does anybody knows an IC (non programmble) that changes voltage level from 0&5v to -12 & 1

Thread view Attachments: 0

RE: [AVR-Chat] I Need A Compiler

2007-01-25 by np np

I used to write Assemblers and found that to be a fully controlled way of building projects. If I needed a new function in the assembler I simply added it. Any bugs could be fixed by me rather than wait for an update from someone else. For basic AVR projects I stick to assembly l

Thread view Attachments: 0

RE: [AVR-Chat] I Need A Compiler

2007-01-25 by larry barello

I used to use Ultra-edit and makefiles with avr-gcc and jtag debugging (early days I used an ICE200). I recently completed a project using DebugWire and it went pretty well. Certainly in the pecking order of debuggers and ICE is better than JTAG is better than DebugWire, but debu

Thread view Attachments: 0

Re: [AVR-Chat] voltage level conversion

2007-01-25 by Andreas Stemmer

jemal wrote: > does anybody knows an IC (non programmble) that changes voltage level from 0&5v to -12 & 12v respectively just toss the ic number Take a look at max232. AS

Thread view Attachments: 0

Re: [AVR-Chat] I Need A Compiler

2007-01-25 by Mark Nowell

I'd echo what David says. AVR-Gcc is very good, and its integration with AVR-Studio I find works extremely well for me. I use the STK500, JtagICE-Mk2, AVR-Studio and gcc or asm for my AVR development and I consider this an excellent and extremely cheap combination. (Oh and someon

Thread view Attachments: 0

AVRStudio4 crashing problems

2007-01-25 by Tim Mitchell

Hello folks I've started having a strange problem with AVRStudio4 crashing after I have used the Help function by pressing F1. If I don't use Help it seems to run fine for as long as I want. However, if I've used help, within the next half hour or so I will get the following mess

Thread view Attachments: 0

voltage level conversion

2007-01-25 by haben jemal

hi does anybody knows an IC (non programmble) that changes voltage level from 0&5v to -12 & 12v respectively just toss the ic number thanks alot --------------------------------- Need a quick answer? Get one in minutes from people who know. Ask your question on Yahoo! Answers. [N

Thread view Attachments: 0

Re: [AVR-Chat] simulation problems

2007-01-25 by Thomas Keller

Thanks, Bruce. That got it. tom Bruce Parham wrote: > > In Studio, go to Debug->AVR Simulator Options. Highlight Stimuli and > Logging. > In the Function box, check Stimuli and enter your file name in the, > now input, > file box. Check the on-line Tools help under Simulator->Sim

Thread view Attachments: 0

Re: [AVR-Chat] simulation problems

2007-01-24 by Bruce Parham

In Studio, go to Debug->AVR Simulator Options. Highlight Stimuli and Logging. In the Function box, check Stimuli and enter your file name in the, now input, file box. Check the on-line Tools help under Simulator->Simulator Options for the required file format. Have fun! Bruce Tho

Thread view Attachments: 0

Re: [AVR-Chat] Re: I Need A Compiler

2007-01-24 by Russell Shaw

kernels_nz wrote: > I have found Codevision to be a very good reliable compiler at a very > reasonable price. Very simple to use interface also. Back in 2001, codevision had serious bugs. It'd be worth checking before buying. These are the bugs that hastened my jump to gcc in 200

Thread view Attachments: 0

Re: [AVR-Chat] simulation problems

2007-01-24 by John Samperi

At 09:11 AM 25/01/2007, you wrote: >How do I simulate external >interrupts in AVR STudio The only way I know of is to go to the I/O view and click on the flag you expect to be set, the next cycle, whether in single step or run mode will see the flag and start the int sequence. Re

Thread view Attachments: 0

simulator problems?

2007-01-24 by Thomas Keller

Is there an "off by one" problem in the AVR Studio 4.12 simulator? I notice when using the timers that the timer doesn't interrupt. until after it has finished counting the matched value, rather than when it first hits it. This results in a count of 1 yielding two time periods, e

Thread view Attachments: 0

simulation problems

2007-01-24 by Thomas Keller

OK. I am simulating in AVR Studio 4.12, and I have a problem. My code depends on external asynchronus interrupts to work. how do I simulate these in the AVR Studio environment, so I can test the code? Specifically, I have 4 to 8 Hall effect sensors interrupting on input pins on p

Thread view Attachments: 0

Re: [AVR-Chat] I Need A Compiler

2007-01-24 by David Kelly

On Wed, Jan 24, 2007 at 04:29:48PM -0500, James Ronald wrote: > So is there some vast source of ICC software ports that are available > to use in commercial products? I did see that some of the application > note sample code is written in ICC. Are there any other reasons to > use

Thread view Attachments: 0

Re: [AVR-Chat] I Need A Compiler

2007-01-24 by dlc@frii.com

Cost perhaps, IAR is quite expensive. According to an Atmel FAE I talked to at a seminar IAR generates the most efficient assembly, GCC-AVR was in second place and everything else was well behind that. That seminar was about 8 months ago, so who knows what is true now. But you kn

Thread view Attachments: 0

Re: [AVR-Chat] I Need A Compiler

2007-01-24 by James Ronald

So is there some vast source of ICC software ports that are available to use in commercial products? I did see that some of the application note sample code is written in ICC. Are there any other reasons to use ICC or IAR over AVRGCC? Are the libraries more robust? Thanks Jim ---

Thread view Attachments: 0

Re: [AVR-Chat] compiler for AT89C2051

2007-01-24 by John Clymer

Raissonance has an 8051 compiler with support for the 2051/4051 series. The free version is limited to 4K - perfect for use with the 2051. I do a lot of serial work with my controllers, the Raissonance R-Kit has an emulator that has a simulation terminal window allowing you to te

Thread view Attachments: 0

Re: [AVR-Chat] Platform Design for Camera

2007-01-24 by Ümit Şen

Thanks Leon and Tom, One more question.I plan to set the tilt card (X-Y) and the cameras on a square platform and want to control them via four pistons moving on (Z) axis.However,using punomatic is not suitable for robots working environment.Can you suggest me a device for contro

Thread view Attachments: 0

Re: I Need A Compiler

2007-01-24 by kernels_nz

I have found Codevision to be a very good reliable compiler at a very reasonable price. Very simple to use interface also. Cheers Hein B Auckland, New Zealand. --- In AVR-Chat@yahoogroups.com, "AVR Development" wrote: > > I need a compiler for ATmega64 and ATmega1281. Our budget

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.