Yahoo Groups archive

AVR-Chat

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

Messages

Browse messages

Page 174 of 307 · 15341 messages matched

Re: [AVR-Chat] C textbook (EBook)

2006-01-05 by Arif Deshmukh

Dear sir, Can you please send me EBook of the same. Bye On Thu, 05 Jan 2006 John Burton wrote : >check out www.smileymicros.com . I have just ordered the AVR butterfly >and his C programing book. You can download a chapter or two to see if >it is at the level you want before you

Thread view Attachments: 0

C textbook

2006-01-04 by John Burton

check out www.smileymicros.com . I have just ordered the AVR butterfly and his C programing book. You can download a chapter or two to see if it is at the level you want before you buy. I am new to programing micro's and to using "C" this seem like a good place for me to start I

Thread view Attachments: 0

Re: [AVR-Chat] C textbook

2006-01-04 by Dennis

Caught the retfie, scratched head. What I am seeing in the original question I posed is a holistic approach to embedded programming. Maybe Dijkstra is worth a reread. Dennis ----- Original Message ----- From: "Zack Widup" To: Sent: Tuesday, January 03, 2006 11:27 PM Subject: RE:

Thread view Attachments: 0

RE: [AVR-Chat] C textbook

2006-01-04 by Zack Widup

On Tue, 3 Jan 2006, Chuck Hackett wrote: > > Well, someone did suggest "Embedded C Programming and the Atmel AVR". I > have > found this book useful in getting started with AVRs. I knew C before I > started > with AVRS but I'm by no means an 'experienced' C programmer (i.e.: one

Thread view Attachments: 0

Re: [AVR-Chat] C textbook

2006-01-04 by Micah Stevens

Haha.. I learned C on a micro, and then shifted to a PC.. you can imagine what I think of PC programming.. I'm still in shock to this day.. -Micah On Tuesday 03 January 2006 7:15 pm, stevech wrote: > My brain would break if I tried to learn C and microprocessors (in > general) co

Thread view Attachments: 0

RE: [AVR-Chat] C textbook

2006-01-04 by Chuck Hackett

> From: Dennis > > So in all your roundabout ways, no one has any recommendation for anything. > Looks life an infinite loop, i.e. I wind up with a nonanswer. > Dennis Well, someone did suggest "Embedded C Programming and the Atmel AVR". I have found this book useful in getting s

Thread view Attachments: 0

RE: [AVR-Chat] C textbook

2006-01-04 by stevech

My brain would break if I tried to learn C and microprocessors (in general) concurrently! If micros are the goal, try generic C for a non-graphical-user-interface such as on your PC but use a crude C compiler for Windows or a cmd window - like freeware Borland C. Get it to talk t

Thread view Attachments: 0

Re: [AVR-Chat] C textbook

2006-01-04 by Dennis

The best reply yet. Much appreciate. Dennis ----- Original Message ----- From: "Micah Stevens" To: Sent: Tuesday, January 03, 2006 7:55 PM Subject: Re: [AVR-Chat] C textbook Sounded like you got a recommendation to me. Although maybe you didn't like it. Strange way to reply to it

Thread view Attachments: 0

Re: C textbook

2006-01-04 by Don Kinzer

--- In AVR-Chat@yahoogroups.com, Micah Stevens wrote: > Part of the problem is that what you're looking for may not exist. Another part of the problem is that embedded programming is more involved than, say, general C or VB or other language programming. A good embedded programme

Thread view Attachments: 0

Re: [AVR-Chat] C textbook

2006-01-04 by Micah Stevens

Sounded like you got a recommendation to me. Although maybe you didn't like it. Strange way to reply to it. Part of the problem is that what you're looking for may not exist. A comprehensive C book expressly for microcontrollers? Wow.. I sure as hell (even if I had the knowledge)

Thread view Attachments: 0

Re: [AVR-Chat] C textbook

2006-01-04 by Dennis

