Winter is not over yet…

Image


Overnight the higher areas received lots of snow, while it was raining in the lower areas, creating a ‘blue, white and green painting’. A new rain and snow weather front is coming, but there was a small blue sky window in the morning. With the sun coming up in my back, I captured the view towards the snow-covered Rigi mountain range:

Rigi, Snow and Green

Rigi, Snow and Green (click to enlarge)

Happy Snowing :-)

McuOnEclipse Components: 7-Feb-2016 Release


New in this release:

  • Segger SystemViewer: Upgraded to V2.30, added stack high-water mark
  • Segger RTT: fixed BASEPRI issue on Cortex M4 for critical sections
  • Utility: Fixed issue with Utility module and Kinetis SDK (usage of ‘byte’)
  • USB CDC: property to specify USB device current usage, new status getter functions.
Segger SystemViewer V2.30

Segger SystemViewer V2.30

Continue reading

Composition in Black, White, Orange and Blue

Image


The Föhn Wind kept me up tonight: it was pretty strong with 90-110 km/h browsing through the central valleys of Switzerland. An amazing sunrise with colors I have rarely seen compensated for that restless night with a natural painting:

Morning Clouds

Morning Clouds with Föhn Wind

The clouds are arranged in lines: this because the Föhn Wind is building ‘standing wind waves over the mountains: if the wind goes up it, water condensate and builds the cloud lines.

Happy Föhning :-)

Kinetis Lava LED Light Cube


In “openHAB RGB LED Light Cube with WS2812B and NXP Kinetis” I started experimenting Kinetis boards, a LED cube diffuser and Adafruit WS2812B NeoPixel LEDs. That worked well, but I was not to very happy about the visual effect. So here is my next version: I wanted to have control over each side of the cube. For this I have built a cube inside the cube with a 3D printed structure:

Bare LED Cube

Bare LED Cube

Continue reading

Tutorial: Bare-Metal Shell for Kinetis


I have been asked to provide a command line shell example for a bare-metal (no RTOS) application, so here we go!

Having a way to communicate to the firmware on a board is essential for most of my projects: it is simply, incredibly helpful and easy to do (see “A Shell for the Freedom KL25Z Board“). This tutorial shows how to add a simple command line shell to the NXP Freedom board which then can be extended as necessary.

Console Application

Console Application

Continue reading

Forces of Nature: Video of Destructive Rockslide


Overnight it was raining a lot in the central part of Switzerland. Additionally it is warming up so it adds water with all the snow melting in the higher areas. As a result, a dangerous rock- and mudslide went down today nearby in Moutathal, damaging bridges and power lines. A video records the destructive power of nature:

Continue reading

The Return of the 3D Printed Flying Toaster!


Does everybody still know why in the ‘old’ days there was the need for running a ‘screen saver’ on the computer? With the modern LCD displays they lost their initial purpose.  After “3D Printed Classic Mac Apple Watch Charging Station” I’m doing more ‘good old days’ 3D printing. The ‘elder ones’ might remember the “After Dark” screen saver software for Apple Macintosh and Microsoft Windows machines. Yes, that was 1991! For me most famous and iconic theme were the “Flying Toasters”:

Flying Toasters

Flying Toasters

Now there is a 3D printed version :-)

Flying Toaster SD Card Holder

Flying Toaster SD Card Holder

Continue reading

openHAB RGB LED Light Cube with WS2812B and NXP Kinetis


From my earlier work to use the NXP Kinetis with openHAB (see “Controlling NXP Freedom Board RGB LED with openHAB and Raspberry Pi“) it was only a small step to control a 20x20x20 cm light cube with 256 Adafruit WS2812 NeoPixels:

Kinetis RGB Cube with openHAB

Kinetis RGB Cube with openHAB

Continue reading

First NXP Kinetis SDK Release: SDK V2.0 with Online On-Demand Package Builder


There are plenty of different software packages available for microcontroller these days from all the silicon vendors. Finding a good software package is one challenge, getting what I really need is another one. Freescale is now part of NXP since December 2015, so this is probably the first release of the former Freescale part now as NXP: The NXP Kinetis SDK Version 2.0.

It comes with an interesting distribution way: instead of downloading huge packages with all-and-everything in it, I can build it ‘on demand’ online and get what I need, on demand from a web based front end:

NXP Kinetis Expert with Kinetis SDK

NXP Kinetis Expert with Kinetis SDK

Continue reading

