Searching \ for 'Newbie Question : Wot hav I dunn rong?' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/index.htm?key=wot+hav+dunn+rong
Search entire site for: 'Newbie Question : Wot hav I dunn rong?'.

Truncated match.
PICList Thread
'Newbie Question : Wot hav I dunn rong?'
1999\08\09@043034 by PC Pete

flavicon
face
part 0 3484 bytes
This is my first post, and I realise this question must have been asked
before, but I haven't seen it.

I have a slightly not working 16F84 controller, and I'm buggered as to
why it slightly doesn't work. If anyone's done the same things and had
the same problems, I'd be delighted to hear your thoughts.

I purchased and built a DT001 PIC programmer, courtesy of Don Mc. I
also purchased and populated a DT 111, then powered up and checked that
I didn't let the smoke out of anything. Using Nigel's lovely PIC
programming software, including the 32-bit port driver, on my shiny new
notebook, I apparently managed to program the 16F84 enough to run Don's
Walking LEDs test. Sometimes. There's the rub.

If, after programming the PIC (socketed in the machined sockets on
either the '001 programmer itself, or installed in the '111 SIMMSTIK in
SIMM socket 0, then transferred to the '111 socket), I switch from
'Load' to 'Run', sometimes it runs the walking LEDs. Otherwise it sits
there with a bunch of random LEDs glaring at me. Pressing either the
'Boot' or 'Reset' buttons does nothing. Or if it does something, I
can't see what it is.

Using Nigel's software, I can erase, program, and verify the PIC till
I'm blue in the face, in either of the allowed programming sockets. But
then either it will work, or it will not work.

If I now take the partially not-working PIC and plug it into any other
socket (including Don's '004 "short" board, this now completely fails
to work.

I don't have MAX232 installed in the programmer or the '111. I'm
communicating parallel-ly.

I have a clean supply of 19V AC rated at 3.5A. (40KHz switchmode from
mains,  <10mV  @ 10k,20k, & 40KHz)

I do have stable 5V (4.98V, 20-60mV ripple @50 & 100 Hz, fully loaded
(1.01A, using calibrated HP resistors)) at the regulator. I also have
it at the other end of the board :)

13V DC under normal programming load is stable and reasonably quiet
(12.71V, 60-110mV ripple @50&100Hz).

The program is set up for HS (I'm using the furnished Xtal, with
appropriate trimcaps (18pF)). At power on I get a very nice waveform
centered at about VDD/2, no noise, no spikes, no dropouts.

SIMM sockets are tight, board edge tinning is good, no dry joints
between here and Casablanca.

I'm an ex-Z80 lover who wants to get into the slightly simpler and
friendlier world of the PICs before my eyesight goes completely.
Luckily, my wife (She Who Must Be Obeyed) also wants me to get the PIC
running, too, so I can prove I haven't just dashed the Nursery
Decorating Money on Something Else That Doesn't Work.

I'm pretty sure the PIC is healthy and happy - what have I missed?

Apologies for the digital diarrhoea, I didn't want to just post "it
doesn't work" and have 2 dozen "what about the..." enquiries. If I
_have_ missed something, please let me know!

Thanks for your patience!

Regards,

Peter

--------------------------------------------------------------------
Support Education Developer     | Ever notice how fast Windows runs?
Asia-Pacific Consumer Services  |
Hewlett-Packard Australia       | No, neither did I.
31 - 41 Joseph St               |
Blackburn. VIC. 3130            |
Ph: (IDD) +61 3 9272-4069       |
--------------------------------------------------------------------
This message reflects neither the views of my employer, nor any of
its employees. Including me, presumably.
--------------------------------------------------------------------

1999\08\09@095937 by Dan Creagan

flavicon
face
<snip>


>I'm pretty sure the PIC is healthy and happy - what have I missed?

The easy one to check first is to make sure you have disabled the watchdog
timer. At burn time select the fuses and turn off WDT before you load the
program into the PIC.


Dan

1999\08\10@041342 by Mark Willis

flavicon
face
PC Pete wrote:
> <snipped>
> Apologies for the digital diarrhoea, I didn't want to just post "it
> doesn't work" and have 2 dozen "what about the..." enquiries. If I
> _have_ missed something, please let me know!
>
> Thanks for your patience!
>
> Regards,
>
> Peter

 IMO you probably did better than average as a first post - I haven't
used those programmers/parts, but you gave enough info that if I knew
'em well, I probably wouldn't have to spend a couple days asking probing
questions before I knew enough to help!  <G>  That really helps motivate
people to help (Lower investment of their time & effort, as you're doing
your part, so to speak.)

 Only thing I can think of that you might add, is to pass along a URL
pointing to your source code, so those interested in looking at it can
take a look (Best not to just push that to all 1800ish list members by
default; you did well!)

 Dan C's points look good to me, as a start, if that isn't it maybe pop
your code up on your web pages & post the URL?

 Mark

1999\08\12@021242 by root

flavicon
face
Hi,
if the XTAL does not exceed 4MHz, you should select XT config. instead of
HS.

Imre


On Mon, 9 Aug 1999, PC Pete wrote:

{Quote hidden}

More... (looser matching)
- Last day of these posts
- In 1999 , 2000 only
- Today
- New search...