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.

Wednesday, October 24, 2007

[oopic] Re: Trouble with PC communicating with OOPIC-R

--- In oopic@yahoogroups.com, "rtstofer" <rstofer@...> wrote:
>


Similar to what Richard said, I use a USB-to-RS232 dongle with my
notebook PC, and the oopic IDE cannot find the serial port
automatically. However, after I set the comport manually, downloads
work ok.

> > Hi All,
> >
> > Two weeks ago, I was able to communicate with the OOPIC-R via the
> serial
> > port and now I can not. I am back to getting the "Cable Not
Found"
> > dialog. I have made no *INTENTIONAL* changes that I know of that
would
> > cause the serial link between the PC and the OOPIC to stop
working.
> >
> > My setup: OOPIC-R and Windows XP running on Toshiba laptop.
> > I have no printer port and no serial port, only USB.
> >
> > No serial to TTL level converter.
> >
> > *NO* null modem cable.
> >
> > When I do Tools...Cable Configuration...Find Serial Cable, I get
the
> > "Can not find a serial cable connected to an OOPIC" dialog.
> >
> > disabled LPT1 and COM1, USB shows up as COM3.
> > device manager shows: USB Serial Port (COM3)
> > same result.
> >
> > uninstalled LPT1 and COM1
> > device manager shows: USB Serial Port (COM3)
> > same result.
> >
> > reboot, COM1 and LPT1 reappear. uninstall COM1 and LPT1 drivers
again.
> > Find Serial cable => Found no installed serial ports to check.
> >
> > rename COM3 to COM1 => same
> > "Can not find a serial cable connected to an OOPIC" dialog.
> >
> >
> > Went to a PC with a real serial port (only one) and checked that
is
> was set
> > to 9600 baud, no parity, and one stop bit. No better luck. One
time,
> I got the message
> > "sent y and received fhsa(*(*^%$$#$" or something like that.
> Sometimes received:
> > "Can not find a serial cable connected to an OOPIC" dialog.
> >
> > Thank you for all help that you can offer.
> >
> > Larry Leitch
> >
>
> First, it is ALWAYS better to tell the IDE where the serial cable is
> located than to have it try to find a cable.
>
> Just because the IDE is trying to talk to the OOPic doesn't mean the
> OOPic is listening. It should listen but if it is executing an
errant
> program, it won't.
>
> So, try the famous 'cosmic wedgie' fix: Power down the OOPic and
> remove the EEPROM. Power up and try to download a known good
program;
> certainly not the one that's in the OOPic now. I have a little
> blinking LED program that I keep in the OOPic when I'm not using it
> for just this reason.
>
> With luck, when you try to download with no EEPROM, the IDE will
pop a
> dialog telling you to reinstall the EEPROM. Do so with the power on
> (don't get it backwards!) and acknowledge the dialog. Everything
> should proceed - with luck...
>
> Now, ALWAYS put OOPic.Delay = 500 as the first executable statement
in
> your programs. This will allow the IDE to get the OOPic's attention
> during the 5 second delay following reset.
>
> You can verify your cable by using Hyperterminal (9600,n,8,1 no flow
> control) and shorting pins 2 & 3 at the end of the cable.
Characters
> typed at the keyboard should echo.
>
> There are USB<->Serial cables that don't like the voltage levels of
> the R-board. The voltage levels do not comply with RS232 signal
> levels but they will work with a PC serial port.
>
> You can test the USB<->OOpic connection in Hyperterminal (set as
> above) by typing \0V (backslash, zero, upper case V). You should
get
> a response of 'v' (lower case v). You can also do this from the
> terminal window of the IDE. Since you are jammed up, I suspect you
> will have to do this test with the EEPROM removed.
>
> 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: