STM32F4 upload questions
I have few questions about STM32STM32Microcontrollers and processors…Map magic glue code, ethernet compiles, just WARNING: library LwIP claims to run on [ stm32 ] architecture(s) and may be incompatible with your current board which runs on [STM32]…View in hardware catalog 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 STM32F103RBSTM32F103RBMicrocontrollers and processors…duino IDE 1.7.7 I dont have “STM32 to FLASH – no bootloadrer” board. I used “Generic STM32F103RB ”. In this tutorial there is step 12: “On the Maple mini, press and hold the “Butt…View in hardware catalog (Olimexino-STM32) and with STM32F407ZGSTM32F407ZGMicrocontrollers and processors…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 m…View in hardware catalog (STM32-E407).
For the STM32F1STM32F1Microcontrollers and processors…w I am not able to compile. Error message: “C:\arduino-1.6.12\hardware\Arduino_STM32\ STM32F1 \cores\maple/boards.h:39:25: fatal error: board/board.h: No such file or directory” I…View in hardware catalog 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: “STM32F103RBSTM32F103RBMicrocontrollers and processors…duino IDE 1.7.7 I dont have “STM32 to FLASH – no bootloadrer” board. I used “Generic STM32F103RB ”. In this tutorial there is step 12: “On the Maple mini, press and hold the “Butt…View in hardware catalog ”; 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 STM32F4STM32F4Microcontrollers and processors…uild.board' preference. Auto-set to: STM32F3_DISCOVERY_F3 Board Arduino_STM32-master: STM32F4 :discovery_f407 doesn't define a 'build.board' preference. Auto-set to: STM32F4_DISCO…View in hardware catalog 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 STM32F1STM32F1Microcontrollers and processors…w I am not able to compile. Error message: “C:\arduino-1.6.12\hardware\Arduino_STM32\ STM32F1 \cores\maple/boards.h:39:25: fatal error: board/board.h: No such file or directory” I…View in hardware catalog is far more difficult (if not impossible) at this stage. And in the second topic I saw Roger Clark recommended STLink for STM32F4STM32F4Microcontrollers and processors…uild.board' preference. Auto-set to: STM32F3_DISCOVERY_F3 Board Arduino_STM32-master: STM32F4 :discovery_f407 doesn't define a 'build.board' preference. Auto-set to: STM32F4_DISCO…View in hardware catalog microcontrollers.
So here are my questions about STM32F4STM32F4Microcontrollers and processors…uild.board' preference. Auto-set to: STM32F3_DISCOVERY_F3 Board Arduino_STM32-master: STM32F4 :discovery_f407 doesn't define a 'build.board' preference. Auto-set to: STM32F4_DISCO…View in hardware catalog :
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
