IP Library Granted Patent US 10,289,583
Granted Patent B2
US 10,289,583 · App. 15/255,235 · Granted May 14, 2019

Techniques of emulation of serial port over USB at embedded-system device

Inventors: Venkatesan Balakrishnan (Chennai, IN); Padma Devaraj (Chennai, IN); Anand Krishnan Vadivelu (Trichy, IN)
Assignee: AMERICAN MEGATRENDS, INC.
G06F13/385G06F13/4282
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 10,289,583
App. No.
15/255,235
Granted
May 14, 2019
Kind
B2
Abstract

In an aspect of the disclosure, a method, a computer-readable medium, and an apparatus are provided. The apparatus may be an embedded-system device. The embedded-system device emulates a first serial port at the embedded-system device. The embedded-system device exposes the first serial port to a host of the embedded-system device through a USB connection. The embedded-system device receives first command or data from the host through the first serial port. The embedded-system device processes the first command or data.

Claims (50)

1. A method of operating an embedded-system device, comprising:

emulating a first serial port at the embedded-system device having a processor and a memory coupled to the processor;

exposing the first serial port to a host of the embedded-system device through a Universal Serial Bus (USB) connection over a communication link between the embedded-system device and the host, wherein the host detects, in accordance with USB standards, the first serial port through a USB endpoint at the embedded-system device and connected to the host through the USB connection;

receiving first command or data from the host through the first serial port, wherein the first command or data are serial command or data; and

processing the first command or data.

2. The method of claim 1 , wherein the receiving the first command or data further comprises:

receiving first USB packets from the host at the USB connection; and

extracting the first command or data from the first USB packets.

3. The method of claim 1 , wherein the embedded-system device further comprises a service component configured to receive inputs from the first serial port, the method further comprising:

receiving, at the service component, the first command or data as input through the first serial port, wherein the first command or data is in a format recognizable by the service component and is processed by the service component.

4. The method of claim 3 , wherein the service component is further configured to output to the first serial port, wherein the first command or data is processed to generate second command or data, the method further comprising sending the second command or data to the host as output through the first serial port.

5. The method of claim 4 , wherein the sending the second command or data further comprises:

packing the second command or data in second USB packets; and

sending the second USB packets to the host through the USB connection.

6. The method of claim 4 , wherein the exposing the first serial port to the host comprises:

pairing the first serial port and a second serial port at the host such that the first command or data are output from the second serial port to the first serial port as input and the second command or data are output from the first serial port to the second serial port as input.

7. The method of claim 6 , wherein the pairing of the first serial port and the second serial port are implemented through the USB connection.

8. An apparatus, the apparatus being an embedded-system device, comprising:

a memory; and

at least one processor coupled to the memory and configured to:

emulate a first serial port at the embedded-system device;

expose the first serial port to a host of the embedded-system device through a Universal Serial Bus (USB) connection over a communication link between the embedded-system device and the host, wherein the host detects, in accordance with USB standards, the first serial port through a USB endpoint at the embedded-system device and connected to the host through the USB connection;

receive first command or data from the host through the first serial port, wherein the first command or data are serial command or data; and

process the first command or data.

9. The apparatus of claim 8 , wherein to receive the first command or data, the at least one processor is further configured to:

receive first USB packets from the host at the USB connection; and

extract the first command or data from the first USB packets.

10. The apparatus of claim 8 , wherein the embedded-system device further comprises a service component configured to receive inputs from the first serial port, wherein the at least one processor is further configured to:

receive, at the service component, the first command or data as input through the first serial port, wherein the first command or data is in a format recognizable by the service component and is processed by the service component.

11. The apparatus of claim 10 , wherein the service component is further configured to output to the first serial port, wherein the first command or data is processed to generate second command or data, wherein the at least one processor is further configured to send the second command or data to the host as output through the first serial port.

12. The apparatus of claim 11 , wherein to send the second command or data further, the at least one processor is further configured to:

pack the second command or data in second USB packets; and

send the second USB packets to the host through the USB connection.

13. The apparatus of claim 11 , wherein to exposes the first serial port to the host, the at least one processor is further configured to pair the first serial port and a second serial port at the host such that the first command or data are output from the second serial port to the first serial port as input and the second command or data are output from the first serial port to the second serial port as input.

14. The apparatus of claim 13 , wherein the pairing of the first serial port and the second serial port are implemented through the USB connection.

15. A non-transitory computer-readable medium storing computer executable code for operating an embedded-system device, comprising code when loaded in a memory of the embedded-system device that causes a processor of the embedded-system device to:

emulate a first serial port at the embedded-system device;

expose the first serial port to a host of the embedded-system device through a Universal Serial Bus (USB) connection over a communication link between the embedded-system device and the host, wherein the host detects, in accordance with USB standards, the first serial port through a USB endpoint at the embedded-system device and connected to the host through the USB connection;

receive first command or data from the host through the first serial port, wherein the first command or data are serial command or data; and

process the first command or data.

16. The non-transitory computer-readable medium of claim 15 , wherein to receive the first command or data, the code is further configured to:

receive first USB packets from the host at the USB connection; and

extract the first command or data from the first USB packets.

17. The non-transitory computer-readable medium of claim 15 , wherein the embedded-system device further comprises a service component configured to receive inputs from the first serial port, wherein the code is further configured to:

receive, at the service component, the first command or data as input through the first serial port, wherein the first command or data is in a format recognizable by the service component and is processed by the service component.

18. The non-transitory computer-readable medium of claim 17 , wherein the service component is further configured to output to the first serial port, wherein the first command or data is processed to generate second command or data, wherein the code is further configured to send the second command or data to the host as output through the first serial port.

19. The non-transitory computer-readable medium of claim 18 , wherein to send the second command or data further, the code is further configured to:

pack the second command or data in second USB packets; and

send the second USB packets to the host through the USB connection.

20. The non-transitory computer-readable medium of claim 18 , wherein to exposes the first serial port to the host, the code is further configured to pair the first serial port and a second serial port at the host such that the first command or data are output from the second serial port to the first serial port as input and the second command or data are output from the first serial port to the second serial port as input, wherein the pairing of the first serial port and the second serial port are implemented through the USB connection.

Assignments (5)
PATENT SECURITY AGREEMENT Recorded Oct 23, 2024
From: AMERICAN MEGATRENDS INTERNATIONAL, LLC
To: BAIN CAPITAL CREDIT, LP, AS ADMINISTRATIVE AGENT AND COLLATERAL AGENT
Reel/Frame 069229/0834 →
RELEASE OF SECURITY INTEREST Recorded Oct 17, 2024
From: MIDCAP FINANCIAL TRUST
To: AMERICAN MEGATRENDS INTERNATIONAL, LLC
Reel/Frame 069205/0795 →
SECURITY INTEREST Recorded May 6, 2019
From: AMERICAN MEGATRENDS INTERNATIONAL, LLC
To: MIDCAP FINANCIAL TRUST, AS COLLATERAL AGENT
Reel/Frame 049087/0266 →
ENTITY CONVERSION Recorded Apr 15, 2019
From: AMERICAN MEGATRENDS, INC.
To: AMERICAN MEGATRENDS INTERNATIONAL, LLC
Reel/Frame 049091/0973 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 2, 2016
From: BALAKRISHNAN, VENKATESAN; DEVARAJ, PADMA; VADIVELU, ANAND KRISHNAN
To: AMERICAN MEGATRENDS, INC.
Reel/Frame 039620/0381 →
Continuity (1)
Related Publication 20180067883A1 · Mar 8, 2018