I've written a short white paper that outlines some methodologies that can be used for unit testing code written for any ultra-low-power MSP430™ microcontrollers (MCU). Through my many years of experience of writing software for desktop, embedded and web applications, it's only in the last few years that I've really transitioned into test-driven development, and on the whole, it can be one of the ways to dramatically improve code readability and structure, as well as reduce the potential for the introduction of bugs during design and refactoring stages.
Writing software for an MSP430 MCU should be no different, as one can apply similar design methodologies to embedded development. There are a few small tricks that need to be performed in order to properly setup an MSP430 MCU test suite, but they are relatively simple and make use of modern C++ constructs which fit nicely to mimic register updates and interrupts.
Please find the attached white paper to learn more.
I'm interested in your paper but it's not available for download. Is there a possibility to download it or that you can sent it to me in an email ?
The paper is not attached (any more). Is it still available?
Added paper to git repo: github.com/.../msp430
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.