So in all your roundabout ways, no one has any recommendation for anything. Looks life an infinite loop, i.e. I wind up with a nonanswer. Dennis ----- Original Message ----- From: "James Washer" To: Sent: Tuesday, January 03, 2006 4:20 PM Subject: Re: [AVR-Chat] C textbook > Alas

Thread view Attachments: 0

Re: [AVR-Chat] C textbook

2006-01-03 by James Washer

Alas, I cannot. There's a dirth of decent embedded programming books. I come for a long career of op sys internals, mostly *nix's (SVRx/BSD/Linux) so perhaps the book just wasn't what I was looking for. It's not a bad book, just not great. What I really want is a 2006 updated edi

Thread view Attachments: 0

Re: [AVR-Chat] C textbook

2006-01-03 by Ralph Hilton

On Tue, 3 Jan 2006 13:33:39 -0800 you wrote: >I'll sell you my (hardly used) copy for 1/2 Amazon's price (i.e. I was not impressed) For my needs it was useful. It depends on one's background. I started with mainframes then shifted to PCs and it provided exactly what I needed to p

Thread view Attachments: 0

Re: [AVR-Chat] C textbook

2006-01-03 by James Washer

I'll sell you my (hardly used) copy for 1/2 Amazon's price (i.e. I was not impressed) On Tue, 03 Jan 2006 13:34:45 +0100 Ralph Hilton wrote: > On Mon, 2 Jan 2006 20:13:42 -0600 you wrote: > > >Can anyone recommend a good, comprehensive book for programming in C/C++ for microproce

Thread view Attachments: 0

Re: [AVR-Chat] C textbook

2006-01-03 by Ralph Hilton

On Mon, 2 Jan 2006 20:13:42 -0600 you wrote: >Can anyone recommend a good, comprehensive book for programming in C/C++ for microprocessors/controllers? >Dennis "Embedded C Programming and the Atmel AVR" details on http://www.prllc.com/productcart/pc/viewPrd.asp?idcategory=6&idpro

Thread view Attachments: 0

Re: [AVR-Chat] Plotting Software

2006-01-03 by Roy E. Burrage

That's too much like a religious conversion...so if we can't convince a customer to accept AVRs we insist upon one of the newer XXXs and bill them for the necessary lye soap, clorox, and nitrile gloves. REB Chuck Hackett wrote: Thanks Don & Roy, I’ll follow up on your suggestions

Thread view Attachments: 0

RE: [AVR-Chat] Plotting Software

2006-01-03 by Chuck Hackett

Thanks Don & Roy, I’ll follow up on your suggestions. Roy, keep trying to get Martin into the fold J Cheers, Chuck Hackett "Good judgment comes from experience, experience comes from bad judgment" 7.5" gauge Union Pacific Northern (4-8-4) 844 http://www.whitetrout.net/Chuck

Thread view Attachments: 0

Re: Re: [AVR-Chat] Interrupt routine (now long)

2006-01-03 by Don AE5K

Maybe someone can explain to me why my original and subsequent reply to the original poster would not work. Let me recap... the original query was: > From: Moataz Hussein > Date: Mon Jan 2, 2006 6:19 am > Subject: Interrupt routine > > I am working on a test project on AVR 1200,

Thread view Attachments: 0

Re: [AVR-Chat] Interrupt routine

2006-01-03 by Micah Stevens

Good idea.. On Monday 02 January 2006 8:19 pm, stevech wrote: > A software-initiated full reset of the AVRs is often done by forcing a > watchdog timer timout. > > -----Original Message----- > From: AVR-Chat@yahoogroups.com [mailto:AVR-Chat@yahoogroups.com] On Behalf > Of Micah S

Thread view Attachments: 0

Re: [AVR-Chat] Plotting Software

2006-01-03 by Roy E. Burrage

Chuck, I had some discussions with Martin Hebel when he was initially developing his StampPlot product. Although he wrote it primarily for use with the BasicStamp that he uses in his classes, he did write it generically enough that it could be used with any serial data enabled pr

