Unboxing the Freescale FRDM-KL43Z Board


I’m preparing for the next semester at the university starting in September this year. As part of that, I’m currently evaluating the FRDM-KL43Z board:

FRDM-KL43Z Board Unpacked

FRDM-KL43Z Board Unpacked

Continue reading

Freescale Freedom Board Tutorials on Element14


I have found several excellent tutorials created by Bheema Rao on element14: He uses many of the McuOnEclipse components, features Kinetis Design Studio/Eclipse and shows how to use the Kinetis SDK, toggling/dimming LED’s on Freescale Freedom Boards.

element14

element14

Continue reading

Using Kinetis Design Studio V3.0.0 with the Launchpad 4.9-2015-q2 Release


The Kinetis Design Studio v3.0.0 comes with the GNU/GCC ARM Embedded (launchpad) version 4.8-2014-q3. End of June 2015, ARM released a new version, the 4.9-2015-q1.So why not using that newer release?

Release GCC ARM Embedded 4.9 update 2

Release GCC ARM Embedded 4.9 update 2

  1. It comes with GDB version 7.8 and has the ‘return of function display’ feature.
  2. GDB has Phyton scripting support.
  3. It fixes that nasty GDB bug ‘breakpoint on removed code’ issue.

Is that already enough to make that switch?

Continue reading

Automatic Variable, Expression and Memory Display with GDB and Eclipse


One of the great features in CodeWarrior for MCU10.x is the ability to read memory/variables while running (see “Live View for Variables and Memory“). This technology of ‘live view’ is based on the CodeWarrior debugger engine. How can I do something like this with stock GDB and Eclipse? What I need is a periodic update of variables/expressions/memory while the program on the board is running, without the need to stop the board with the debugger first:

periodic auto-display output

periodic auto-display output

Continue reading

FreeRTOS Continuous Trace Streaming


Key to successfully implementing embedded applications these days is to have detailed visibility into what is going on with the application on the board. For this, I’m using the FreeRTOS+Trace from Percepio to inspect the runtime behaviour. Stop-Mode debugging is very useful, but visibility into the runtime is even more important. FreeRTOS+Trace is a tool to accomplish this, but it requires to dump the data off the target to the host (see “Updated Percepio Tracealyzer and Trace Library to Version V2.7.0“). Usually, I’m using the GDB debugger for this, and that works for shorter trace sequences like a few seconds. Yes, I can combine them, but it painful to stop, dump and continue. So what if I could collect trace for several minutes or hours without the need to stop the application? Why not stream the data to the host directly?

So here is it: I’m now able to get almost unlimited trace streaming off the target, witout user intervention. I can trace my application for hours :-)

Trace Recording

Trace Recording for almost one hour

Continue reading

Tutorial: Using Processor Expert and FreeRTOS with Kinetis SDK V1.2


Freescale has released the new Kinetis SDK v1.2 back in May. Because of the changes in v1.2, previous applications (or my tutorials) do not work any more :-(. So time to write a new tutorial: how I can use Processor Expert with FreeRTOS for the Kinetis SDK v1.2.

Blinky Task with FreeRTOS and Kinetis SDK in KDS v3.0.0

Blinky Task with FreeRTOS and Kinetis SDK in KDS v3.0.0

Continue reading