Controlling NXP Freedom Board RGB LED with openHAB and Raspberry Pi


In “Blinky LED with openHAB on Raspberry Pi” I have used openHAB on a Raspberry Pi to control an LED attached to the Pi, and in “xx” I have explored how to connect a NXP Freedom Board over USB CDC to the Raspberry Pi. In this article I’m going to combine both: to control the LED on a NXP Freedom board remotely with openHAB on the Raspberry Pi.

ColorPicker with openHAB and FRDM-KL25Z

ColorPicker with openHAB and FRDM-KL25Z

Continue reading

3D Printed Magical MUFG Capsule to Duplicate NXP Kinetis K20 Boards


Sometimes it is all about doing fun stuff: to carry and store the tinyK20 (NXP/Freescale Kinetis K20) boards needed for next course, I wanted to build something geeky: a MUFG capsule to store and duplicate Kinetis boards :-)

MUFG Capsule with tinyK20

MUFG Capsule with tinyK20

Continue reading

Show Floating Point Variable Bytes in Eclipse CDT


My preferred variable format in Eclipse is hexadecimal (see “Debugging Variables in Hexadecimal with Eclipse“). However, this does not work well with floating point variables:

Floating Point Variables in Eclipse Variables View

Floating Point Variables in Eclipse Variables View

The above view shows all variables having the value 0x0 (zero), but that’s actually not really true.

Continue reading

Debug Multiple Boards with GDB at the Same Time


Many times it is very useful to debug multiple boards at the same time. For example if I’m debugging a communication stack between two boards: that way I can debug the protocol on both sides. Eclipse is a great framework which allows that. This post shows how to debug multiple boards (e.g. the NXP Freedom boards) in parallel from the same Eclipse IDE using GDB and the Segger J-Link:

Two NXP Freedom Boards debugged at the same time

Two NXP Freedom Boards debugged at the same time

Continue reading

Ice Flowers

Image


Waiting in the cold in the early morning can have an aesthetic aspect:

Ice Flowers

Ice Flowers

When ice builds beautiful structures on glass we call it ‘Eis Blume‘ (‘Ice Flowers’). In the past this happened on the windows in unheated buildings. These days it is a rare species with all the heated building. This one is more like snow flakes building up nice structures. With the sun coming up in the background their beauty will be gone very soon….

Happy Icing .-)

Hardware Reset for ARM Cortex-M with Segger J-Link and Kinetis Design Studio


The reset and signal line of a microcontroller is probably the most important signal to a microcontroller. And if things go wrong, then a first thing to check is the reset line. So having control over reset is an important aspect for embedded development. You would think that if you download a program to a microcontroller, the debug probe would put the device into reset at the start with a short pulse like this:

Reset Signal in Logic Analyzer

Reset Signal in Logic Analyzer

Continue reading

3D Printed Classic Mac Apple Watch Charging Station


One of the first machine I used for development many years ago was a Apple Classic Macintosh computer. My days of development with Pascal and Modula-2 are long gone. But with the availability of 3D printers I can print a Classic Mac :-). But now it is not used for development: I use it to charge an Apple Watch:

3D Printed Apple Watch Charging Station

3D Printed Apple Watch Charging Station

Continue reading

McuOnEclipse Release 10-Jan-2016


With the start of the new year 2016 I have published a new McuOnEclipse component release with the following major updates:

  1. Updated Segger SystemView and Real Time Transfer (RTT): added terminal functions and extra interfaces
  2. Improved USB CDC with serial number handing
  3. FreeRTOS TaskList shell command
  4. USB Stack: added MSD Host support for MCF52259, added support for K24FN120 and for the 100 MHz K20 devices
  5. New NEOMatrix component for Adafruit NeoPixel Matrix displays

    256 NeoPixel Matrix with FRDM-KL25Z

    256 NeoPixel Matrix with FRDM-KL25Z

Continue reading

Blaze: Miniature, Powerful, Hackable Display with Touch


I’m not much monitoring what is happening on Kickstarter or Indiegogo, only for time reasons, but maybe I should? For a while I’m looking for the next level for the tinyK20 project: better and more powerful microcontroller with touch display/graphic LCD. And when I see a Freescale/NXP Kinetis microcontroller on a crowd funding platform like this one, I hardly can resist ;-) :

Blaze Board (Source: http://kck.st/1S0HyUp)

Blaze Board (Source: http://kck.st/1S0HyUp)

Continue reading