Thread view Attachments: 0

RE: [AVR-Chat] Interrupt routine

2006-01-03 by stevech

A software-initiated full reset of the AVRs is often done by forcing a watchdog timer timout. -----Original Message----- From: AVR-Chat@yahoogroups.com [mailto:AVR-Chat@yahoogroups.com] On Behalf Of Micah Stevens Sent: Monday, January 02, 2006 3:42 PM To: AVR-Chat@yahoogroups.com

Thread view Attachments: 0

C textbook

2006-01-03 by Dennis

Can anyone recommend a good, comprehensive book for programming in C/C++ for microprocessors/controllers? Dennis

Thread view Attachments: 0

Re: [AVR-Chat] Interrupt routine

2006-01-03 by dlc

The ONLY way to return to where the interrupt occurred is to use a RETI instruction. DLC Moataz Hussein wrote: > > > Thanks all for your advice, I was meaning start of program i.e. full reset. > > In a book I have it is mentioned > "When an interrupt occurs the value of the progr

Thread view Attachments: 0

Re: [AVR-Chat] Interrupt routine

2006-01-02 by Micah Stevens

Now that I think of it, you'd run through variable initialization as well right after that, so the memory locations should be reset to their initial values needed. At least, that's what I do in ASM. I would assume a C compiler would do the same thing, but I've never paid attentio

Thread view Attachments: 0

RE: Re: [AVR-Chat] Interrupt routine

2006-01-02 by Larry Barello

IIR the original post mentioned the AT901200 which does not have a normal stack. A hard reset would be the only way to "reset" it. ----------- Larry Barello www.barello.net | -----Original Message----- | From: AVR-Chat@yahoogroups.com [mailto:AVR-Chat@yahoogroups.com] On Behalf |

Thread view Attachments: 0

Re: Re: [AVR-Chat] Interrupt routine

2006-01-02 by Zack Widup

Your initialization of the chip should include resetting the stack pointer. So if at the end of your interrupt routine you go to the very start of the program instead of using "retfie", you're starting completeny new and it shouldn't matter. Zack On Mon, 2 Jan 2006, Moataz Hussei

Thread view Attachments: 0

Re: [AVR-Chat] Plotting Software

2006-01-02 by Don Ingram

Chuck Hackett wrote: > Is anyone aware of software similar to StampPlot > > http://www.selmaware.com/stampplotlite/home.htm > > that can be used with AVRs? As I understand it the software plots values sent > out a serial port. I'm interested in it for testing, not final installat

Thread view Attachments: 0

Re: Re: Re: [AVR-Chat] Interrupt routine

2006-01-02 by Don AE5K

Moataz Hussein wrote: > > > Thanks all for your advice, I was meaning start of program i.e. full reset. > > In a book I have it is mentioned > "When an interrupt occurs the value of the program counter is stored in > the stack so that the program returns to where it was when the

Thread view Attachments: 0

Re: [AVR-Chat] Interrupt routine

2006-01-02 by Micah Stevens

No because you're not resetting the memory contents. Your instructions will start over, but you'll have non-initialized ram, which may affect program flow. -Micah On Monday 02 January 2006 1:02 pm, Moataz Hussein wrote: > Thanks all for your advice, I was meaning start of program

Thread view Attachments: 0

Plotting Software

2006-01-02 by Chuck Hackett

Is anyone aware of software similar to StampPlot http://www.selmaware.com/stampplotlite/home.htm that can be used with AVRs? As I understand it the software plots values sent out a serial port. I'm interested in it for testing, not final installation. I can write Windows stuff (V

Thread view Attachments: 0

Re: Re: [AVR-Chat] Interrupt routine

2006-01-02 by Moataz Hussein

Thanks all for your advice, I was meaning start of program i.e. full reset. In a book I have it is mentioned "When an interrupt occurs the value of the program counter is stored in the stack so that the program returns to where it was when the handling interrupt is over." So is i

