Nice tutorial for writing and debugging plain C on ARM Cortex-M3 STM32F103


Jacob Mossberg wrote nice tutorial how to program in C ARM Cortex-M3 with GCC and how to debug it with GDB and OpenOCD.

We like very much the hardware he is using 🙂 STM32-H103 and ARM-USB-OCD-H.


4 Comments (+add yours?)

  1. zoobab
    Aug 21, 2018 @ 17:58:59

    Then you understand why the Arduino IDE is popular.


  2. Giovanni V.
    Aug 22, 2018 @ 21:39:25

    Cars are also very popular but often people crashes somewhere… seriously which debug tool offer the arduino ide?
    Caution: print() isn’t a valid answer 😉


    • Janusz
      Oct 08, 2018 @ 07:09:38

      For me “one click to compile and flash” over “series of mystic commands” was a deal breaker. No IDE worked good on my Ubuntu, and on Windows it took me over 20h to deal with some protocol drivers for my Discovery board. Arduino IDE installation and troubleshooting took me less than 5 min. I would have my project already done if only I used Arduino.


  3. hb
    Aug 23, 2018 @ 16:03:54

    Nice indeed


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: