However when I send the file with "binary" option checkbox unchecked I get almost correct number of bytes - this is expected since Tera Term modifies new-line and some control characters (which of course is disastrous for my firmware so cannot be used). RX count = 18432 bytes (and goes on forever) RX count = 1024 bytes <- pressed MCU reset button RX count = 57344 bytes <- pressed MCU reset button Here is the output with a slightly modified boot loader that just prints number of received bytes every 1kB boundary: But for some reason Tera Term will keep on sending data indefinitely even though the file size is only 7724 bytes! My boot loader (named "BOOTNPB" as in no-protocol binary) uses a simple text-based interface with commands being single-characters (e = erase, l = load firmware, s = start firmware). When I want to update FW I press "l" and then simply send the binary file to the boot loader through UART using Tera Term's File -> Send file. While working on my custom boot loader I stumbled upon this weird issue with Tera Term 4.105.
0 Comments
Leave a Reply. |