Some time ago I needed bit more power that the regular Arduino is able to provide. Therefore I thought, lets brush up my ARM skills.
So I desired to make some hefty investments in ARM, here is what i got:
- STM32F103CTB dev board, $4,88
- ST LINK-v2 (clone), $4,08
This was a major sad back, not taking in consideration the poor EUR -> $ ratio :)
NO but searilously cheap, just the way any duch-guy likes it :P
Then it is time to fire up the IDE, many to choose from, I chose: OpenSTM32 (which is basically a pre-setup Eclipse environment).
Compiling a sample project when without a glitch, but uploading… not so much..
OpenOCD just kept complaining:
adapter speed: 1000 kHz adapter_nsrst_delay: 100 none separate Info : Unable to match requested speed 1000 kHz, using 950 kHz Info : Unable to match requested speed 1000 kHz, using 950 kHz Info : clock speed 950 kHz Error: open failed in procedure ‘init’ in procedure ‘ocd_bouncer’After a hefty bit of googling I finalymanaged to get it uploading my code and stepping thru it:
Add the lines:
monitor reset monitor halt monitor flash protect 0 0 11 offto the Debug Configuration -> Startup tab:
It know purrs like a kitten
Share this post
Twitter
Google+
Facebook
Reddit
LinkedIn
StumbleUpon
Pinterest
Email