![]() |
|
#1
|
|||
|
|||
|
Eeword
Hi,
Can EEWORD be used after a word definition to just save the definition? I defined a simple word, put EEWORD after the ; and save-ram after that. When I restart the IsoPod it hangs when I type WORDS. Also, do you have an example of the correct use of buffers for the serial port? I have seen examples of allocation, but not correct useage. I have the port working wiothout buffers but it might make it easier with them. Thanks, Paul |
|
#2
|
|||
|
|||
|
Quote:
You did it right. Quote:
Can you post the program, or show us the word definition that caused it hang ? Quote:
See I/O programming appnote, page 6-8. http://www.newmicros.com/store/prod...Programming.pdf Also there are many examples on the download page use serial buffer as well. http://www.newmicros.com/store/prod...s/download.html |
|
#3
|
|||
|
|||
|
Saving Words
Hi,
Thanks for the info on the buffers, that seems to be exactly what I need. The code I tried was something simple like : ADD2 2 2 + ; EEWORD SAVE-RAM When I reset the IsoMax prompt appears but hangs when I type WORDS. Is there a restart vector or something that has to be set? I just wanted to save some word definitions for now. Thanks, Paul |
|
#4
|
|||
|
|||
|
Found it...
Hi,
It seems I was not compiling or using the word after defining it. When I do that first before SAVE-RAM things work as expected. Also, does the minimal SEE program from Rob Chapman work with the IsoPod as listed in the posting? Thanks, Paul |
|
#5
|
|||
|
|||
|
I suspect perhaps you are not doing a SCRUB first, so your Flash is already corrupted with previous definitions. Before starting to move program segments to Flash, if you SCRUB it first, I think your problems may go away.
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|