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.

Sunday, March 2, 2008

[oopic] Re: Parallel Cable on OOpic

I have written programs that function perfectly, do none of the
things Andrew mentioned, and STILL get it into the 'cosmic wedgie'
state.

That's why the first executable statement should ALWAYS be something
like OOPic.Delay = 500. Following reset, while the OOPic is
executing the 5 second delay (on V5, use 5000 on V6), it is possible
for the IDE to get control via SCP.

Lacking the delay, if the chip gets jammed up, the only way to
program it is to remove the EEPROM, attempt a download which will
detect the absence of the EEPROM and pop a dialog box, reinstall the
EEPROM with power ON (!) and then restart the download.

Richard

--- In oopic@yahoogroups.com, Andrew Porrett <slicerwizard@...> wrote:
>
> - change the serial port baud rate to anything other than 9600 bps
>
> - use the oEEPROM object and write to the wrong location - bye bye
program
>
> - recurse and overflow the stack - just call main() from main()...
>
>
> It's real easy, which is why programs should always start with a
> delay instruction.
>
> At 08:08 PM 3/1/2008, Brian Lloyd wrote:
> > > SCP will only work if the OOPic
> > > isn't jammed up (cosmic wedgie).
> >
> >Is it possible to get an OOPic into that state? That strikes me as
> >something that would be rather difficult but I know I have a lot to
> >learn.
>



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: