New Micros, Inc  

Go Back   New Micros, Inc > Software Technical Support > FORTH ONLY
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read


Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 03-14-08, 05:58 AM
paverbeke paverbeke is offline
Registered User
 
Posts: 13
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
Reply With Quote
  #2  
Old 03-14-08, 09:58 AM
nmitech nmitech is offline
Moderator
 
Location: Big D, Texas
Posts: 1,285
Quote:
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.

You did it right.
Quote:
When I restart the IsoPod it hangs when I type WORDS.

Can you post the program, or show us the word definition that caused it hang ?

Quote:
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.

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
Reply With Quote
  #3  
Old 03-14-08, 02:59 PM
paverbeke paverbeke is offline
Registered User
 
Posts: 13
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
Reply With Quote
  #4  
Old 03-14-08, 04:02 PM
paverbeke paverbeke is offline
Registered User
 
Posts: 13
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
Reply With Quote
  #5  
Old 03-16-08, 09:00 PM
RMDumse RMDumse is offline
Moderator
 
Posts: 1,359
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.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is On
Forum Jump



All times are GMT -5. The time now is 01:34 AM.


Powered by: vBulletin Version 3.0.7
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.