piclist 2001\04\05\085736a >
Thread: Help -- 12C509A Won't Start
www.piclist.com/techref/microchip/devices.htm?key=pic
picon face BY : Spehro Pefhany email (remove spam text)



At 02:21 AM 4/5/01 -0700, you wrote:
>Hi All.
>
>I've got a circuit using the 12C509A (JW part) with all pins as pure
>I/O, i.e. using Internal RC, no WDT, no code protect, and internal
>MCLR.
>
>Unfortunately, it doesn't seem to show any signs of life. It programs
>and verifies OK, and the simulator suggests that it should be
>initializing I/O ports, etc, but when I hang a logic analyzer off its
>six GPIO pins I see no activity.

What program are you using? You wouldn't necessarily see "activity"
from just initializing the pins. They come up as inputs (high
impedance), even setting them as outputs successfully might not
show up as activity on your logic analyzer.

Make sure you loop your program deliberately, don't just let it
wrap the program counter. A tight loop *toggling* an output pin
(make double sure you are really setting it up as an output, the
pic has the opposite convention for the TRIS compared to most
other micros you might be familiar with) will allow you to
check it out on your logic analyzer, a logic probe or a 'scope.

Oh, cover the window, and if you are using the internal MCLR
bring the power up snappily, not cranked up slowly with your
power supply pot.

Best regards,


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Spehro Pefhany --"it's the network..."            "The Journey is the reward"
.....speffKILLspamspamSTOPspaminterlog.com             Info for manufacturers: http://www.trexon.com
Embedded software/hardware/analog  Info for designers:  http://www.speff.com
Contributions invited->The AVR-gcc FAQ is at: http://www.bluecollarlinux.com
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

--
http://www.piclist.com#nomail Going offline? Don't AutoReply us!
email listservEraseMEspammitvma.mit.edu with SET picList DIGEST in the body



seeking: microchip devices pic
<3.0.3.32.20010405085559.0222d450@interlog.com>

In reply to: <a05010411b6f1e849c838@[192.168.6.4]>
See also: www.piclist.com/techref/microchip/devices.htm?key=pic
Reply You must be a member of the piclist mailing list (not only a www.piclist.com member) to post to the piclist. This form requires JavaScript and a browser/email client that can handle form mailto: posts.
Subject (change) Help -- 12C509A Won't Start

month overview.

new search...