valerionew / unisolder-notes

Markdown documentation repo for building and chosing parts for Unisolder, the open source universal soldering iron controller
Creative Commons Attribution 4.0 International
203 stars 47 forks source link

Board won't program #15

Closed curieos closed 4 years ago

curieos commented 4 years ago

I've tried multiple things, but the board won't program. I've powered it via the power supply board and everything. The programmer always errors out, saying it cant detect the appropriate voltage level. Any ideas on troubleshooting? I can upload pics of both boards tomorrow, but I'm pretty sure all the components are oriented correctly.

nicola-d commented 4 years ago

I had some troubles as well when I first attempted to program the microcontroller. Now, I mostly forgot what the problem was... Anyways, I leave a few notes:

Remember to connect Pickit to UniS board, 'arrow' pin on Pickit should connect to programming pin UniS board - it is the only one with SQUARE pad, others are round pads. 5 pins on UniS board used out 6 pins on Pickit, pin 6 is not used.

Start MPLab IPE (not IDE app within the package, which is for development purposes).

You can find some more info on the forum: http://dangerousprototypes.com/forum/index.php?topic=7218.msg68299#msg68299

Hope this helps...

curieos commented 4 years ago

I seem to have a short on my board somewhere on the 3.3v line. I'm not sure where though. I do know that I accidentally flipped the -.6v and 3.3v rails at one point, could I have possibly damaged something?

nicola-d commented 4 years ago

U13 (MCP6V27-E/SN) is connected to the 3.3v and -0.6v rails (the others are connected to 3.3v and GND). Flipping those lines can have burned the chip and made an internal short circuit. Try to desolder U13 and check if the short is still present.

nicola-d commented 4 years ago

Also U18 is powered by 3.3 and -0.6v. Try to desolder one chip at a time.

curieos commented 4 years ago

I tried both, one at a time, both seem fine unfortunately. I did find some extra solder under one of them that might've been shorting other things, so I've been checking all the others, but I haven't found the culprit yet.

nicola-d commented 4 years ago

Also U16 is connected to -0.6v

nicola-d commented 4 years ago

By the way, all these chips are not needed to program the PIC microcontroller.

curieos commented 4 years ago

I figured. Unfortunately nothing I've tried has fixed things.

nicola-d commented 4 years ago

You can locate the short(s) looking for points where the board heats up. For example touching the ICs still in place. But don't leave the board powered up for too long. If you have access to a thermal camera things are going to be a lot easier...

curieos commented 4 years ago

I tried hooking the board up to an adjustable benchtop PSU set to 3.3v and 5 amps. It dropped down to .5v at 5 amps when I hooked it up, and I didn't feel anything getting warm. It's almost like the board itself is dead shorted?

nicola-d commented 4 years ago

Well, 5 amps is way too much (I don't remember well but the front board draws something like 200mA). Are you sure there are no solder bridges somewhere? Examine thoroughly the each solder joint under a magnifying glass

curieos commented 4 years ago

I've looked pretty extensively at the board for solder bridges. The only ones I've found were under U13 to C24 and under C62. To double check my sanity, I just pulled all of the non-passive components to make sure nothing was hiding underneath.

nicola-d commented 4 years ago

Then, excluding a solder bridge, when the board is powered up you should sense a component become hot (and probably start to smoke) since is drawing 5 amps...

nicola-d commented 4 years ago

If you wish, you can post some hi-res photos of the board. I'll try to help locating the troubles...

Tig3rch3n commented 4 years ago

Hey ho, I finished my Unisolder a few months ago and had some Flashing troubles as well but before I tried flashing I did some measurements first.

Some where on the forum someone posted a list of test points with the corresponding voltages.

Speaking about power consumption... The PSU part without the Front bit pulled about 100-110mAh?

All connected without the Handle it used 170-185mAh

Like Nicola said, publish some High res Images...

And try the test points, first just the PSU and than connect everything and do some additional probing :p

curieos commented 4 years ago

Here's a drive folder with images of my board. https://drive.google.com/open?id=1Uwd7klpFu7USx8ZZ3M75HeDvMTSG1hE5

nicola-d commented 4 years ago

Can you add another picture of U16 and surrounding area? That photo is a bit out of focus

curieos commented 4 years ago

Done

nicola-d commented 4 years ago

From the photos, it looks like two pins (bottom left and central) of U11 are bridged.

curieos commented 4 years ago

Nice catch, no luck with the short though.

curieos commented 4 years ago

Btw, just measured and it's a 0 ohm short

curieos commented 4 years ago

I'm starting to think maybe one of the vias got some solder paste in it and maybe that's where the short is

nicola-d commented 4 years ago

If you have a couple of sharp multimeter probes I would test each adjacent pin of U16 for continuity. The pitch is very small and it is easy to overlook a bridge.

nicola-d commented 4 years ago

Also check C49 and C40. Not sure but there seems to be some bridging... They are connected to 3.3v and GND.

curieos commented 4 years ago

Doesn't look like it, I was real careful with those two. They like to touch

curieos commented 4 years ago

I found the short and got the board programmed. Turns out there was a short under C35

curieos commented 4 years ago

New problem, LCD isn't working. 2526D8BE-19CF-492D-86C2-82A5F25F219B 06AC1A70-31BB-4842-9625-252B921CDFB0

curieos commented 4 years ago

Turns out I just flashed the incorrect bootloader/firmware. All is good! Thanks for all the help!