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.

Friday, February 29, 2008

[oopic] Re: SCP accessing variables in RAM getting garbage

--- In oopic@yahoogroups.com, "Doug Taylor" <dogulas@...> wrote:
>
>
> Hi,
>
>
>
> OOPic III+ Ver C.1.1+ Compiler 6.1.1
>
>
>
> Ok, let me boil it down some more.
>
>
>
>
>
> The OOPic code:
>
>
>
>
>
> Dim firstByte As Byte
>
> Dim secondByte As Byte
>
> Dim thirdByte As Byte
>
> Dim firstWord As Word
>
> Dim secondWord As Word
>
>
>
> Sub Main()
>
> ..firstByte = 15 '0F hex
>
> ..secondByte = 171 'AB hex
>
> ..thirdByte = 205 'CD hex
>
> ..firstWord = 4660 '1234 hex
>
> ..secondWord = 43981 'ABCD hex
>
> End Sub
>
>
>
>
>
> The line from the OMP file for firstByte:
>
>
>
>
>
> ..V-105.....1..oVar8.........firstByte
>
>
>
>
>
> The conversation:
>
>
>
> Send: \0V
>
> Recv: v
>
> Send: U
>
> Send: 16H105J64LM
>
> Recv: 77m
>
> Expected: 0Fm
>
>
>
> Ok that is it in a nutshell. Any ideas?
>
>
>
> Thanks,
>
> Dogulas
>

I started to look at the SCP stuff this morning and it occurred to me
that you should, of course, try the command strings from a terminal.

As I wandered through the documentation, I couldn't help but notice
that your long command was broken up into individual, smaller,
commands with expected replies in the documentation.

So, I wonder what will happen if you break it up the way the
documentation shows...

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: