C++ on microcontrollers 2 - LPCXpresso, LPC-link, Code Sourcery, lpc21isp, linkerscript, LPC1114 startup

Wouter van Ooijen October 24, 20115 comments

 previous parts: 1

This blog series is about the use of C++ for modern microcontrollers. My plan is to show the gradual development of a basic I/O library. I will introduce the object-oriented C++ features that are used step by step, to provide a gentle yet practical introduction into C++ for C programmers.  Reader input is very much appreciated, you might even steer me in the direction you find most interesting.

I teach my students that...


Tracing code and checking timings

Richard Dorfner May 25, 20115 comments

Debugging resource limited systemsApplications writers that write code on large systems have it easy. Well, perhaps not easy, but certainly easier. There are some things that they don't have to worry about and there is a huge array of tools available to them when it comes time to debug. The have choices in their toolsets, lots of choices. They also have a large selection of available methods for getting debugging information out to them such as log files, proc entries, pop up dialog boxes or...


It starts with an LED

Richard Dorfner May 13, 20114 comments

And slowly builds up from there.

I have been an embedded software engineer for many years. I was programming when I was a teenager before then, as a high school student involved in an NSF program called "National Science Foundation Summer Science Training Program (for High School Students)" or as we would rattle off during that summer of exquisite learning, NSFSSTP. We were taught to program in Fortran and taught the fundamentals of Calculus. It was a very enriching experience.

When it...


A part of history

Gene Breniman December 23, 2009

This past weekend I had the pleasure of attending the 40-year anniversary celebration of the formation of my high school's radio station (KVHS).  The current students and staff of KVHS hosted a birthday party for the radio station and invited former alumni and teachers and the public to share in the celebration.  On hand was a pretty good showing of the current and former students and teachers that helped build one of the most successful student-run radio station programs in...


I owe, I owe, so off to work I go.....

Gene Breniman December 23, 2009

The economy hit my start-up plans pretty toughly.  My step-daughter and I were working out of a common pool of money (our savings account), and in the end, she won out.  She is in her third year at San Jose State and with rising tuition and student housing costs, etc., money was beginning to get a little tight in our savings account.  So, I did the right thing, I got a paying job.  My initial plan was to find some consulting work to bring in some money, but this...


Tenderfoot: Introduction to Magic (Numbers that is...)

Matthew Eshleman May 10, 20171 comment

Once upon a time, while participating in a source code review, I stumbled across the following C code in a header file:

struct Foo { //various structure fields char string_buffer[45+3]; //buffer requires about 45 bytes };

My right eyebrow raised, I took a note, and continued with the code review, only to later stumble into this line of code in the body of a C function:

char * temp_string_buffer = (char*) malloc(45+3);

Again, I took a note on this function, and continued...


Tracing code and checking timings

Richard Dorfner May 25, 20115 comments

Debugging resource limited systemsApplications writers that write code on large systems have it easy. Well, perhaps not easy, but certainly easier. There are some things that they don't have to worry about and there is a huge array of tools available to them when it comes time to debug. The have choices in their toolsets, lots of choices. They also have a large selection of available methods for getting debugging information out to them such as log files, proc entries, pop up dialog boxes or...


A part of history

Gene Breniman December 23, 2009

This past weekend I had the pleasure of attending the 40-year anniversary celebration of the formation of my high school's radio station (KVHS).  The current students and staff of KVHS hosted a birthday party for the radio station and invited former alumni and teachers and the public to share in the celebration.  On hand was a pretty good showing of the current and former students and teachers that helped build one of the most successful student-run radio station programs in...


I owe, I owe, so off to work I go.....

Gene Breniman December 23, 2009

The economy hit my start-up plans pretty toughly.  My step-daughter and I were working out of a common pool of money (our savings account), and in the end, she won out.  She is in her third year at San Jose State and with rising tuition and student housing costs, etc., money was beginning to get a little tight in our savings account.  So, I did the right thing, I got a paying job.  My initial plan was to find some consulting work to bring in some money, but this...


It starts with an LED

Richard Dorfner May 13, 20114 comments

And slowly builds up from there.

I have been an embedded software engineer for many years. I was programming when I was a teenager before then, as a high school student involved in an NSF program called "National Science Foundation Summer Science Training Program (for High School Students)" or as we would rattle off during that summer of exquisite learning, NSFSSTP. We were taught to program in Fortran and taught the fundamentals of Calculus. It was a very enriching experience.

When it...