Adsense HTML/JavaScript

Sunday, June 28, 2020

STM32F411CEU6 minimum development board, and install stm32duino/Arduino_Core_STM32 on Arduino IDE/Windows 10.

Just received a STM32F411CEU6 minimum development board:



claimed:
STM32F411 Development Board
- Frequency up to 100 MHz
- Up to 512 Kbytes of Flash memory
- 128 Kbytes of SRAM

Information available at https://pan.baidu.com/s/1MDfunchq5IWM3hQ6MRw18A with access code: xbc9

But I'm outside China Mainland, so I cannot access Baidu cloud storage!


Test with stm32duino/Arduino_Core_STM32 on Arduino IDE/Windows 10

This board used DFU to upload program, so have to install STM32CubeProgrammer first.

Visit https://www.st.com/en/development-tools/stm32cubeprog.html, follow the steps to install STM32CubeProgrammer.

Then add the path of bin directory of installed STM32CubeProgrammer to your system PATH.




Install stm32duino/Arduino_Core_STM32, this repo adds the support of STM32 MCU in Arduino IDE.

To install Arduino_Core_STM32, open Arduino IDE.

Click Menu > File > Preferences, add the following URL to Additional Boards Manager URLs:
https://github.com/stm32duino/BoardManagerFiles/raw/master/STM32/package_stm_index.json


> Tools > Board: STM32 Boards (slected from submenu) > Generic STM32F4 series

> Tools > select submenu of Board part number > BlackPill F411CE

> Tools > Upload method > STM32CubeProgrammer (DFU)

Load the example Blink

Now press the buttons on the board to enter DFU mode.
> Press and hold the button BOOT0
> Preess and release the button RST
> Release the button BOOT0

The LED D3 will OFF.

Now you can verify and upload the program to the board.

Done. Now the LED D3 will start to blink.


remark:
Before trying BlackPill F411CE, I tried board part number of Generic F411CE. Success to verify and upload, but the LED not turn on.



Next: 

Related:

No comments:

Post a Comment