Getting started with ARM using OpenOCD and the BusPirate
Disclaimer |
---|
I am no expert whatsoever. I created this repository mainly do document my progress and help others who try to get started with ARM programming. The code and knowledge came mainly from reading online and looking into the example files of the arm toolchain. Any help, suggestions or criticism are welcome. |
This repository documents my progress with learning about ARM microcontrollers, the arm-none-eabi toolchain, OpenOCD and the Bus Pirate. I created it as a reference for others who try to learn the bare-metal basics.
I am using a STM32F103C8 microcontroller (the "bluepill") with a Bus Pirate v3.
TODO
- Installing OpenOCD from source
- Using the Standard Library (in progress)
Some useful pieces of documentation which helped me get started
- This was the most informive website on ARM I could find. Read this before doing anything else.
- This website and especially this page are a great manual on ARM assembly
- You should of course read the OpenOCD manual
- OpenOCD commands and Flash commands
- A great blog post on how to use and connect the BusPirate
- This StackOverlow question had some good information (especially the part with the Makefile)
- This Article is very informative
- STM32F103x8 datasheet
- RM0008 Reference manual
- STM32F10x standard peripheral library