Search My Blog

Tuesday, September 17, 2013

McHack ARM Based Self Hosted Toolchain The MC HCK as SWD Adapter

Here's a very interesting Project. The MC Hack ARM based Self Hosted Toolchain The MC HCK as SWD Adapter. Check it out...

Don

Self Hosted Toolchain: The MC HCK as SWD Adapter

 Self hosted toolchain: The MC HCK as SWD adapter - mchck.org

I am happy to announce that we have a self-hosted toolchain: The MC HCK can now act as SWD debug adapter for other MC HCKs, without requiring any other external debug adapters or development boards.

The SWD interface is a debug interface, similar to JTAG; however, it only requires two signal lines, and it is specific to ARM processors. In the MC HCK toolchain, we use SWD to initially program the USB bootloader, as well as to debug code. See below for a short example session.

With this, the MC HCK project has reached an important step on the way towards creating an entirely free (FLOSS) and inexpensive modern microcontroller platform.

Bootstrapping yourself

Of course, if you are starting from zero, with only blank, self-built MC HCKs, you will face a chicken-and-egg problem: how to program the first MC HCK? Head over to the wiki, which explains how to get started using other SWD programmer options, such as the Bus Pirate or the Bus Blaster. And thanks to our portable SWD bitbang code, other development boards will also be able to bootstrap the MC HCK toolchain, starting (very soon!) with an Arduino sketch.

Even though the MC HCK SWD adapter could be used to connect to other microcontrollers as well, there is no specific code support yet. But our open source friends have you covered: check out Versaloon or the great Black Magic Probe, which directly presents as GDB target and whose source helped a lot in developing the MC HCK SWD toolchain.

Debugging a MC HCK



Read More...
https://mchck.org/blog/2013-08-13-self_hosted_toolchain_the_mc_hck_as_swd_adapter/


MC Hack ARM based Self Hosted Toolchain The MC HCK as SWD Adapter


Update: McHck’s self flashing rig
Self hosted toolchain: The MC HCK as SWD adapter - mchck.org
MC HCK flashing rig - mchck.org
Ragel State Machine Compiler
mchck/mchck · GitHub
A $5 ARM development board
Versaloon Platform
Black Magic Probe

No comments: