We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hello, I’m new to STM32s having moved on from PICs and Arduinos and I’m using an STM32F401 Nucleo board with an STM32F401RE chip.
I’ve used STM32CubeMX and written a blinky LED so I know eveythings working I’ve downloaded the STM32CubeF4 projects form here www.st.com/.../PF259243 and interested in getting the UART working \Projects\STM32F401RE-Nucleo\Examples\UART
It compiles OK but when I flash it I get the message Error : Flash Download Failed – Cortex M4.
The other four demo projects all compile and flash download OK. I ‘ve scoured the web but unable to find a solution. I suspect it’s something to do with Configure Flash Tools > Utilities
Any help really appreciated as the project I’m planning needs a UART.
" I suspect it’s something to do with Configure Flash Tools > Utilities"
Also look at Options for Target > Debug:
- is the right debug adaptor specified?
Check 'Settings' next to the debug adaptor:
- is the correct interface specified (JTAG or SWD)
- is the correct speec specified.
Compare these settings against one of the "working" projects.
Should, of course, say: "is the correct speed specified?"