I'm about to start using C++ for embedded and chose STM32F103C8T6 AKA Blue Pill for my first project. Using Keil MDK 5.34 on my Windows machine I went to practice this series but I get the following error when I tap on Flash -> Download (F8).
I tried many remedies notably, un-install/re-install the St Link V2 (screenshot below) driver, changing USB cable and port on the PC, and so on but no change in result thus far.
Why do I get that error and what are you ideas on solving this issue, please?
Thanks beforehand for your time and help.
You're not trying to use the free ST version, are you?
That's just for Cortex-M0 parts ...
No, I have bought the STM32F103C8T6 and STM32F411 Nucleo-64 MCUs.
I mean are you using the free ST version of Keil:
https://www2.keil.com/stmicroelectronics-stm32/mdk
No, MDK 5.34
What Andy is pointing you to:
- In cooperation with ST Microelectronics Keil offers a free of charge MDK Essential license key at:
- This version is limited to just STM32F0, STM32G0, and STM32L0
- BTW - See our helpful MDK Video Tutorials at:
http://www2.keil.com/video
rkopsch said:- This version is limited to just STM32F0, STM32G0, and STM32L0
None of my MCUs are of those categories. I've already mentioned their title above.
rkopsch said: http://www2.keil.com/video
I will watch them but have doubts they talk about my current issue! :(
Ary said:None of my MCUs are of those categories
Yes - but you wouldn't be the first to have thought that the free ST version applies to any & all STM32 chips.
Just making sure.
So now there's not a solution for any of the problems mentioned above? :(
Perhaps use authentic parts, then the software won't complain. Nucleo boards are pretty cheap in the scale of things, and wasted time.
Or use a U-Link or J-Link pod and build for the MCU you actually have
https://hackaday.com/2020/10/22/stm32-clones-the-good-the-bad-and-the-ugly/
www.cnx-software.com/.../
Ary said:there's not a solution for any of the problems mentioned above?