Use Virtual Serial PORT

Hello everybody!! I’ll explain my problem to you. I use a som nano produced by variscite which uses an m7 core to manage real time. I would like to use the virtual serial to communicate between pc and SOM. can i do it using freertos? which libraries should I use? what methods? some advice? sorry but I have recently been studying freertos for work

Hi Giovanni,

from what you describe, it looks as if you would be ok with FreeRTOS +TCP and an appropriate UART driver for your hardware. You would then merely need to implement a data pump that forwards all characters transparently between your UART and a (configurable) TCP connection. All of that is fairly basic RTOS programming. The only challenge would be to manage the TCP connection, ie recover from connection losses and that kind of stuff.