US 12,367,039 B2
Embedded terminals remote online development system
Yihuai Wang, Suzhou (CN); Lianmin Shi, Suzhou (CN); Xiaofang Zhang, Suzhou (CN); Wangshu Yao, Suzhou (CN); and Qiang Liu, Suzhou (CN)
Assigned to SOOCHOW UNIVERSITY, Suzhou (CN)
Appl. No. 17/761,793
Filed by SOOCHOW UNIVERSITY, Suzhou (CN)
PCT Filed Oct. 9, 2021, PCT No. PCT/CN2021/122780
§ 371(c)(1), (2) Date Nov. 3, 2022,
PCT Pub. No. WO2022/227411, PCT Pub. Date Nov. 3, 2022.
Claims priority of application No. 202110472342.3 (CN), filed on Apr. 29, 2021.
Prior Publication US 2024/0045672 A1, Feb. 8, 2024
This patent is subject to a terminal disclaimer.
Int. Cl. G06F 8/77 (2018.01); G06F 8/65 (2018.01); G06F 11/362 (2025.01); G06F 11/3698 (2025.01)
CPC G06F 8/77 (2013.01) [G06F 8/65 (2013.01); G06F 11/3636 (2013.01); G06F 11/3698 (2025.01)] 6 Claims
OG exemplary drawing
 
1. An embedded terminals remote online development system, comprising:
an embedded terminal, a cloud forwarding platform and an integrated development environments (IDE) module, wherein the cloud forwarding platform establish a communication connection with the IDE module through Internet, and establishes a connection with a communication module of the embedded terminal through a communication base station; and the IDE module established a connection with the embedded terminal in a wired manner;
the IDE module is capable of entering remote updating of embedded terminal software, comprising:
sending dynamic command data to a user port, and writing the dynamic command data by a user program;
sending a system instruction for program jumping to the user port, and jumping to Basic Input/Output System (BIOS) after the user program receives the system instruction;
calling a dynamic command function by default during a BIOS starting process; modifying a program running state in a dynamic command first to complete a stay in BIOS; then, completing initialization and interrupt enable of the user port; setting an address of an interrupt service routine corresponding to the user port in a BIOS program interrupt vector table as the dynamic command function; finally, informing an upper computer that relevant initialization steps have been executed and a program update is to be started;
starting to send data frames of the user program to the user port by the upper computer, and receiving, checking and writing the data frames of the user program by the terminal by means of the dynamic command from the user port; and
when the dynamic command from the user port finishes processing the last frame of data, modifying the program running state, resetting BIOS, and completing subsequent guidance on the user program by means of a BIOS basic process,
wherein the embedded terminal comprises a hardware platform, nad the hardware platform comprises a master chip minimal system, a communication module and a peripheral circuit thereof, a power conversion circuit, and an access sensor;
wherein the cloud forwarding platform comprises a cloud server and a developer computer, a server side of an intranet traversal software Fast Reverse Proxy (FRP) runs on the cloud server, a client side and a cloud forwarding program of the intranet traversal software FRP run on the developer computer, and an address and a port of the cloud server are mapped onto the developer computer; and
wherein the IDE module is capable of entering remote debugging of embedded terminal software and comprises:
dynamically loading a software debugging program by means of a dynamic command system in a BIOS project, and providing a specific implementation of a necessary function for debugging in a dynamic command;
completing relevant settings of a breakpoint by means of a flash address reloading and breakpoint unit, and outputting corresponding debugging information in a debug monitoring exception responsible for capturing the breakpoint; and
carrying out remote software debugging by means of a full-run mode, a run-by-statement mode, a run-by-process mode and a suspend mode.