PDA

View Full Version : programing error


mineui
03-21-04, 06:31 AM
Hello

I am NMIN-0121 user.
I have no problem programing in Mac.
I sometime need to use it on windows but there is some problem.
I use zterm2000 or hyper terminal on windows and here is error
cords. If you know about this problem, help me please!


Original cord:

HEX
: SETMIDI 20 B02B C! ; EEWORD

: SENDMIDI BEGIN B02E C@ 80 AND 0 = NOT UNTIL B02F C! ; EEWORD

: AD2MIDI
8 0 DO 0 01F0 I + C! LOOP
SETMIDI
BEGIN
8 0 DO
30 I + B030 C!
I 4 MOD B031 + C@
DUP I 01F0 + C@ = NOT IF
B0 SENDMIDI
I 1+ SENDMIDI
DUP I 01F0 + C! 2/ 7F - ABS
SENDMIDI
ELSE DROP
THEN
LOOP
?TERMINAL
UNTIL ; EEWORD

AD2MIDI

----------------------------------
Erroe cord:
Max-FORTH V3.5E
HEX OK
: SETMIDI 20 B02B C! ; EEWORD OK
: SENDMIDI BEGIN B02E C@ 80 AND 0 = NOT UNTIL B02F C! ; EEWORD
SENDMIDI NOT UNIQUE OK
: AD2MIDI
8DO 0 01F0 I + C! LOOP
8DO ?
SIDI
SIDI ?
BN
BN ?
8 DO
DO ? MSG# 17
3 B030 C! OK
I B031 + C@ OK
D 01F0 + C@ = NOT IF
IF ? MSG# 17
B OK
I+ SENDMIDI
I+ ?
D I 01F0 + C! 2/ 7F - ABS OK
SDROP
SDROP ?
T
T ?
LP
LP ?
?RMINAL
?RMINAL ?
UL ; EEWORD
UL ?
OK
AD2MIDI
AD2MIDI ?
OK

nmitech
03-21-04, 10:54 AM
Please download and use the NMITerm. Here is the download link,
http://www.newmicros.com/download/NMITerm.zip

This will fix the download character synchronization. Just install the NMITerm and select your comport, other configurations are already default setup for Max-FORTH communication (9600, 8N1 with Pacing Character box checked)

RMDumse
03-21-04, 10:58 AM
: SENDMIDI BEGIN B02E C@ 80 AND 0 = NOT UNTIL B02F C! ; EEWORD
SENDMIDI NOT UNIQUE OK


The NOT UNIQUE message is a warning. It sounds like you are not downloading on a "clean" part. Maybe there isn't enough room to download the same code a second time.

Using NMITerm on windows will help, but there may be another problem.