macros - tera term xmodemsend command -
i've been using tera term update firmware on transmitters via serial port, process menial , user input intensive. i'm trying write macro that:
1) connects user specified serial port (check)
2) sends xmodem receive command transmitter (check)
3) uses xmodemsend send new firmware file transmitter (no_check)
4) repeats when user clicks repeat (kind of check)
basically, question how xmodemsend command should implemented. read tera terms index file has list , explanation of commands, whatever reason it's not working
the firmware file in teraterm folder, , i'm using like:
;... other code stuff... wait 'now.' ;waits last word of transmitter's response xmodem receive signal xmodemsend 'filename.bin' 1 ;format: command 'filename' checksum wait 'power!' ;waits last word of transmitter's response file ;... other code stuff... the macro getting hung on line 'wait 'power!'', i'm using program monitor serial port's data transfer , after transmitter replies xmodem receive signal, computer never sends file.
any advice on doing wrong?
i ended answering own question (posted here in case ever has same problem). turns out tera term doesn't in own folder when looking files. copied c: drive , put in file path so:
xmodemsend 'c:\filename.bin' 1 this made xmodemsend command work able find file , upload transmitter.
here: http://logmett.com/forum/viewforum.php?f=3&sid=b0133f8126f23f52deee9da264605add forum on ttl (tera term language) usage
Comments
Post a Comment