Thread view Attachments: 0

RE: [AVR-Chat] Simulator to use with Eagle 4.13

2006-01-02 by Chuck Hackett

Thanks Zack & Robert, I'll check them out. Cheers, Chuck Hackett "Good judgment comes from experience, experience comes from bad judgment" 7.5" gauge Union Pacific Northern (4-8-4) 844 http://www.whitetrout.net/Chuck

Thread view Attachments: 0

RE: Re: [AVR-Chat] Interrupt routine

2006-01-02 by stevech

Customarily, the interrupt handler sets a bit and exits, then the interrupted program inspects the bit and if set, takes action. -----Original Message----- From: AVR-Chat@yahoogroups.com [mailto:AVR-Chat@yahoogroups.com] On Behalf Of Dennis Sent: Monday, January 02, 2006 10:26 AM

Thread view Attachments: 0

Re: Re: [AVR-Chat] Interrupt routine

2006-01-02 by Dennis

He may not be talking about the beginning of the entire program but, say, the beginning of an infinite loop that was broken by the interrupt and then returning to the beginning of that loop. Dennis ----- Original Message ----- From: "Don AE5K" To: Sent: Monday, January 02, 2006 1

Thread view Attachments: 0

Re: Re: [AVR-Chat] Interrupt routine

2006-01-02 by Don AE5K

James Washer wrote: > when you say "start from the beginning", are you saying you want a FULL RESET? > > If so, you'd need to build and trigger an external reset hardware, or enable the watchdog timer and then just spin until a watchdog reset occurs. > > - jim > > On Mon, 2 Jan 2

Thread view Attachments: 0

Re: [AVR-Chat] Interrupt routine

2006-01-02 by James Washer

when you say "start from the beginning", are you saying you want a FULL RESET? If so, you'd need to build and trigger an external reset hardware, or enable the watchdog timer and then just spin until a watchdog reset occurs. - jim On Mon, 2 Jan 2006 04:19:44 -0800 (PST) Moataz Hu

Thread view Attachments: 0

Interrupt routine

2006-01-02 by Moataz Hussein

I am working on a test project on AVR 1200, I have a question regarding the external interrupt. I understand that after the interrupt occurs the interrupt handling routine is called, after it is finished the program goes back to where it has stopped. I have a question: Is it poss

Thread view Attachments: 0

Re: [AVR-Chat] Simulator to use with Eagle 4.13

2006-01-01 by Robert Adsett

At 02:17 PM 12/31/05 -0600, Chuck Hackett wrote: >I am about to dive into learning Eagle (home shop projects) but one thing it >does not include (AFAIK) is a circuit simulator function. > >Is there a simulator that can import Eagle circuit info? I'd like to avoid >redrawing the c

Thread view Attachments: 0

Re: [AVR-Chat] Simulator to use with Eagle 4.13

2006-01-01 by Zack Widup

On Sat, 31 Dec 2005, Chuck Hackett wrote: > I am about to dive into learning Eagle (home shop projects) but one thing > it > does not include (AFAIK) is a circuit simulator function. > > Is there a simulator that can import Eagle circuit info? I'd like to > avoid > redrawing the

Thread view Attachments: 0

Re: [AVR-Chat] OT Transformer design help

2006-01-01 by Russell Shaw

Kathy Quinlan wrote: > Russell Shaw wrote: > >>Kathy Quinlan wrote: >> ... >>> >>>At least it does start, and sort of works, the output is a bit low, but I used >>>just 1n4007 diodes instead of shotkey for the rectifier and the ones in the >>>circuits around the primary (they wer

Thread view Attachments: 0

Simulator to use with Eagle 4.13

2005-12-31 by Chuck Hackett

I am about to dive into learning Eagle (home shop projects) but one thing it does not include (AFAIK) is a circuit simulator function. Is there a simulator that can import Eagle circuit info? I'd like to avoid redrawing the circuit manually. I noted the recent discussion of simul

Thread view Attachments: 0

Re: [AVR-Chat] OT Transformer design help

2005-12-31 by Kathy Quinlan

Russell Shaw wrote: > Kathy Quinlan wrote: > >>Russell Shaw wrote: >> >> >>>Kathy Quinlan wrote: >>> >>> >>>>Hi all, >>>> >>>>I need to find Bmax for a core set I plan to use, I am using a ETD34 with 3C90 >>>>ferites, but I can not find the Bmax :( >>>> >>>>Anyone have any idea ?

Thread view Attachments: 0

Re: [AVR-Chat] OT Transformer design help

2005-12-31 by Russell Shaw

Kathy Quinlan wrote: > Russell Shaw wrote: > >>Kathy Quinlan wrote: >> >>>Hi all, >>> >>>I need to find Bmax for a core set I plan to use, I am using a ETD34 with 3C90 >>>ferites, but I can not find the Bmax :( >>> >>>Anyone have any idea ?? >>> >>>I have spent all night looking

Thread view Attachments: 0

Re: [AVR-Chat] OT Transformer design help

2005-12-31 by Kathy Quinlan

Russell Shaw wrote: > Kathy Quinlan wrote: > >>Hi all, >> >>I need to find Bmax for a core set I plan to use, I am using a ETD34 with 3C90 >>ferites, but I can not find the Bmax :( >> >>Anyone have any idea ?? >> >>I have spent all night looking lol, (found lots of good data on o

Thread view Attachments: 0

Re: [AVR-Chat] OT Transformer design help

2005-12-30 by Kathy Quinlan

Russell Shaw wrote: > Kathy Quinlan wrote: > >>Hi all, >> >>I need to find Bmax for a core set I plan to use, I am using a ETD34 with 3C90 >>ferites, but I can not find the Bmax :( >> >>Anyone have any idea ?? >> >>I have spent all night looking lol, (found lots of good data on o

Thread view Attachments: 0

Re: [AVR-Chat] OT Transformer design help

2005-12-30 by Russell Shaw

Kathy Quinlan wrote: > Hi all, > > I need to find Bmax for a core set I plan to use, I am using a ETD34 with 3C90 > ferites, but I can not find the Bmax :( > > Anyone have any idea ?? > > I have spent all night looking lol, (found lots of good data on other parts, > but no this o

Thread view Attachments: 0

OT Transformer design help

2005-12-29 by Kathy Quinlan

Hi all, I need to find Bmax for a core set I plan to use, I am using a ETD34 with 3C90 ferites, but I can not find the Bmax :( Anyone have any idea ?? I have spent all night looking lol, (found lots of good data on other parts, but no this one) Regards, Kat. -- No virus found in

Thread view Attachments: 0

UART bug in 2313..

2005-12-29 by filipesbp

#include #include #include #include "uart.h" int main(void){ PORTB=0xFF; DDRB=0xFF; PORTD=0xFF; DDRD=0xFF; uart_init( UART_BAUD_SELECT(19200,9216000) ); sei(); for (;;){ PORTB=0x00; PORTB=0xFF; PORTD=0x00; PORTD=0xFF; uart_puts("AT"); } } This simple code, works fine like is it,

Thread view Attachments: 0

RE: [AVR-Chat] DebugWire question..

2005-12-28 by MuRaT KaRaDeNiZ

Hello Micah, Though not an Atmel AVR device, I've seen a case where is an unconnected serial port header was picking up electromagnetic interference in a harsh industrial environment. This was a susceptibility case, but in the final product i'll consider a second hardware checkpo

Thread view Attachments: 0

Re: [AVR-Chat] DebugWire question..

2005-12-28 by Micah Stevens

Roger that. Thanks! On Wednesday 28 December 2005 3:08 pm, MuRaT KaRaDeNiZ wrote: > Hello Micah, > > Though not an Atmel AVR device, I've seen a case where is an unconnected > serial port header was picking up electromagnetic interference in a > harsh industrial environment. This

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.