2020-11-18 9:15 AM
Hi everyone! I faced with a problem, when I was trying to start debugin process. I connected my PCB with STM32f072C8T6 to PC, downloaded a programm. It was successfuly done. Then I tryed to start debug mode, but IDE showed the next message: "no source available for " "". MCU has connection showed on the first picture. I think, problem is in hardware part, because I have similar PCB which works fine. Unfortunatly, I can't define what is wrong.
Thanks
Solved! Go to Solution.
2020-11-18 2:32 PM
Schematic looks good as far as I can tell.
Coocox was abandoned before SW4STM32 was even started, which is now also abandoned. Coocox was also never particular stable. Migrate to a better supported IDE and the problem will likely go away. STM32CubeIDE is the best free option. Of course if it works for one board and not another, could be a hardware issue. Check for good solder connections, stable power rail, no bridges, etc.
2020-11-18 9:52 AM
"no source available ..." could also be a debug settings issue. What debugger/IDE? How is the ST-LINK connected?
Try to connect using STM32CubeProgrammer. The typical message is "Error: No STM32 target found!" when the target does not respond.
2020-11-18 10:09 AM
I am usign Coocox . ST-LINK is connected trought SWD-connector. Target actually responds (I outputed periodic impulse on a pin and i saw it on oscolloscope)
These are debug settings
2020-11-18 10:13 AM
You could lower the SWD clock significantly to rule out weak connections. I don't know Coocox, sorry. Try the STM32CubeProgrammer for double checking the connection.
2020-11-18 2:32 PM
Schematic looks good as far as I can tell.
Coocox was abandoned before SW4STM32 was even started, which is now also abandoned. Coocox was also never particular stable. Migrate to a better supported IDE and the problem will likely go away. STM32CubeIDE is the best free option. Of course if it works for one board and not another, could be a hardware issue. Check for good solder connections, stable power rail, no bridges, etc.
2020-11-19 1:32 AM
I have tried to download and debug empty project created in CubeIDE. Everything works fine. Now I'm thinking how to quickly import my code from Coocox to Cube.
We’re moving the ST Community to a new platform to give you a better and more reliable community experience.