2021-04-26 01:59 AM
Hello Community!
I have a project where I was using a STM32F407 MCU from a minimal ready-to-run system with USB, programming connection and pin headers to access every MCU pin. While using this hardware, the project can be loaded and executed on the MCU.
However, to improve the hardware solution I integrated all these features in my own PCB and buy the MCU. The problem is that when connecting it for the very first time to STM32CubeProgrammer the system does not find the target at all.
I have checked the following things on the MCU pins:
The error raised by the STM32CubeProgrammer is the same as if there were no MCU connected: NO STM TARGET FOUND!
I bought a batch of 10 MCUs and the error is the same on the 4 different MCUs that I checked, also on PCBs from different manufacturers.
So far, I want to ask to the community the following:
Thank you all in advance for your help, I will appretiate your answers a lot.
Solved! Go to Solution.
2021-04-26 04:08 AM
Hello
>>?Is there any special status in which the MCUs are sent from factory that must be change before the very first programming? If yes, which is the procedure?
There is no any special treatment before first start.
>>Can you suggest me other points to check
AN4488 from ST has a lot of information about HW considerations and checks
>>Clock signal from ST-Link Device is properly reaching the MCU.
You probably mean the SWCLocK signal. But you didn't mention SWDIO pin and GND that are required to connect properly the STLink with board.
2021-04-26 04:08 AM
Hello
>>?Is there any special status in which the MCUs are sent from factory that must be change before the very first programming? If yes, which is the procedure?
There is no any special treatment before first start.
>>Can you suggest me other points to check
AN4488 from ST has a lot of information about HW considerations and checks
>>Clock signal from ST-Link Device is properly reaching the MCU.
You probably mean the SWCLocK signal. But you didn't mention SWDIO pin and GND that are required to connect properly the STLink with board.
2021-04-26 06:42 AM
Dear Vangelis,
Thank you very much for your comments.
Finally, thanks to the AN4488 I have been able to find that there was a pin mismatching on BYPASS_REG. Now it seems to works properly.