Tutorial: debug Stellaris LM4Fxxx MCU with open source tools


Scompo noticed that the examples with the Stellaris Launchpad are close source licensed. So he developed a BSD licensed low level startup code, linker script and makefile as a template. To test it he built OpenOCD and wrote a short tutorial for it. Scompo explains, “This is a sample project to be used with Stellaris LM4Fxxx TI microcontrollers. The main reason why I started doing this project is that Stellarisware (C libraries for LM4F microcontrollers by Texas Instruments) has a free and royalty-free license, while the code examples are available with restrictive license that you can’t use for your own projects. The other reason is I wanted to know what’s going on behind writing a simple “$ make”.”

The template code can be found on GitHub, and the tutorial on debugging a program is on Scompoprojects site.

Via the contact form.

This entry was posted in code, compilers, open source and tagged , , .

Comments

  1. mossmann says:

    For similar stuff, and maybe a place to move this LM4F code to, check out libopencm3, an open source library for various Cortex-M series microcontrollers.

Leave a Comment

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Notify me of followup comments via e-mail. You can also subscribe without commenting.