Help troubleshooting F7 Lightning Plus #74
-
I assembled one of these from scratch - I included a gallery of pictures. I think I did ok at putting it together, but during the flash step it says I can't connect, and the st-link programmer just flashes yellow (connection error). I included some detailed pictures from my scope - I'm guessing maybe I got a part backwards or something (although I've double checked a bunch of times) I'm using an official ST-link V2 Programmer, but I do have a cheapy knockoff coming from China in case this one is having issues. Sorry for the picture spam ;). I guess I just need some pointers on where to start troubleshooting. I admit I'm not super well versed on microcontrollers - I've had a rough time just finding a pinout for this one. I did just notice U5 is missing some solder, easy to fix, but that shouldn't affect programming right? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 13 replies
-
It may help to power the board separately and not rely on the STLink to power the board while you program it. Looks like maybe shorts on R12 and R7? Can't be sure. It's tedious, but check for any continuity between adjacent pins on the STM. Yes, all 100. |
Beta Was this translation helpful? Give feedback.
-
The big gotcha here is that the official ST-Link does not provide power. Its VCC pin is an input to power its level shifters, so it can work safely with different voltage levels (eg, 1.8v, 3.3v). So, you need to provide external power or, more easily, just hook up your ST-Link clone because those DO provide 3v3 and 5v power. Just make sure to hook up the 3v3 ;) I should have mentioned this big gotcha in the wiki. That's now fixed. Your soldering looks great, but a couple of points:
Be very careful messing with XO1. If you get stray solder on the package I've found they no longer work. Hot air it off, and I would probably hot air it back on again with more flux. |
Beta Was this translation helpful? Give feedback.
-
I thought I'd follow up :) - it works perfectly fine now. I installed a new crystal using just hot air today. I just need to learn the command line options and all the associated utilities: https://twitter.com/Angelworks42/status/1357133005332963328 (some old Samsung 3.5" floppy). Edit: Oh and too add thank you very much again for everyone's patience and help :)! |
Beta Was this translation helpful? Give feedback.
The big gotcha here is that the official ST-Link does not provide power. Its VCC pin is an input to power its level shifters, so it can work safely with different voltage levels (eg, 1.8v, 3.3v). So, you need to provide external power or, more easily, just hook up your ST-Link clone because those DO provide 3v3 and 5v power. Just make sure to hook up the 3v3 ;)
I should have mentioned this big gotcha in the wiki. That's now fixed.
Your soldering looks great, but a couple of points:
Be very careful messing with XO1. If you get stray solder on the package I've found they no longer work. Hot air it off, and I would probably hot air it ba…