7
\$\begingroup\$

I am looking for some material (books/sites) related to embedded system programming in C language. Here in the lab we have available three plataforms: one Microchip PIC18f4550, one Freescale HC12 and one ARM (Beagleboard).

We are willing to teach embedded C with the PIC, assembler with Freescale and embedded operational systems with Beagleboard. Each class will be a six month course.

Open to all advices.

Thanks

\$\endgroup\$
  • \$\begingroup\$ Are you looking for general C programming tutorials? Or architecture specifics? \$\endgroup\$ – Toby Jaffey Nov 25 '10 at 12:23
  • \$\begingroup\$ Its not just C programming, the students had alredy a background on C. I'd like some thing more specific to the architecture. \$\endgroup\$ – RMAAlmeida Nov 25 '10 at 15:26
  • \$\begingroup\$ What is that background? A brief course on "This is a for loop" etc., writing simple console apps, or OS/systems programming? \$\endgroup\$ – Kevin Vermeer Dec 8 '10 at 15:28
  • \$\begingroup\$ Why change processors when you change languages? You could program all of the above with all of the above, that might teach students a useful lesson about the pros and cons of each approach for various purposes. \$\endgroup\$ – John U Jan 22 '13 at 12:25
12
\$\begingroup\$

For C programming - embedded or otherwise, you need The C Programming Language by Brian Kernighan and Dennis Ritchie, popularly known as K&R.

I have one book on PICs, I like it: The Quintessential PIC® Microcontroller by Sid Katzen.

For the BeagleBoard, some background in embedded Linux will be important. Here's a good book written by a good friend: Building Embedded Linux Systems by Karim Yaghmour, Jon Masters, Gilad Ben-Yossef and Philippe Gerum.

\$\endgroup\$
  • \$\begingroup\$ I read the datasheet back to front to learn the PIC, I think building embedded linux systems sounds interesting. \$\endgroup\$ – Kortuk Nov 25 '10 at 16:55
  • \$\begingroup\$ "by a good friend" Can you get my copy autographed? =) \$\endgroup\$ – RMAAlmeida Nov 25 '10 at 21:58
  • \$\begingroup\$ Which PIC families does that PIC book cover? The PIC18 family is the one I'd try to program in C; not the PIC16 family. \$\endgroup\$ – Craig McQueen Dec 8 '10 at 9:19
3
\$\begingroup\$

An excellent resource for learning Embedded Linux is the following book:

Embedded Linux Primer:A Practical Real-World Approach By Christopher Hallinan

alt text

It isn't too expensive for students to buy and starts off with the basics and builds on them thereon. An excellent read with lots to learn, with tons of practical examples you can try out on the development boards you mentioned.

Another source for some excellent everyday encountered Embedded systems dilemmas (to arouse your students curiosity and enthusiasm) can be found under:
Ganssle's Articles

\$\endgroup\$
3
\$\begingroup\$

I wanted to comment on "Practical BeagleBoard" above. This book was posted by Apress by mistake.

In fact, the book does not actually exist yet - I am the author and I haven't finished writing it yet. It should be ready in late spring 2011 (Note: it will not be published by Apress.) I apologize for the confusion. Please feel free to contact me with any questions.

As a further comment, I also highly recommend Chris Hallinan's Embedded Linux Primer, for which the 2nd edition was just released. It is an excellent introduction to embedded Linux, and to embedded systems programming in general.

\$\endgroup\$
  • \$\begingroup\$ @Jeff Osier-Mixon, Thank you for giving us feedback on your book. We are happy to see you come visit our corner of the internet. Try not to use signatures though, every post you make automatically has yours tagged in the bottom corner! \$\endgroup\$ – Kortuk Dec 8 '10 at 2:56
  • \$\begingroup\$ @Jeff Osier-Mixon, When you get more rep you will be able to leave comments, but for now, you should edit your answer and give us more information about why your book is the best guide available! \$\endgroup\$ – Kortuk Dec 8 '10 at 2:57
  • \$\begingroup\$ @Jeff Osier-Mixon Please note than on this site and others on Stack Exchange, there is no up or down . Over time, arrangement of answers will change and there are also user options for sorting answers. If you need to refer to an actual answer, you can copy it's link which is available on the bottom left of the answer area. In my case for example, your answer was above O Engenheiro's with default settings. Yes, we're a bit different that traditional forums. \$\endgroup\$ – AndrejaKo Dec 8 '10 at 3:43
2
\$\begingroup\$

Books:

  • Beagleboard: Practical Beagleboard, but the estimated ship date for this item will be only in April 28, 2011

alt text

I have both books about PIC18, and I recommend them.

\$\endgroup\$
2
\$\begingroup\$

What about FreeRTOS, it's very well supported and documented and furthermore should be portable across all of your development boards.

\$\endgroup\$
  • \$\begingroup\$ Having the same operational system on all boards is a really nice study case! \$\endgroup\$ – RMAAlmeida Nov 26 '10 at 15:07
1
\$\begingroup\$

alt text

I have found Programming Embedded Systems: With C to be very good reading.

I am not able to purchase the hardware they reference in the book, but the example code could be ported to whatever target you choose fairly easily.

\$\endgroup\$
1
\$\begingroup\$

smileymicros.com carries a line of embedded C books, kits, and tutorials. He uses the Atmel Butterfly kit and Arduino.

$100

$125

\$\endgroup\$
1
\$\begingroup\$

I find the articles at netrino.com very insightful.

Also see the Microchip Compiled Tips 'N Tricks Guide.

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.