;updatefirmware.ttl V1.00 teraterm script ; ; ; V1.00 First release ; ;This script will stop the player and upload a firmware pointed to by the sendfile command below ;then restart the player send 'QUIT' ;wait for command prompt(PAULMON2_MP3 Loc:02000 > ) I do it this way because the 02000 part can change wait #10 'PAULMON2_MP3' wait '> ' send 'Z' wait 'Erase flash rom, Are you sure?' send 'Y' ;wait for command prompt wait #10 'PAULMON2_MP3' wait '> ' ;sendfile 'F:\temp\mp3player0-6-10_pjrc.hex' 1 ;sendfile 'F:\temp\mp3player.hex' 1 sendfile 'C:\cygwin\home\snowblind\mp3\mp3player.hex' 1 ;wait for command prompt wait #10 'PAULMON2_MP3' wait '> ' send 'J' ;wait for address input. This line also split because it has a part that can change wait #10 'Jump to memory location' wait 'or ESC to quit:' send '0000'