2020-08-19 09:01 AM
Hi
I bought STM32F411E DISCO board for project and want to develop a custom USB Device for communication with PC
I need some information on following
Solved! Go to Solution.
2020-08-19 11:34 PM
Please read the new STM32CubeIDE user manual to learn about IDE, Compiler, projects etc. It is available here:
The Information Center in the product includes most other manuals and links to product information.
You can download the firmware from ST web site or if you have created a project for STM32F411 in STM32CubeIDE you will find the fw downloaded in the Firmware installation repository. Look into
Preferences -> STM32Cube -> Firmware updater in STM32CubeIDE to find the repository location.
I found this USB example in the fw.
C:\Users\name\STM32Cube\Repository\STM32Cube_FW_F4_V1.25.0\Projects\STM32F411E-Discovery\Applications\FatFs\FatFs_USBDisk
2020-08-19 11:34 PM
Please read the new STM32CubeIDE user manual to learn about IDE, Compiler, projects etc. It is available here:
The Information Center in the product includes most other manuals and links to product information.
You can download the firmware from ST web site or if you have created a project for STM32F411 in STM32CubeIDE you will find the fw downloaded in the Firmware installation repository. Look into
Preferences -> STM32Cube -> Firmware updater in STM32CubeIDE to find the repository location.
I found this USB example in the fw.
C:\Users\name\STM32Cube\Repository\STM32Cube_FW_F4_V1.25.0\Projects\STM32F411E-Discovery\Applications\FatFs\FatFs_USBDisk
2020-08-21 08:57 AM
Thanks, it helps a lot.
Just wondering is there any sample example for STM32F411E - DISCO board with debug print and ST-LINK debuger or something similar
2020-08-25 01:59 AM
I do not have any specific examples with the STM32F411E-DISCO board displaying debug using printf.
However the UM contains common info on how to use printf redirected to ITM. It works with ST-LINK GDB server.
Another way that can be used with OpenOCD and ST-LINK is based on semihosting. In that case the rdimon library needs to be included in the project and initialise_monitor_handles() needs to be called. There is no STM32 example based on this but there are several description on internet on how to use it with OpenOCD.
2020-08-25 02:47 AM
Thanks EJOHA, I am using ITM for now, it is not reliable but suffice for my work.
Secondly, I am searching for Secure DFU and Secure Boot loader for STM32F411 for my products that may get deploy in fields
Requesting you please share any information releated to Secure DFU and Secure Bootloader. Appreciate you help!
2020-08-25 03:00 AM
Information regarding STM32 Secure DFU and Bootloader is available on ST web site. Please open new forum question if needed.