Semihosting is a technique to do printf() debugging through an active debug connection. So instead using a physical connection like RS-232 or USB CDC, the connection to the host machine is through the debugger. This post is about enabling and using semihosting with gcc and newlib/newlib-nano in Freescale Eclipse based Kinetis Design Studio (KDS) using the GNU ARM Eclipse plugins.
Yearly Archives: 2014
Swiss Mountain Three-Pass-Tour: Susten – Grimsel – Furka
Gallery
This gallery contains 8 photos.
Winter is over in the lower areas, and with the snow melting in the upper areas, now most of the Swiss Alp mountain passes are open. Time to make my favorite motor bike tour: Susten – Grimsel – Furka. It … Continue reading
Configuration Data: Using the Internal FLASH instead of an external EEPROM
Many applications need to store persistent (non-volatile) data at runtime: configuration data, error logs, sensor data, calibration values, etc. The question is: where to store that data? If it is only a few kBytes, an SD card or similar is an overkill. Adding an external EEPROM? Sure, that works, but adds an extra part to the design. Some microcontroller have internal EEPROM. But what if not? Why not using the microprocessor internal flash memory?
Tutorial: Freedom Board with Adafruit Ultimate GPS Data Logger Shield
Many times I start with a project and tutorial, only to get interrupted for emergency tasks and assignments. For a long time I wanted to add GPS (Global Positioning System) functionality to one of my projects. While I started a few months ago on this, it took me until this week-end to finish the at least the first part: a SD card data logger with GPS :-): I calculate global positioning and time information, can use it in Google maps and store it on a SD card:
How to Add Register Details View in Eclipse
The standard Eclipse registers view only shows the core registers:
I think it would be great to have a view to see all the device peripheral registers too?
If you want the same, then this article is for you. It works both for stock Eclipse and Freescale Kinetis Design Studion (KDS) 🙂
Frozen Fog
Gallery
This gallery contains 4 photos.
Sometimes I take shots and store them on a SD card. What can happen is that I move that SD card from the camera to the SD card slot of one of my boards and forget about the pictures. Until … Continue reading
Mini-Sumo Robot Competition May 2014 in Horw
11 teams with a total of 14 robots participated at the May 2014 Mini-Sumo robot competition this week at the Lucerne University of Applied Sciences and Arts in Horw/Switzerland.
Tutorial: Data Logger with the FRDM-K64F Board
The Freescale FRDM-K64F is a great board for data logger applications: it has a powerful ARM Cortex M4F with 120 MHz, 1 MB Flash and 256 KByte RAM. Best of all: it already has a micro SD card socket on the board :-).
Reducing Compile Time in Eclipse with Parallel Build
Feeling that building a project in Eclipse (including Kinetis Design Studio) takes a long time? Then probably the ‘parallel build’ option is not enabled in your project: Using parallel build option reduces the needed time by factors. To give an example, to build a project with 56 source files takes 32 seconds without parallel build enabled:
With parallel build enabled this gets reduced down to less than 10 seconds:
🙂
Morning Clouds
Image
Clouds are very fascinating by nature. Especially in combination with the morning sun as a light source. This Monday morning it created a special scenery: The sun was making them half-transparent, while the wind from the South was moving the clouds to the North and creating a nice texture.









