Semihosting with GNU ARM Embedded (Launchpad) and Kinetis Design Studio
A while back I wrote two articles about Semihosting: “Semihosting with GNU ARM Embedded (LaunchPad) and GNU ARM Eclipse Debug Plugins” and Semihosting with Kinetis Design Studio. With using the GNU ARM...
View ArticleGDB Client and Server: Unlocking GDB
In case you face problems with launching GDB: Then I have a quick solution (well: workaround): kill the GDB server and or client process. The problem can show up in many way, but in general gdb is...
View ArticleSemihosting for Kinetis Design Studio V3.0.0 and GNU ARM Embedded (launchpad)
Freescale has released the v3.0.0 version of the Kinetis Design Studio: this one comes with a great positive change: instead of a custom toolchain, it is coming with the standard GNU ARM Embedded...
View ArticleAutomatic 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...
View ArticleUnboxing 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-KL25Z, the most popular Freedom Board? The...
View ArticleTutorial: Adafruit WS2812B NeoPixels with the Freescale FRDM-K64F Board –...
This is Part 2 of a Mini Series. In Part 1, I described how to set up the hardware (see “Tutorial: Adafruit WS2812B NeoPixels with the Freescale FRDM-K64F Board – Part 1: Hardware“). Now it is time to...
View ArticleUsing the Freescale Freedom (FRDM-KL43Z) to Debug other Boards
In “Unboxing the Freescale FRDM-KL43Z Board” I was using the FRDM-KL43Z board the first time. The FRDM-KL43Z board has an on-board debug interface (Kinetis K20, OpenSDA). In this post I show how to use...
View ArticleBatch Programming with GDB: Segger J-Link and P&E Multilink
I need to program several boards with a firmware: a number too small for serious batch/factory programming, but a number too high doing this with the debugger. I want this: Connect the board with the...
View ArticleGoing to Mars: Building a DIY Eclipse IDE for ARM Embedded Microcontrollers
It has been a while since I published my ‘build my own DIY IDE’ (see “DIY Free Toolchain for Kinetis: Part 1 – GNU ARM Build Tools“). I have used that approaches in my classes successfully. Now a new...
View ArticleRenaming Eclipse CDT Projects
When I create a project in Eclipse (e.g. in Kinetis Design Studio with the GNU ARM Eclipse plugins), I have to specify the name of the project during creation time: But what if I change my mind later...
View ArticleTutorial: Blinky with the FRDM-KL27Z and Kinetis SDK v2
I’m using the FRDM-KL25Z in my classes, and that board is very popular: low price (<$15), reasonable features (48 MHz ARM Cortex M0+, 128 KByte of FLASH, 16 KByte of RAM), and many tutorials...
View ArticleNXP Kinetis Design Studio v3.2.0
For my classes I had so far asked the students to install the Kinetis Design Studio (KDS) v3.0.0 and then apply several updates and upgrades available. NXP has now released the v3.2.0 of their KDS...
View ArticleSolution for OpenOCD “Cannot communicate… target not haltet”
Related to my earlier article about using OpenOCD, I want to share something I have learned (again) with OpenOCD v0.10.0: I was running often into the following error: Warn : Cannot communicate......
View ArticleSemihosting with Eclipse and the NXP Kinetis SDK V2.0
The world is changing, and the say is “change is good”. In the software and API world, change very often means that a change results into something broken. So I had battled with semihosting working on...
View ArticleDebugging Multiple NXP Boards with GDB and P&E
In “Debug Multiple Boards with GDB at the Same Time” I have used the Segger J-Link to debug multiple boards, from the same IDE, at the same time. The remaining question in that article was: how to do...
View ArticleHow to Recover the OpenSDA V2.x Bootloader
More and more of my students are using Microsoft Windows 10 machines, and my computer has been upgraded to Windows 10 a couple of week ago too. From my work and experience, a new operating system...
View ArticleBoard Bring-Up Tips, GDB Logs and Traces in Eclipse
Sometimes things don’t go well, especially with bringing up a new board design. I always sweat blood that first minute when I try to connect with the debugger to a new design: Will it work? After the...
View ArticleSemihosting (again!) with NXP Kinetis SDK V2.0
I kind of hoped that after “Why I don’t like printf()” and all my other articles about printf and semihosting, that topic would be 200% handled and I won’t have to deal with any more. Well, I was wrong...
View ArticleEclipse and GDB: Process Properties, Arguments and GDB Traces
To me this was new, and thanks to Liviu I know now how to inspect the command line passed to the GDB server (see “Semihosting (again!) with NXP Kinetis SDK V2.0“) To get the arguments passed to the...
View ArticleReprogramming the Mikroelektronika Hexiwear Dockingstation
The Hexiwear docking station would have a nice feature: it has embedded a debug circuit (OpenSDA). That way I would not need an external debug probe to debug the Hexiwear. However, a debug probe is...
View Article