electroSome

Remote Debugging of Embedded Systems

USB Network Gate - Logo

USB Network Gate - Logo

Most of us are working from home during this COVID-19 pandemic situation. I have personally struggled to debug some of my hardwares remotely. Today I am going to introduce a completely new method for remote debugging of embedded systems. Using this method you can debug a remote system as if it is connected to your local computer.

Here we are using a software named, USB Network Gate developed by Electronic Team Inc.

Installation

Select Language – USB Network Gate Installation
USB Network Gate – Welcome to Setup Wizard
USB Network Gate – License Agreement
USB Network Gate – Installation Folder
USB Network Gate – Select Components
USB Network Gate – Select Start Menu Folder
USB Network Gate – Select Additional Components
USB Network Gate – Ready to Install
USB Network Gate – Installing
USB Network Gate – Installation Completed

Note: Don’t forget to install this software in both computers, local and remote.

Connecting Remote Devices

Now we have completed the installation of USB Network Gate software. You may choose the trial version or enter license key if you have purchased one. Now let’s connect our remote embedded devices for debugging.

On Remote PC

USB Network Gate – Sharing Devices

On Local PC

USB Network Gate – Adding Server
USB Network Gate – Remote Devices Connected

Remote Debugging

Now we have remote devices connected are virtually connected to our local computer as if it is really connected. No we can go ahead and debug as usual. Here I have connected a FT232R USB to UART converter and a STM32 STLink.

Debugging in IAR using STM32 STLink

Debugging in IAR Embedded Workbench

Connecting To Remote Serial Port

Now we can simply connect to a remote serial port as if it is connected to our local PC. Here I am using the software Tera Term to connect to serial port.

Connecting to Remote Serial Port – Tera Term
USB Network Gate – UART Communication

Conclusion

I personally like “USB Network Gate” and it is highly recommend for embedded or electronics engineers who work remotely. And this software looks very stable and user friendly too.