STM32F4 upload questions
Stanimir5F Mon Mar 28, 2016 10:39 am
I have few questions about STM32 and Arduino IDE. Before anything else I want to apologize if my questions are stupid but I just want to make sure whether I get it right or not.
I have two boards – with STM32F103RB (Olimexino-STM32) and with STM32F407ZG (STM32-E407).
For the STM32F1 board I follow these instructions and I managed to make it work. I uploaded the bootloader. After that in Arduino IDE I selected board: “Generic STm32F103R series”; variant: “STm32F103RB”; upload method: “STM32duino bootloader”. Then I unplugged the the board, started compiling and uploading, then plugged the USB again and the uploading started. I tried this with blinking LED and button scanning. Everything works fine. So far so good.
But before I go any further I decided to try the same with STM32F4 board. Which unfortunately wasn’t so easy. I red a little bit around the forum and I found these topics: STM32F4 boards – limited support and Creating a Bootloader for generic boards. Where basically I red that doing the same as I did with STM32F1 is far more difficult (if not impossible) at this stage. And in the second topic I saw Roger Clark recommended STLink for STM32F4 microcontrollers.
So here are my questions about STM32F4:
1) Did I get it right? Is it indeed difficult/impossible to upload via USB at this stage of development?
2) Is there any alternate way to upload besides STLink? For example via RX and TX or something like that.
3) If STLink is the only way for now – is it necessary a bootloader for that? What kind of bootloader? Where can I get it? How should I upload it? Maybe it was mentioned in one of these topics but I didn’t find it.
Best regards!
Stan
