Searching \ for 'New TEA (and other) on-line: PROBLEM SOLVED (I hop' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: techref.massmind.org/techref/index.htm?key=problem+solved+hop
Search entire site for: 'New TEA (and other) on-line: PROBLEM SOLVED (I hop'.

Truncated match.
PICList Thread
'New TEA (and other) on-line: PROBLEM SOLVED (I hop'
1998\05\14@214010 by Marco DI LEO

flavicon
face
{Quote hidden}

Andy,

I think I found the nature of the problem you are experimenting with my
TEA code.
After your note on the erratic results from my tea11.zip, I got crazy
trying to reproduce the results you reported. I ran a complete set of
tests both on a reference machine running the original 'C' code by
Wheeler and Needham and on my MPLAB 3.40. I did the same with the TEA-N
code and the results from every test matched each other.

Because of the mail messages I was receiving I decided to put a
reference
sheet on my page at http://members.tripod.com/~mdileo/ so everyone could

test the code by himself. I didn't get yet any feedback on this.

Determined to solve the puzzle I went home (where I am currently),
downloaded my code from internet and I compiled it on MPLAB 3.31.

I ran the program and I GOT THE SAME RESULT YOU REPORTED!!

While I was thinking about the possible cause of this strange
behaviour, a ligth bulb suddenly shined over me, I smacked my hand on my

head, opened the Option > Development Mode menu, set the processor to
SIMulate a PIC16_F_84 and everything went just fine.
I guess there are some problems to get a processor with 36 bytes of RAM
running a program that needs 37 of them!!

Please check if you have this sort of problem in your configuration
and let me know if the error went away.

Ciao
 Marco

BTW: my TEA-N code don't have the same problem since it just use 33
bytes of memory.

1998\05\14@231933 by Andrew Warren

face
flavicon
face
Marco DI LEO <PICLISTspamKILLspamMITVMA.MIT.EDU> wrote:

> I think I found the nature of the problem you are experimenting with
> my TEA code.
> ....
> I ran the program and I GOT THE SAME RESULT YOU REPORTED!!
>
> While I was thinking about the possible cause of this strange
> behaviour, a ligth bulb suddenly shined over me, I .... set the
> processor to SIMulate a PIC16_F_84 [rather than a 16C84] and
> everything went just fine. I guess there are some problems to get a
> processor with 36 bytes of RAM running a program that needs 37 of
> them!!
>
> Please check if you have this sort of problem in your
> configuration and let me know if the error went away.

Marco:

That was the problem; my simulator was set for the 16C84.

-Andy

=== Andrew Warren - .....fastfwdKILLspamspam.....ix.netcom.com
=== Fast Forward Engineering - Vista, California
=== http://www.geocities.com/SiliconValley/2499 (personal)
=== http://www.netcom.com/~fastfwd (business)

More... (looser matching)
- Last day of these posts
- In 1998 , 1999 only
- Today
- New search...