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

AS far as I can tell the serial connection is correct, on my
translator board I get both leds lit when I plug in, I know for sure
it worked in the past and I haven't changed anything since then. I
don't have any other programs using the serial prot that I know of.
Since I posted last I've also tried unistalling the IDE and rebooted
a few times for good measure but still nothing.

--- In oopic@yahoogroups.com, ooPIC Tech Support <dennis.clark@...>
wrote:
>
> Now we're getting somewhere. Make sure that your serial connection
is
> correct and that no other serial program has control of the port.
>
> DLC
>
> bb261998 wrote:
> > I had already replaced the regulator with the bigger one prior to
> > this issue after frying the original. I've checked voltage at the
> > regulator, on the 40 pin connection and at the point of the
serial
> > connection and everything looked good at 5v. Even with the EEPROM
> > taken out the IDE still doesn't connect to the board, I get the
same
> > error message. I just tried doing the connection right when I
power
> > it on to attempt to get in during the delay, same story.
> >
> >
> > --- In oopic@yahoogroups.com, "rtstofer" <rstofer@> wrote:
> >
> >> --- 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
> >
> >
> >
> >
>
> --
> ------------------------------------------------------
> Dennis Clark ooPIC Tech Support
> www.oopic.com
> ------------------------------------------------------
>



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: