Tag Archives: ARM

Cortex-M0 Boot

stm32f0_img

Still alive and kicking. And with another year in my back in Embedded Development.

My recent tamperings have been about creating a bootloader for a Cortex-M0 µ-processor that performs firmware update either from UART or SPI.

There was a interesting bit on how to set-up the system to have two Firmwares running (Boot Mode and application mode). And that is what I’ll explain in this post. How to set up a project to build a boot and successfully run your main application.

Boot me up

Advertisements

3 Comments

Filed under code, electronic

ST HAL I2C address (SHIFTED!)

stlogo

Quick note, for those who might be banging their head, like I did.

ST HAL library 7 bit I2C address has to be shifted before passed to their functions.

EDIT: Let me google that for you situation. I’ve been working with the official ST documentation, when I just had to google to find this beautiful blog post from 2 years ago.

Explanation

Leave a comment

Filed under code, curious