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.

Join the Conversation

6 Comments

      1. Is it LGPL3 or GPL3? My understanding is it’s GPL3, which makes it tough to link against this library if you plan to make and sell a product.

      2. As far as I understand, Scompo’s templates are geared towards open source. he wrote them mainly because TI’s license is incompatible with open source licenses.

Leave a comment

Leave a Reply to asdf Cancel reply

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

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