This Forum is Dedicated For all The Object Oriented PIC Lovers .......... The concept behind OOPic is straight forward. Use preprogrammed multitasking Objects from a library of highly optimized Objects to do all the work of interacting with the hardware. Then write small scripts in Basic, C, or Java syntax styles to control the Objects. During operation, the Objects run continuously and simultaneously in the background while the scripts run in the foreground telling the objects what to do.

Saturday, December 29, 2007

[oopic] Re: Serial Connection No Longer Working

--- In oopic@yahoogroups.com, "bb261998" <bb261998@...> wrote:
>
> the strange thing is I had everything working the night before; went
> to bed; when I got up the next day the problem began. No changes to
> the computer, software or program, or wiring. I changed battery also
> before posting the first time. I didn't realize you need to connect
> within the delay period though. My fear is I may have carelessly
> screwed up one of the I/O's that the serial uses while playing
> around late at night.
>
> One other symptom I forgot to mention, when I plug in my testing
> LEDS and reset the oopic, I/O 1 goes high and all the others I/O
> stay low. the last program I loaded before all this started did a
> sort of Knight Rider pattern across the first 8 I/O's so I expected
> even if I screwed up the serial I/O (19,23..) that program would
> still be loaded and running normally which it does not.

Check the 5V levels on the board. That tiny little regulator won't
take much abuse and 8 LEDs at 20 mA each might just be enough to take
it out. It is only rated for 100 mA! See
http://www.fairchildsemi.com/ds/LM/LM78L05A.pdf

Dennis recommends replacing it with a regular 7805 in a TO-220
package. I haven't fried mine yet but I will probably stay with the
TO-92 package,

It's pretty hard to trash the uC. You can take out a pin without
frying the whole thing.

Once you verify (and repair) the 5V, remove the EEPROM and try to
download a program. You will get a dialog box telling you to install
the EEPROM. Do so with the system powered up. Don't get it backwards!

Acknowledge the dialog and you should be good to go.

THAT is the reason for always including OOPic.Delay = 500 as the first
executable statement. It allows the IDE to communicate with the CPU
during the 5 second delay (following a reset) before the uC goes off
to never-never-land.

Richard



Yahoo! Groups Links

<*> To visit your group on the web, go to:

http://groups.yahoo.com/group/oopic/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:

http://groups.yahoo.com/group/oopic/join

(Yahoo! ID required)

<*> To change settings via email:
mailto:oopic-digest@yahoogroups.com
mailto:oopic-fullfeatured@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
oopic-unsubscribe@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:

http://docs.yahoo.com/info/terms/

No comments: