About the Book
The source code for this book illustrates the use of simple state machines to parse GPS NMEA sentences, and to interact with the on-board cell modem which exchanges text messages with the user's smart phone.
A free version of the GNU ARM compiler was used under Windows 7 to build the system. Startup code and Linker script were supplied by the free IDE used to develop and debug the program. Those files are included in the book.
A makefile is included which can build the debug or release versions of the code without using the IDE.
Source code includes a FIFO manager to handle the interrupt-driven UART interfaces to GPS and cell modem. A time converter changes GPS UTC time into Unix UTC time for use by a module which schedules transmission of position reports to the user.
Requirements, system architecture, and complete design documentation make it easy to follow the source code, or to make changes and add features as needed.
A collection of verification and validation tests are described, which can be used to make sure source code changes have not broken any features of the program.
About the Author
I have developed embedded software for 30 years. Along the way, I have worn out several keyboards, stared holes in multiple displays, and produced firmware for a wide variety of electronic products.
Systems developed in whole or part include: Multi-parameter biofeedback system for Apple II, C and Dsp code for a television watching robot, firmware for a laser power meter, hypertext editor and math assistant for a pocket PC, autosampler firmware for a hematology instrument, robotic control and sequencer for a genetic blood assay machine, bootloader and kernel for an oximeter, portable flight planning computer, firmware for a wireless data acquisition system for bridge diagnostics, base station firmware for corrections telemetry and alcohol monitoring, communications protocol for an implantable hearing aid, usb mass storage driver, and sensor drivers for an oilfield seismic data logger, firmware for a digital theremin and a gps locator-tracker.
For more detailed information, see www.canyoncode.com.