PDA

View Full Version : Unable to program UIRT2



kevinbarsby
May 9th, 2004, 06:53 PM
Hi all,

I've recently assembled my UIRT2B kit from Luc, and rather enjoyed it (a bit sad but true none-the-less)

I am getting the Unable to Program 0x0000 error when I try to program the PIC though. I have checked:

- WOL voltage - 5v
- Programming voltage - 11.96v
- Checked all soldered connections for bad joints
- Closely examined the board for bridges
- Checked the components are correctly mounted

So a couple (well 3 :) ) questions:
1. Has anyone had any success with picprog under linux?
2. Should I try and apply the programming voltage directly to pin 4 (I don't think I was getting the programming voltage on that pin)
3. Any suggestions / ideas what to try next, as I'm at the limits of what I can think of?

Thanks
Kev

Promixis
May 9th, 2004, 10:23 PM
Kev,

I have built 2 of these (> 2 years ago...).

My suggestion from my own mistakes and a similar problem... recheck every connection very carefully. Maybe even reheat (not over heat) all connections to be sure you got them. Both times I did this I found solder connections that were marginal. Since then, I have filed my solder skills in the round file :)

You also have to be very careful about disconnecting the power from the uirt before disconnecting the serial cable. I think I killed a PIC doing that.

Good luck.

kevinbarsby
May 10th, 2004, 12:03 AM
Hmm, ok.

I checked all the connection using my multimeter (checked component leg against part of PCB track and they are all ok, is it still worth resoldering the joins?

I guess it's worth a shot if it's worked for you?

Promixis
May 10th, 2004, 01:29 AM
It can't hurt... Also be sure to check your serial cable!

Good luck!

kevinbarsby
May 10th, 2004, 02:35 AM
After resoldering and using picpprog I now get:

/dev/ttyS0 PIC programmer missing or chip fault.

Whereas before it was reading the chip but not letting me write it

:(

kevinbarsby
May 10th, 2004, 02:49 AM
After resoldering and using picpprog I now get:

/dev/ttyS0 PIC programmer missing or chip fault.

Whereas before it was reading the chip but not letting me write it

:(

Actually scratch that, I'd inadvertently desoldered the comm connector wire (I am using a com port connector cable soldered directly to the mb to connect the comm port to an internal com port jumper).

kevinbarsby
May 10th, 2004, 03:07 AM
It appears I am back at square 1.

I cannot write to the chip, but can read the data from it.