2024-10-16 01:48 AM
Welcome to everyone!
This question concerns the STM32F103CBT6 microcontroller , I have given a "BluePill" module equipped with this microcontroller. When I download the hex or elf file with STM Programer, it downloads nicely, no problem, But! however, it catches itself without any precedent and locks itself, and a message appears that it is only available in Reset mode, the program meter is no longer connected to the microcontroller. Could this be eliminated somehow, so that whenever I want to download something, can I do it without any problems? There should be no microcontroller "locking", etc. . Thank you very much in advance for your help Everyone!
2024-10-16 01:56 AM - edited 2024-10-16 02:05 AM
Beware that it is highly unlikely that a "Blue Pill" contains a genuine STM32.
@joseph_lengyel_1972 wrote:it catches itself without any precedent and locks itself, and a message appears that it is only available in Reset mode,
Pardon?
Please post a screenshot of what you actually see.
Also what version of CubeProgrammer, what Operating System, etc
PS:
And are you using a genuine ST-Link, or a "clone":
2024-10-16 02:19 AM
The operating system I use is Windows 10, but it used to do this during Window 7 professional. The STM Programmer I use is the latest version offered by the STM download site. there was an older ST-Link programmer application with it also it shop for prominence ,even after all kinds of updates. I will attach a screenshot of the little text box informing me about this microcontroller "lock". If there is a solution to this ,so that there is no download problem, which I wrote about earlier, eternal gratitude and thanks anyway !
2024-10-16 02:26 AM
And are you using a genuine ST-Link, or a "clone":
2024-10-16 04:00 AM
What I'm using now a pendrive style STLink-2 Programmer , I think It is a "clone" . Yes I know exist original STLink-2 programmer and this programmer look like white little box with fine ST logo. .
2024-10-16 04:10 AM
@joseph_lengyel_1972 wrote:a pendrive style STLink-2
As shown in the link I gave, that is definitely a clone - not a genuine ST product.
The ST logo is fake.
2024-10-16 04:14 AM - edited 2024-10-16 04:18 AM
2024-10-16 05:02 AM
If you upload broken code, it will fail.
Start looking at the code. Start debugging the code.
It might help to post in your native language, attach code files and pictures.
Your current description of the problem isn't helping diagnose the real issue.
If all the gear you have is counterfeit it is likely to be difficult experience. Buy a NUCLEO board if your time has value.
2024-10-16 05:30 AM
@Tesla DeLorean wrote:If all the gear you have is counterfeit it is likely to be difficult experience. Buy a NUCLEO board if your time has value.
^^^^ This!! ^^^^
@joseph_lengyel_1972 If you doubt it, see this recent tale of woe resulting from fake gear:
2024-10-16 07:07 AM
Thank you very much for the help with the references! All of them program original STMicroeletronics modules, embedded programmers like the Nucleo family, they like it because otherwise I can't access both at once, so they always use the original ones.