Electronics > Microcontrollers

what should happen when you plug in a PIC microcontroller?

<< < (6/7) > >>


--- Quote from: eigenvektor on December 09, 2022, 05:04:45 pm ---@Doctorandus_P: I know it was my mistake when designing the original PCB, but I'd rather spend a couple minutes on posts to make sure there's no alternative I'm missing before redesigning my PCB and waiting for it to arrive from china (or trying to solder wires to a qfn package and building my own programmer)

--- End quote ---
It probably wouldn't be overly difficult to connect a few traces or pins to an ICSP connector while waiting for updated boards.  Still need a PICKit or such, though.

Ok I redid all my wiring, double checked that vdd and vss were indeed connected and the board is getting power when plugged in to usb (measured 5.2V with multimeter), but was still receiving the error: Target device was not found (could not detect target voltage VDD). You must connect to a target device to use PICkit 3.

once (without changing anything) I tried again, it seems to be connecting to the chip, but following error shows up:

Device Erased...


The following memory area(s) will be programmed:
program memory: start address = 0x0, end address = 0x1fff
configuration memory
program memory
Address: 0 Expected Value: e Received Value: ff
Failed to program device

then it goes back to the could not detect target voltage vdd error even though I still measure 5.2v with a multimeter.

from what I can find online its still probably a bad connection? Thinking it would be easier by now to just order new boards from china with smd assembly (they'd probably do a better job than me) and proper easy to solder to breakout pins.

I was plagued by similar errors using a Pickit 4 and a similar header pin arrangement. I ended up pulling the header apart and very carefully soldering the crimped wires. Problems vanished.


--- Quote from: Siwastaja on December 10, 2022, 02:33:29 pm ---I'm sceptical. I had access to a few rolls of Kynar wirewrap wire and it was colossal pain in the ass to solder. Which is totally understandable, as the one thing this wire is NOT designed for, is soldering. It's wirewrap wire, after all.

Maybe you have had better luck with wirewrap wires, but for me, never again. There is no shortage of hookup wires of different diameters and insulation options, so I nowadays buy anything except wirewrap wire.

--- End quote ---

I've used it for many years, and I've soldered it a lot more often than I've wire wrapped it. Never had any trouble at all getting it to solder.

This whole thread strikes me as an assumption only made by the Arduino generation.  Plug it in, the IDE does some sort of magic, and my LED blinks.  Embedded is easy!

If I plug something in for the first time and it "just works as expected" I buy a lottery ticket.


[0] Message Index

[#] Next page

[*] Previous page

There was an error while thanking
Go to full version
Powered by SMFPacks Advanced Attachments Uploader Mod