Use serial UART output as input in other serial terminal on Windows 10

Your goal here is, once you have both microcontrollers connected to your Windows 10 PC and communicating correctly, forward data from one of them to the other through your computer (in a kind of man-in-the-middle or sniffer arrangement). You can accomplish that easily with Termite, following these steps: -Download and install Termite from here: … Read more

How to read a binary data over serial terminal in C program?

system(“stty erase ^H); system(“stty -F /dev/ttyS0 -icrnl -ixon -ixoff -opost -isig -icanon -echo”); // enter into non-canonical (raw) mode This would be insufficient code (and poor coding practice per POSIX conventions) to put the serial port into raw or non-canonical mode. The easiest method in C and Linux is to use the function cfmakeraw() which … Read more