a 256 byte EEPROM by connecting to the network port. But, you have to
play lots of games with bit masking and such to access everything. The
source Richard mentions shows how to do that. SCP is a bit more
straightforward and the pages on it in the manual help out with the bit
masking stuff as well.
DLC
rtstofer wrote:
> --- In oopic@yahoogroups.com, ooPIC Tech Support <dennis.clark@...>
> wrote:
>
>> Yes,
>>
>> You can talk to the ooPIC over the DDELink (network) port and it
>>
> will
>
>> look like a 256 byte EEPROM in terms of addressing. An easier way
>>
> to do
>
>> this is to talk to it over the serial link using SCP commands, they
>>
> are
>
>> WAY easier to do than the arcane bit masking that you'll have to do
>>
> if
>
>> you use the I2C link to the ooPIC.
>>
>
> If you can get oDDELink working with the PIC as the master and the
> OOPic as the slave, your life is simplified. The PIC just stuffs
> updated values into known locations of the OOPic memory as though it
> is an EEPROM. You probably need some kind of handshaking (via a flag
> variable) so that the OOPic doesn't grab an updated Lat while the Lo
> is stale.
>
> I would try using the I2C Tools to see how it works and then write
> the same functions for the PIC.
>
> 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:
No comments:
Post a Comment