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, March 1, 2008

Re: [oopic] Re: Parallel Cable on OOpic

>> What about supporting a USB-to-I2C adaptor? That should let you
>> directly access the EEPROM for programming. That seems like a good
>> alternative to bit-banging an ancient parallel port.
>>
>>
> The parallel port programming concept predates SCP which allows serial
> port programming.

That much I knew. It is fairly common to bit-bang an I2C buss using a
parallel port. The only problem is that the parallel port has been
deprecated in favor of USB.

> In addition, the debugger never really worked very
> well with the parallel port and you had to move the cable to the other
> I2C connector to get it to work at all (oDDELink). I wouldn't count
> on ANY effort to enhance parallel port programming especially since
> parallel ports don't come on new computers.

I wouldn't either. It was a silly comment actually since just about
everyone is using serial now.

> Now, could you BUILD a gadget to do USB -> EEPROM programming and run
> it outside the IDE? Sure, walk in the park. The compiler outputs a
> .oex file with the binary code and there are a lot of ways to get from
> a PC to I2C; bit-banged or otherwise. Personally, I would use a USB
> Bit Wacker
> http://www.sparkfun.com/commerce/product_info.php?products_id=762 but
> that's because I just finished a project with the device.

I was going to suggest that.

> Considering how short the files are, bit-banging wouldn't be a bad way
> to go. After all, that's how the IDE does it! In fact, that's how
> the OOPic does it.
>
> But, short of having a REAL parallel port, programming the OOPic with
> a parallel cable just isn't going to happen. If the chip is so old it
> doesn't support serial programming, well, that's going to be a
> problem. Get an old computer with Win98 and hang on to it. I do...

The chips are not that expensive to upgrade.

> Parallel programming always worked because it held the OOPic in reset
> while it stuck code in the EEPROM. 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.

--

73 de Brian, WB6RQN
Brian Lloyd - brian HYPHEN wb6rqn AT lloyd DOT 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: