> 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 started with AVRs. I knew C before I started with AVRS but I'm by no means an 'experienced' C programmer (i.e.: one who can write a whole program without the language manual at hand). Part of my problem is that, in my professional life, I used C and many other languages close to C which means that they sometimes get muddled up in my aging mind :-) Knowing some C, I felt that "Embedded C Programming and the Atmel AVR" helped me transition to AVRs. But, as someone else said, C programming on embedded controllers isn't the same as on a mainframe or a PC. In embedded controllers you also have to have intimate knowledge of the hardware. My background: I'm a 1975 EE graduate (SUNY Buffalo) with a minor in computer design but made my living doing financial data networks software development. In your original post you asked for a "comprehensive" book on C/C++ on embedded controllers. That's a tall order. IIRC this book does not cover C++ use and I don't know if you'd consider it comprehensive, but, if you're keeping track of votes, add on for me this book :-) It was this list that suggested the book to me about a year ago. You didn't indicate a processor choice in your original post but, since this is an AVR list, I assume you're asking about that environment. You also have to realize that (unfortunately) there isn't just one C for microcontrollers. As someone new to this environment I've found a significant difference between AVR-GCC (which I use), CodeVision, ImageCraft, etc. They all seem to handle hardware issues a little differently - including processor initialization, etc. Sounds like you might be looking for one 'study guide' for the microcontroller environment - I was looking for one too but I've come to realize that you have to study the datasheets (for your processor of choice as well as every peripheral you use), the manual for the compiler you choose (not easy), etc. This list is also a big help ... and I know that if I've misstated any of this someone will set me straight :-) (Gently, I hope) 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
Message
RE: [AVR-Chat] C textbook
2006-01-04 by Chuck Hackett
Attachments
- No local attachments were found for this message.