Categories

Tutorial: debug Stellaris LM4Fxxx MCU with open source tools

Posted on Sunday, November 18th, 2012 in code, compilers, open source by the machinegeek


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 on Sunday, November 18th, 2012 at 3:00 pm and is filed under code, compilers, open source. You can follow any responses to this entry through the RSS 2.0 feed. You can skip to the end and leave a response. Pinging is currently not allowed.

6 Responses to “Tutorial: debug Stellaris LM4Fxxx MCU with open source tools”

  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 Reply

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

Recent Comments

  • Paul Campbell: I'm old enough that I started programming with punched cards .... each card had a sequence number in the last few characters. A friend once...
  • Ian: test comment on /blog/ page
  • ian: No, that's exactly how it should be :) Sorry about missing names on comments, the theme is being reworked as we speak.
  • J. Peterson: Nice writeup. It looks like some of the formatting for your command examples needs some missing newlines?
  • Geert Jordaens: I'm not sure what kind of licensing I have to add since it is a fairly straight forward implementation of the adaptive Huffman Decoding. For...