In a previous post – I talked about using an STM32F103 based Cortex M3 with OS X. Since that post, I’ve ordered one of these – STM32F4-Discovery. I am thinking about porting the work done with smoothieware from the LPC17xx platform to the STM32xxxx platform. The STM32F4-Discovery is a relatively new development board that shows a lot of promise. At ~$15 it is a bargain platform with a lot of features.
As usual, I need all of my goodies to work on my Mac and Windows boxes since I go back and forth a lot. The following is a quick guide to getting this up and running with OS X Lion.
First, you’ll need to get the stlink software compiled from https://github.com/texane/stlink:
You will also need to build the Mac driver:
make sure the gdbserver works:
If it successfully connects – you should see something like this:
verify that you can load software through GDB (make sure you use a ARM gdb such as yagarto etc…) Run the following:
You will get something like this if you successfully connect: