[go: up one dir, main page]

CN112765018B - Instrument debugging system and method - Google Patents

Instrument debugging system and method Download PDF

Info

Publication number
CN112765018B
CN112765018B CN202110036497.2A CN202110036497A CN112765018B CN 112765018 B CN112765018 B CN 112765018B CN 202110036497 A CN202110036497 A CN 202110036497A CN 112765018 B CN112765018 B CN 112765018B
Authority
CN
China
Prior art keywords
simulation
business logic
instrument
debugging
bitmap
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110036497.2A
Other languages
Chinese (zh)
Other versions
CN112765018A (en
Inventor
朱敦尧
邓玲敏
魏韬
肖正佳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuhan Kotei Informatics Co Ltd
Original Assignee
Wuhan Kotei Informatics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wuhan Kotei Informatics Co Ltd filed Critical Wuhan Kotei Informatics Co Ltd
Priority to CN202110036497.2A priority Critical patent/CN112765018B/en
Publication of CN112765018A publication Critical patent/CN112765018A/en
Application granted granted Critical
Publication of CN112765018B publication Critical patent/CN112765018B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Prevention of errors by analysis, debugging or testing of software
    • G06F11/3698Environments for analysis, debugging or testing of software
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Prevention of errors by analysis, debugging or testing of software
    • G06F11/362Debugging of software
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/544Buffers; Shared memory; Pipes

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Software Systems (AREA)
  • Debugging And Monitoring (AREA)

Abstract

本发明提供一种仪器仪表调试系统及方法,该系统包括:仪表业务逻辑模块,用于处理编写的仪表业务逻辑代码,构建PC端编译、调试和运行的仿真环境;外围硬件设备模拟模块,用于对TFT/LED进行显示模拟,对按键、存储设备、通信进行操作模拟;共享内存模块,用于提供共享内存供外围硬件设备模拟模块与仪表业务逻辑模块访问,以实现数据传递。通过该方案可以方便嵌入式系统代码的调试和测试,降低硬件成本,并提高仪器仪表调试开发效率。

Figure 202110036497

The invention provides an instrument debugging system and method. The system includes: an instrument business logic module, which is used to process the written instrument business logic code and build a simulation environment for PC-side compilation, debugging and running; a peripheral hardware device simulation module, which uses It is used to simulate the display of TFT/LED, and simulate the operation of buttons, storage devices, and communication; the shared memory module is used to provide shared memory for access by the peripheral hardware device simulation module and the instrument business logic module to realize data transmission. The solution can facilitate the debugging and testing of embedded system codes, reduce hardware costs, and improve the efficiency of instrument debugging and development.

Figure 202110036497

Description

一种仪器仪表调试系统及方法Instrument debugging system and method

技术领域technical field

本发明涉及计算机领域,尤其涉及一种仪器仪表调试系统及方法。The invention relates to the field of computers, in particular to an instrument debugging system and method.

背景技术Background technique

随着科技的发展,各类仪器仪表不断出现,仪器仪表功能多样,在科学实验、机械设备、汽车等等领域都有着广泛的应用。仪器仪表一般用于特定数据的测试及显示,仪器仪表在出厂或应用前都需要对其程序进行调试,保障能正常工作运行。With the development of science and technology, all kinds of instruments and meters are constantly appearing. Instruments and meters have various functions and are widely used in scientific experiments, mechanical equipment, automobiles and other fields. Instruments and meters are generally used for testing and displaying specific data. Instruments and meters need to be debugged before they leave the factory or are used to ensure normal operation.

目前,现有的仪表调试系统如图1所示,其开发技术完全依赖仪表实机、调试器、CANoe工具等硬件设备以及嵌入式IDE等软件、编译环境支撑。大规模开发时,需要准备众多硬件,还要兼顾软件开发环境编译以及开发板上代码烧写等,调试效率偏低,且硬件成本较高。At present, the existing instrument debugging system is shown in Figure 1, and its development technology completely relies on hardware devices such as the actual instrument, debugger, CANoe tool, and software such as embedded IDE, and the support of the compilation environment. During large-scale development, it is necessary to prepare a lot of hardware, and also to take into account the compilation of the software development environment and the code programming on the development board, etc., the debugging efficiency is low, and the hardware cost is high.

发明内容SUMMARY OF THE INVENTION

有鉴于此,本发明实施例提供了一种仪器仪表调试系统及方法,以解决现有仪器仪表调试系统调试效率低且硬件成本较高的问题。In view of this, the embodiments of the present invention provide an instrument debugging system and method, so as to solve the problems of low debugging efficiency and high hardware cost of the existing instrument debugging system.

在本发明实施例的第一方面,提供了一种仪器仪表调试系统,包括:In a first aspect of the embodiments of the present invention, an instrument debugging system is provided, including:

仪表业务逻辑模块,用于处理编写的仪表业务逻辑代码,构建计算机上编译、调试和运行的仿真环境;The instrument business logic module is used to process the written instrument business logic code and build a simulation environment for compiling, debugging and running on the computer;

其中,所述仪表业务逻辑模块包括按GDC和OpenGL接口规范开发常用函数库,供业务逻辑调用,以全局变量或静态内存取代MCU寄存器及绝对地址,模拟Task调度、中断触发、定时器、CAN和GPIO更新,通过解压缩算法将嵌入式平台UI图像转换成PC平台图像格式;Among them, the instrument business logic module includes a common function library developed according to GDC and OpenGL interface specifications for business logic calls, replacing MCU registers and absolute addresses with global variables or static memory, simulating Task scheduling, interrupt triggering, timer, CAN and GPIO update, convert embedded platform UI image into PC platform image format through decompression algorithm;

外围硬件设备模拟模块,用于对TFT/LED进行显示模拟,对按键、存储设备、通信进行操作模拟;The peripheral hardware device simulation module is used to simulate the display of TFT/LED, and simulate the operation of buttons, storage devices and communications;

共享内存模块,用于提供共享内存供外围硬件设备模拟模块与仪表业务逻辑模块访问,以实现数据传递。The shared memory module is used to provide shared memory for the peripheral hardware device simulation module and the instrument business logic module to access to realize data transfer.

在本发明实施例的第二方面,提供了一种仪器仪表调试方法,包括:In a second aspect of the embodiments of the present invention, an instrument debugging method is provided, including:

处理编写的仪表业务逻辑代码,构建计算机上编译、调试和运行的仿真环境;Process the written instrument business logic code, and build a simulation environment for compiling, debugging and running on the computer;

其中,按GDC和OpenGL接口规范开发常用函数库,供业务逻辑调用,以全局变量或静态内存代替MCU寄存器及绝对地址,模拟Task调度、中断触发、定时器、CAN和GPIO更新,通过解压缩算法将嵌入式平台UI图像转换成PC平台图像格式;Among them, common function libraries are developed according to GDC and OpenGL interface specifications for business logic calls, global variables or static memory are used to replace MCU registers and absolute addresses, and task scheduling, interrupt triggering, timers, CAN and GPIO updates are simulated, and decompression algorithms are used. Convert the embedded platform UI image to the PC platform image format;

对TFT/LED进行显示模拟,对按键、存储设备、通信进行操作模拟;Display simulation of TFT/LED and operation simulation of buttons, storage devices and communications;

通过共享内存进行仿真外围硬件设备与仪表业务逻辑间的数据传递。Data transfer between simulated peripheral hardware devices and instrument business logic is performed through shared memory.

在本发明实施例的第三方面,提供了一种电子设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现如本发明实施例第一方面所述方法的步骤。In a third aspect of the embodiments of the present invention, an electronic device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, the processor executing the computer The steps of the method described in the first aspect of the embodiments of the present invention are implemented in the program.

本发明实施例的第四方面,提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时实现本发明实施例第一方面提供的所述方法的步骤。In a fourth aspect of the embodiments of the present invention, a computer-readable storage medium is provided, where the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the computer program provided in the first aspect of the embodiments of the present invention is implemented. the steps of the method.

本发明实施例中,通过PC端软件实现的调试系统,代替传统调试方法需要用到的微处理器和外围硬件设备,对仪器仪表的嵌入式开发工程的业务代码进行仿真调试。基于调试系统可以对仪器仪表嵌入式开发过程进行不断调整,方便代码开发和测试,使得智能仪器仪表的开发测试过程不需要依赖过多硬件设备,降低硬件成本,提高开发效率,减少产品返工,且简单实用。In the embodiment of the present invention, the debugging system realized by PC-side software replaces the microprocessor and peripheral hardware equipment required by the traditional debugging method, and simulates and debugs the business code of the embedded development project of the instrumentation. Based on the debugging system, the embedded development process of instrumentation can be continuously adjusted, which is convenient for code development and testing, so that the development and testing process of intelligent instrumentation does not need to rely on too many hardware devices, reducing hardware costs, improving development efficiency, and reducing product rework, and Simple and practical.

附图说明Description of drawings

为了更清楚地说明本发明实施例中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单介绍,显而易见地,下面描述的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获取其他附图。In order to illustrate the technical solutions in the embodiments of the present invention more clearly, the following briefly introduces the accompanying drawings that are used in the description of the embodiments or the prior art. Obviously, the drawings described below are only some implementations of the present invention. For example, for those of ordinary skill in the art, other drawings can also be obtained according to these drawings without any creative effort.

图1为本发明的一个实施例提供的现有仪器仪表调试系统的结构示意图;1 is a schematic structural diagram of an existing instrumentation debugging system provided by an embodiment of the present invention;

图2为本发明的一个实施例提供的一种仪器仪表调试系统的结构示意图;2 is a schematic structural diagram of an instrumentation debugging system provided by an embodiment of the present invention;

图3为本发明的一个实施例提供的一种仪器仪表调试系统的另一结构示意图;3 is another schematic structural diagram of an instrumentation debugging system provided by an embodiment of the present invention;

图4为本发明的一个实施例提供的一种仪器仪表调试方法的流程示意图。FIG. 4 is a schematic flowchart of an instrument debugging method according to an embodiment of the present invention.

具体实施方式Detailed ways

为使得本发明的发明目的、特征、优点能够更加的明显和易懂,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,下面所描述的实施例仅仅是本发明一部分实施例,而非全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其它实施例,都属于本发明保护的范围以下结合附图对本发明的原理和特征进行描述,所举实例只用于解释本发明,并非用于限定本发明的范围。In order to make the purpose, features and advantages of the present invention more obvious and understandable, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the following The described embodiments are only some, but not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the scope of protection of the present invention. The examples are only used to explain the present invention, not to limit the scope of the present invention.

本发明的说明书或权利要求书及上述附图中的术语“包括”以及其他相近意思表述,意指覆盖不排他的包含,如包含一系列步骤或单元的过程、方法或系统、设备没有限定于已列出的步骤或单元。The term "comprising" and other similar meaning expressions in the description or claims of the present invention and the above-mentioned drawings are intended to cover non-exclusive inclusion, such as a process, method or system, and device comprising a series of steps or units not limited to Listed steps or units.

请参阅图2,图2为本发明实施例提供的一种仪器仪表调试系统的结构示意图,包括:Please refer to FIG. 2. FIG. 2 is a schematic structural diagram of an instrumentation debugging system provided by an embodiment of the present invention, including:

仪表业务逻辑模块210,用于处理编写的仪表业务逻辑代码,构建计算机上编译、调试和运行的仿真环境;The instrument business logic module 210 is used to process the written instrument business logic code and build a simulation environment for compiling, debugging and running on the computer;

在仪表业务逻辑模块中编写仪表业务代码,可以包括APP、UI和基础软件层等,以及数据显示引擎库。通过业务逻辑代码可以构建代码编译、运行以及调试动作的仿真环境,一般代码编译、调试和运行。The instrument business code is written in the instrument business logic module, which can include APP, UI and basic software layers, etc., as well as the data display engine library. Through the business logic code, a simulation environment for code compilation, running and debugging actions can be constructed, and general code compilation, debugging and running.

其中,所述仪表业务逻辑模块包括按GDC(Graphic display control,即图形显示控制)和OpenGL接口规范开发常用函数库,供业务逻辑调用,以全局变量或静态内存取代MCU寄存器及绝对地址,模拟Task(任务)调度、中断触发、定时器、CAN(控制局域网络)和GPIO(通用输入输出口)更新,通过解压缩算法将嵌入式平台UI图像转换成PC平台图像格式;The instrument business logic module includes a common function library developed according to GDC (Graphic display control, that is, graphic display control) and OpenGL interface specifications for business logic calls, replacing MCU registers and absolute addresses with global variables or static memory, simulating Task (task) scheduling, interrupt triggering, timer, CAN (control local area network) and GPIO (general purpose input and output port) update, and convert the embedded platform UI image into the PC platform image format through decompression algorithm;

仪表显示驱动通常都是以静态库提供,以Sapphire和Amber系列硬件为例,按照GDC和OpenGL接口规范开发常用的函数库,提供给业务逻辑调用;在调试系统中以全局变量或静态内存替代MCU寄存器、绝对地址等;模拟Task调度、中断触发、定时器等;开发常用的解压缩算法(例ETC2EAC、ETCRGB)将嵌入式平台的UI图像格式转换成PC平台图像格式。Instrument display drivers are usually provided by static libraries. Take Sapphire and Amber series hardware as examples, develop common function libraries according to GDC and OpenGL interface specifications, and provide them for business logic calls; in the debugging system, use global variables or static memory instead of MCU Registers, absolute addresses, etc.; simulate Task scheduling, interrupt triggering, timers, etc.; develop common decompression algorithms (eg ETC2EAC, ETCRGB) to convert the UI image format of the embedded platform into the PC platform image format.

外围硬件设备模拟模块230,用于对TFT/LED进行显示模拟,对按键、存储设备、通信进行操作模拟;The peripheral hardware device simulation module 230 is used to simulate the display of TFT/LED, and simulate the operation of buttons, storage devices and communications;

外围硬件设备一般主要包括显示、按键和通信三个部分。本实施例中,通过对硬件设备模拟,实现对嵌入式设备按键程序功能调试。Peripheral hardware equipment generally mainly includes three parts: display, key and communication. In this embodiment, the function debugging of the button program of the embedded device is realized by simulating the hardware device.

具体的,所述外围硬件设备模拟模块220包括:Specifically, the peripheral hardware device simulation module 220 includes:

显示模拟单元,用于预显示数据存放至内存中,通过MFC位图处理基础类中预定函数指定位图数据,并设计LED位图,基于MFC中函数加载位图资源,利用Windows图像设备接口的位图函数指定像素块;The display simulation unit is used to store the pre-display data in the memory, specify the bitmap data through the predetermined function in the MFC bitmap processing basic class, and design the LED bitmap, load the bitmap resource based on the function in MFC, and use the Windows image device interface. Bitmap functions specify pixel blocks;

按键模拟单元,用于创建仿真按键,将按键接口函数名与硬件库中按键名对应,基于输入设备的预定触发事件模拟按键处理逻辑;The button simulation unit is used to create a simulated button, correspond the button interface function name to the button name in the hardware library, and simulate the button processing logic based on the predetermined trigger event of the input device;

通信模拟单元,用于根据通信协议,设置仿真信号输入输出接口与业务逻辑代码接口对应,使仿真外围硬件设备和业务逻辑代码相关联。The communication simulation unit is used for setting the simulation signal input and output interface to correspond to the business logic code interface according to the communication protocol, so as to associate the simulation peripheral hardware device with the business logic code.

对于TFT显示,将业务逻辑准备的显示数据放入内存,然后利用MFC的位图处理的基础类CBitmap中SetBitmapBits函数指定位图数据。对于LED显示,设计一张LED位图,用MFC的LoadBitmap加载位图资源,然后用Windows图形设备接口(GDI)的位图函数BitBlt指定像素位块。For TFT display, put the display data prepared by the business logic into the memory, and then use the SetBitmapBits function in the basic class CBitmap of MFC's bitmap processing to specify the bitmap data. For LED display, design an LED bitmap, use MFC's LoadBitmap to load the bitmap resource, and then use the Windows Graphics Device Interface (GDI) bitmap function BitBlt to specify the pixel bit block.

对于按键部分的仿真模拟,先创建一个仿真按键,按键的所有接口函数声名与硬件库的一致,触发按键的方式有多种,可以利用读取键盘上某个按键作为按键的控制逻辑设计,也可以利用鼠标点击仿真显示画面的按键进行按键的逻辑设计。For the simulation of the button part, first create a simulated button. All the interface functions of the button have the same name as the hardware library. There are many ways to trigger the button. You can use the control logic design of reading a button on the keyboard as a button. You can use the mouse to click the buttons of the simulation display screen to carry out the logic design of the buttons.

对于通信部分的仿真,根据对应的通信协议,设置通信的各种仿真输入输出接口,必须和业务代码用到的接口相对应,这样使得仿真硬件设备和业务代码相连接。For the simulation of the communication part, according to the corresponding communication protocol, set various simulation input and output interfaces for communication, which must correspond to the interfaces used by the business code, so that the simulation hardware device and the business code are connected.

共享内存模块220,用于提供共享内存供外围硬件设备模拟模块与仪表业务逻辑模块访问,以实现数据传递。The shared memory module 220 is used to provide a shared memory for the peripheral hardware device simulation module and the instrument business logic module to access, so as to realize data transfer.

外围设备仿真与业务逻辑运行是两个进程,两者通过共有内存共享并传递数据,针对业务需要,其中,内存数据包括TFT显示数据区、CAN数据区、按键/LED等其他数据。两个进程的设计可以使得业务逻辑调试时,不影响外围设备仿真的实时性。开发者在调试任一进程时,另外一个进程都在正常运行。Peripheral device emulation and business logic operation are two processes. The two share and transmit data through a common memory. For business needs, the memory data includes TFT display data area, CAN data area, buttons/LEDs and other data. The design of the two processes can make business logic debugging without affecting the real-time performance of peripheral device simulation. When a developer is debugging any process, the other process is running normally.

在一个实施例中,如图3所示,在Visual Studio(IDE)环境下,该系统包括仪表业务代码和调试部分,仪表业务代码中包括BSW(基础软件层)、APP和UI(用户界面),以及显示引擎库(包括GDC、EGL、OpenGL等)。In one embodiment, as shown in FIG. 3, in the Visual Studio (IDE) environment, the system includes instrument business code and debugging part, and the instrument business code includes BSW (basic software layer), APP and UI (user interface) , and display engine libraries (including GDC, EGL, OpenGL, etc.).

其中,通过业务代码以全局变量或静态内存代替MCU寄存器、绝对地址、汇编代码等,并模拟Task调度、中断处理、Timer、CAN及GPIO更新等,实现UI代码解析转换为PC端图像格式,通过EGL和OpenGL实现图形绘制,实现GDC Rendering模拟,并提供共有Memory访问接口。Among them, the business code replaces MCU registers, absolute addresses, assembly code, etc. with global variables or static memory, and simulates Task scheduling, interrupt processing, Timer, CAN, and GPIO updates, etc., to realize UI code parsing and conversion to PC-side image format, through EGL and OpenGL implement graphics drawing, implement GDC Rendering simulation, and provide a common memory access interface.

对于外围硬件设备模拟,包括TFT/LED等显示、S/W和I/O等操作、EEPROM文件读写、CAN数据访问及Task日程等,并提供共有Memory访问接口。For peripheral hardware device simulation, including TFT/LED display, S/W and I/O operations, EEPROM file read and write, CAN data access and Task schedule, etc., and provide a common memory access interface.

此外,该调试系统还包括UI资源转换工具和共享内存,共享内存可以被仪表业务逻辑和外部仿真硬件设备访问,实现二者间的数据传递。In addition, the debugging system also includes UI resource conversion tools and shared memory, which can be accessed by instrument business logic and external simulation hardware devices to realize data transfer between the two.

需要说明的是,本实施例中系统主要应用的环境是Microsoft Visual Studio软件,中心控制是基于C语言进行研发,显示控制主要是利用了MFC编程进行研发。使用时,将业务代码与该调试系统放在同一文件下,用VS打开该调试系统的工程,业务代码会被自动被添加到工程里,运行整个工程,就会生成一个与硬件仪器类似的界面,可以通过点击界面的按键实现对应的功能,真实还原硬件仪表的对应的功能。It should be noted that the main application environment of the system in this embodiment is Microsoft Visual Studio software, the central control is developed based on C language, and the display control is mainly developed by MFC programming. When using, put the business code and the debugging system in the same file, use VS to open the project of the debugging system, the business code will be automatically added to the project, run the entire project, and an interface similar to the hardware instrument will be generated , the corresponding functions can be realized by clicking the buttons on the interface, and the corresponding functions of the hardware instrument can be truly restored.

还需要说明的是,该调试系统主要是提供快捷便利的编译调试业务逻辑代码的平台。使用该调试系统后,开发人员能够快速地验证自己写的代码是否符合设计逻辑,数据的分析处理也变得更加简便,还可以避免出现一些低级的编码错误。对于测试人员而言,该调试系统能够快速全面的进行各种测试。It should also be noted that the debugging system mainly provides a platform for quickly and conveniently compiling and debugging business logic codes. After using the debugging system, developers can quickly verify whether the code written by themselves conforms to the design logic, the analysis and processing of data becomes easier, and some low-level coding errors can also be avoided. For testers, the debugging system can quickly and comprehensively carry out various tests.

画面测试截图,在一定条件下,仪器仪表的屏幕该显示什么画面,可以快速截图,图片可作为测试依据;画面坐标的测试,确认显示画面会文字和图片的位置时,也可以利用截图,结合电脑工具,快速的分析比对文字和图片位置;按键控制功能的测试,按键的按功能可分为开关按键、确认按键、位置按键。按键测试,仪表开机关机,某功能开启或关闭,显示画面光标的移动,确认进入某模式等,不断地操作系统设置的按键,根据相应的按键操作显示相应画面,以确认按键功能是否正常;通信功能的测试,大型的仪表会有很多的传感器传送各种数据,业务代码对传送数据进行相应处理,显示相应的画面,观察画面即可确认的通信处理结果直接测试,不能直接测试的例如给个信号,影响了业务代码内的某个变量的值,无法用画面显示是否实现了某通信功能,运行代码工程,进入debug模式,打断点调试,就直观的查看值的变化。可以理解,除了以上一些测试,其他的测试都可以利用以上类似的方法进行测试。Screen test screenshot, under certain conditions, what screen should be displayed on the screen of the instrument, you can take a quick screenshot, and the picture can be used as the test basis; the screen coordinate test, when confirming the position of the text and picture on the display screen, you can also use the screenshot, combined with Computer tools, quickly analyze and compare the position of text and pictures; test the button control function, the button press function can be divided into switch button, confirm button, position button. Button test, the instrument is turned on and off, a certain function is turned on or off, the movement of the cursor on the display screen, the confirmation of entering a certain mode, etc., continuously operate the buttons set by the operating system, and display the corresponding screen according to the corresponding button operation to confirm whether the button function is normal; communication For functional testing, a large instrument will have many sensors to transmit various data, and the business code will process the transmitted data accordingly, display the corresponding screen, and directly test the communication processing results that can be confirmed by observing the screen. The signal affects the value of a variable in the business code, and it cannot be displayed on the screen whether a certain communication function is implemented. Run the code project, enter the debug mode, and interrupt the debugging to visually check the change of the value. It can be understood that, in addition to some of the above tests, other tests can be tested by using a method similar to the above.

应理解,针对传统硬件环境下的开发和测试,该调试系统可以大幅提高开发和测试的效率,具体如下:It should be understood that for development and testing in traditional hardware environments, the debugging system can greatly improve the efficiency of development and testing, as follows:

传统的硬件调试方案,在开发阶段,使用开发板进行Debug,每次Debug都必须准备硬件,包括电源、开发板、调试器、CAN通信工具等。同时,需要借助Softune或其他嵌入式IDE,不能立即验证功能对应实现的效果。Debug前必须将Program下载至开发板中,连接到实际机器上Debug,由于断点数有限制、Stack/Memory确认不方便、检索速度慢、无法快速跳转至函数定义、Debugger断开等问题,导致调试效率非常低。同时,必须将资源文件下载至Flash中,比较耗费时间;每次变更图像时,都必须重新下载图像资源,下载大概需要两小时。还可能因为硬件设备接触不良下载失败或是不能下载的情况出现。当开发板变更,变更硬件后才能进行Debug、验证;硬件标准需备有:1套五万元以上仪表试作品、1套数千元到数万元调试器和1套数千元到数十万元CAN Bus的Debug工具。In the traditional hardware debugging scheme, in the development stage, the development board is used for debugging, and hardware must be prepared for each debugging, including power supply, development board, debugger, CAN communication tool, etc. At the same time, it is necessary to use Softune or other embedded IDE, and the effect of the corresponding implementation of the function cannot be verified immediately. Before debugging, the Program must be downloaded to the development board and connected to the actual machine for debugging. Due to the limited number of breakpoints, the inconvenience of stack/memory confirmation, the slow retrieval speed, the inability to quickly jump to the function definition, the disconnection of the Debugger, etc. Debugging efficiency is very low. At the same time, the resource file must be downloaded to Flash, which is time-consuming; every time the image is changed, the image resource must be downloaded again, and the download takes about two hours. It may also occur that the download fails or cannot be downloaded due to poor hardware device contact. When the development board is changed, debugging and verification can only be carried out after the hardware is changed; the hardware standard should be equipped with: 1 set of test works of more than 50,000 yuan, 1 set of debuggers of thousands to tens of thousands of yuan, and 1 set of thousands of yuan to tens of thousands of yuan Million CAN Bus Debug tool.

传统的硬件调试方案,在测试阶段,使用开发板进行测试。结合测试(CT)下,实机测试,在不需要打断点测试的场合,只要烧写好开发板下载好资源后启动开发板,测试一些操作流程之类的,但有时候也需要借助特殊工具,如直尺之类的,画面细微之处无法辨认,需用上工具,还需记录数据分析。需要打断点debug的场面或是通信测试的场面,开发板和代码难以兼顾,并且修改代码之后必须重新花费10~20分钟烧写开发板,测试十分困难。系统测试(ST)下,实施系统测试时,是需要对结果进行一些记载,留做测试的成果。以TFT显示结果作为例子,开发板无法自动记录开发板的TFT显示结果,需要借助摄影的工具,由于实际的开发板屏幕受光的影响比较严重,测试人员必须调整各种角度以及光线才能够得到一张较为清晰的图,效率极低。做其他测试一样,都必须借助一些工具,进行各种复杂的操作,测试效率低。In the traditional hardware debugging solution, the development board is used for testing during the testing phase. Under the combined test (CT), the real machine test, in the case where there is no need to interrupt the test, as long as the development board is programmed and the resources are downloaded, start the development board, and test some operation procedures and the like, but sometimes it is necessary to use special Tools, such as rulers, etc., the subtleties of the picture are unrecognizable, tools are required, and data analysis needs to be recorded. It is difficult to take into account the development board and the code when it is necessary to interrupt the debug scene or the communication test scene, and after modifying the code, it takes 10 to 20 minutes to reprogram the development board, which is very difficult to test. Under the system test (ST), when the system test is implemented, it is necessary to record the results and keep them as the results of the test. Taking the TFT display results as an example, the development board cannot automatically record the TFT display results of the development board, and requires the help of photography tools. Since the actual development board screen is seriously affected by light, the tester must adjust various angles and light to get a picture. A clearer picture is very inefficient. Like other tests, you must use some tools to perform various complex operations, and the test efficiency is low.

本实施例提供的调试系统进行Debug,仅需一台PC机、一套集成开发环境(VisualStudio)。基于Visual Studio编译环境,编译快,可快速查出Error、Warning以及验证功能对应实现的效果,便于进行代码逻辑和功能性Bug的Debug分析。Debug前可以不用下载Program,仅在PC端进行Debug。断点数没有限制、Stack/Memory确认方便、检索速度快、可以快速跳转至函数定义等,Debug效率高。图像显示验证,可不用将资源下载至Flash中。开发板变更的影响:变更调试系统代码即可,不影响软件开发的进度。在开发和测试阶段导入该调试系统,将有一半以上的硬件不需要,且对拥有的硬件设备的使用率会降低很多,硬件损坏率会下降。The debugging system provided in this embodiment only needs one PC and one integrated development environment (Visual Studio) for debugging. Based on the Visual Studio compilation environment, the compilation is fast, and the corresponding implementation effects of Error, Warning and verification functions can be quickly detected, which is convenient for Debug analysis of code logic and functional bugs. Before Debugging, you can do Debug only on the PC side without downloading the Program. There is no limit to the number of breakpoints, stack/memory confirmation is convenient, retrieval speed is fast, and you can quickly jump to function definitions, etc., and the debugging efficiency is high. Image display verification, without downloading resources to Flash. Impact of development board changes: Just change the debugging system code without affecting the progress of software development. When the debugging system is introduced in the development and testing stage, more than half of the hardware will not be needed, the utilization rate of the owned hardware equipment will be greatly reduced, and the hardware damage rate will be reduced.

该调试系统进行测试,在结合测试(CT)下,因为CT的作业量大,依赖于实机,故使用该调试系统代替实机来实施CT可以降低外部硬件输入、配置的依赖程度,使得仪表系统以外的测试数据输入更为便利,提高了Domain集成测试输出的确认效率。在系统测试(ST)下,实施系统测试时,若需要存储TFT显示结果,可以利用该调试系统的图像剪切功能,以bmp格式来保存TFT显示。既可以用于自动化测试中,也可以对比bmp图像和原来的图像,验证各显示要素的位置、颜色是否和设计相一致。The debugging system is used for testing. Under the combined test (CT), because the CT has a large workload and depends on the actual machine, using the debugging system instead of the actual machine to implement the CT can reduce the dependence on external hardware input and configuration, and make the instrument The input of test data outside the system is more convenient, which improves the confirmation efficiency of Domain integration test output. Under the system test (ST), when implementing the system test, if you need to store the TFT display results, you can use the image clipping function of the debugging system to save the TFT display in bmp format. It can not only be used in automated testing, but also can compare the bmp image and the original image to verify whether the position and color of each display element are consistent with the design.

图4为本发明实施例提供的一种仪器仪表调试方法的流程示意图,该方法包括:4 is a schematic flowchart of a method for debugging an instrument according to an embodiment of the present invention, and the method includes:

S401、处理编写的仪表业务逻辑代码,构建计算机上编译、调试和运行的仿真环境;S401. Process the written instrument business logic code, and build a simulation environment for compiling, debugging and running on the computer;

其中,按GDC和OpenGL接口规范开发常用函数库,供业务逻辑调用,以全局变量或静态内存代替MCU寄存器及绝对地址,模拟Task调度、中断触发、定时器、CAN和GPIO更新,通过解压缩算法将嵌入式平台UI图像转换成PC平台图像格式;Among them, common function libraries are developed according to GDC and OpenGL interface specifications for business logic calls, global variables or static memory are used to replace MCU registers and absolute addresses, and task scheduling, interrupt triggering, timers, CAN and GPIO updates are simulated, and decompression algorithms are used. Convert the embedded platform UI image to the PC platform image format;

S402、对TFT/LED进行显示模拟,对按键、存储设备、通信进行操作模拟;S402, perform display simulation on TFT/LED, and perform operation simulation on buttons, storage devices, and communications;

具体的,将预显示数据存放至内存中,通过MFC位图处理基础类中预定函数指定位图数据,并设计LED位图,基于MFC中函数加载位图资源,利用Windows图像设备接口的位图函数指定像素块;Specifically, the pre-display data is stored in the memory, the bitmap data specified by the predetermined function in the basic class is processed by the MFC bitmap, the LED bitmap is designed, the bitmap resource is loaded based on the function in MFC, and the bitmap of the Windows image device interface is used. The function specifies the pixel block;

创建仿真按键,将按键接口函数名与硬件库中按键名对应,基于输入设备的预定触发事件模拟按键处理逻辑;Create a simulated button, correspond the button interface function name to the button name in the hardware library, and simulate the button processing logic based on the predetermined trigger event of the input device;

根据通信协议,设置仿真信号输入输出接口与业务逻辑代码接口对应,使仿真外围硬件设备和业务逻辑代码相关联。According to the communication protocol, the simulation signal input and output interface is set to correspond to the business logic code interface, so that the simulation peripheral hardware device is associated with the business logic code.

S403、通过共享内存进行仿真外围硬件设备与仪表业务逻辑间的数据传递。S403, performing data transfer between the simulated peripheral hardware device and the instrument business logic through the shared memory.

其中,所述共享内存中至少包括显示数据、CAN数据、按键数据。Wherein, the shared memory at least includes display data, CAN data, and key data.

应理解,上述实施例中各步骤的序号大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本发明实施例的实施过程构成任何限定。It should be understood that the sequence numbers of the steps in the above embodiments do not imply the sequence of execution, and the execution sequence of each process should be determined by its function and internal logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.

本领域普通技术人员可以理解的是,在一个实施例中,所述电子设备包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现步骤S401至S403以实现仪器仪表的软件仿真调试。在另一实施例中,所述的计算机程序还可以存储于计算机可读取存储介质中,所述的存储介质包括如:ROM/RAM、磁碟、光盘等。It can be understood by those of ordinary skill in the art that, in one embodiment, the electronic device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, the processor executing The computer program implements steps S401 to S403 to realize software emulation debugging of instruments. In another embodiment, the computer program can also be stored in a computer-readable storage medium, and the storage medium includes, for example, ROM/RAM, magnetic disk, optical disk, and the like.

在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述或记载的部分,可以参见其它实施例的相关描述。In the foregoing embodiments, the description of each embodiment has its own emphasis. For parts that are not described or described in detail in a certain embodiment, reference may be made to the relevant descriptions of other embodiments.

以上所述,以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。As mentioned above, the above embodiments are only used to illustrate the technical solutions of the present invention, but not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand: The technical solutions described in the embodiments are modified, or some technical features thereof are equivalently replaced; and these modifications or replacements do not make the essence of the corresponding technical solutions depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (4)

1.一种仪器仪表调试系统,其特征在于,包括:1. an instrumentation debugging system, is characterized in that, comprises: 仪表业务逻辑模块,用于处理编写的仪表业务逻辑代码,构建计算机上编译、调试和运行的仿真环境;The instrument business logic module is used to process the written instrument business logic code and build a simulation environment for compiling, debugging and running on the computer; 其中,所述仪表业务逻辑模块包括按GDC和OpenGL接口规范开发常用函数库,供业务逻辑调用,以全局变量或静态内存取代MCU寄存器及绝对地址,模拟Task调度、中断触发、定时器、CAN和GPIO更新,通过解压缩算法将嵌入式平台UI图像转换成PC平台图像格式;Among them, the instrument business logic module includes a common function library developed according to GDC and OpenGL interface specifications for business logic calls, replacing MCU registers and absolute addresses with global variables or static memory, simulating Task scheduling, interrupt triggering, timer, CAN and GPIO update, convert embedded platform UI image into PC platform image format through decompression algorithm; 外围硬件设备模拟模块,用于对TFT/LED进行显示模拟,对按键、存储设备、通信进行操作模拟;The peripheral hardware device simulation module is used to simulate the display of TFT/LED, and simulate the operation of buttons, storage devices and communications; 其中,所述外围硬件设备模拟模块包括:Wherein, the peripheral hardware device simulation module includes: 显示模拟单元,用于将预显示数据存放至内存中,通过MFC位图处理基础类中预定函数指定位图数据,并设计LED位图,基于MFC中函数加载位图资源,利用Windows图像设备接口的位图函数指定像素块;The display simulation unit is used to store the pre-display data in the memory, process the bitmap data specified by the predetermined function in the basic class through the MFC bitmap, and design the LED bitmap, load the bitmap resource based on the function in MFC, and use the Windows image device interface. The bitmap function of the specified pixel block; 按键模拟单元,用于创建仿真按键,将按键接口函数名与硬件库中按键名对应,基于输入设备的预定触发事件模拟按键处理逻辑;The button simulation unit is used to create a simulated button, correspond the button interface function name to the button name in the hardware library, and simulate the button processing logic based on the predetermined trigger event of the input device; 通信模拟单元,用于根据通信协议,设置仿真信号输入输出接口与业务逻辑代码接口对应,使仿真外围硬件设备和业务逻辑代码相关联;The communication simulation unit is used to set the simulation signal input and output interface to correspond to the business logic code interface according to the communication protocol, so as to associate the simulation peripheral hardware device with the business logic code; 共享内存模块,用于提供共享内存供外围硬件设备模拟模块与仪表业务逻辑模块访问,以实现数据传递;The shared memory module is used to provide shared memory for the access of the peripheral hardware device simulation module and the instrument business logic module to realize data transfer; 所述共享内存中至少包括显示数据、CAN数据、按键数据。The shared memory at least includes display data, CAN data, and key data. 2.一种仪器仪表调试方法,其特征在于,包括:2. an instrumentation debugging method, is characterized in that, comprises: 处理编写的仪表业务逻辑代码,构建计算机上编译、调试和运行的仿真环境;Process the written instrument business logic code, and build a simulation environment for compiling, debugging and running on the computer; 其中,按GDC和OpenGL接口规范开发常用函数库,供业务逻辑调用,以全局变量或静态内存代替MCU寄存器及绝对地址,模拟Task调度、中断触发、定时器、CAN和GPIO更新,通过解压缩算法将嵌入式平台UI图像转换成PC平台图像格式;Among them, common function libraries are developed according to GDC and OpenGL interface specifications for business logic calls, global variables or static memory are used to replace MCU registers and absolute addresses, and task scheduling, interrupt triggering, timers, CAN and GPIO updates are simulated, and decompression algorithms are used. Convert the embedded platform UI image to the PC platform image format; 对TFT/LED进行显示模拟,对按键、存储设备、通信进行操作模拟;Display simulation of TFT/LED and operation simulation of buttons, storage devices and communications; 其中,所述对TFT/LED进行显示模拟,对按键、存储设备、通信进行操作模拟包括:Wherein, the display simulation of TFT/LED and the operation simulation of buttons, storage devices and communications include: 将预显示数据存放至内存中,通过MFC位图处理基础类中预定函数指定位图数据,并设计LED位图,基于MFC中函数加载位图资源,利用Windows图像设备接口的位图函数指定像素块;Store the pre-display data in the memory, specify the bitmap data through the predetermined function in the basic class of MFC bitmap processing, and design the LED bitmap, load the bitmap resource based on the function in MFC, and use the bitmap function of the Windows image device interface to specify the pixel. piece; 创建仿真按键,将按键接口函数名与硬件库中按键名对应,基于输入设备的预定触发事件模拟按键处理逻辑;Create a simulated button, correspond the button interface function name to the button name in the hardware library, and simulate the button processing logic based on the predetermined trigger event of the input device; 根据通信协议,设置仿真信号输入输出接口与业务逻辑代码接口对应,使仿真外围硬件设备和业务逻辑代码相关联;According to the communication protocol, set the simulation signal input and output interface to correspond to the business logic code interface, so as to associate the simulation peripheral hardware device with the business logic code; 通过共享内存进行仿真外围硬件设备与仪表业务逻辑间的数据传递;Data transfer between simulated peripheral hardware devices and instrument business logic through shared memory; 所述共享内存中至少包括显示数据、CAN数据、按键数据。The shared memory at least includes display data, CAN data, and key data. 3.一种电子设备,包括处理器、存储器以及存储在所述存储器中并在处理器上运行的计算机程序,其特征在于,所述处理器执行所述计算机程序时实现如权利要求2所述仪器仪表调试方法的步骤。3. An electronic device, comprising a processor, a memory, and a computer program stored in the memory and running on the processor, wherein the processor implements the computer program described in claim 2 when the processor executes the computer program The steps of the instrumentation debugging method. 4.一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现如权利要求2所述仪器仪表调试方法的步骤。4. A computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, wherein when the computer program is executed by a processor, the steps of the instrument debugging method according to claim 2 are implemented.
CN202110036497.2A 2021-01-12 2021-01-12 Instrument debugging system and method Active CN112765018B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110036497.2A CN112765018B (en) 2021-01-12 2021-01-12 Instrument debugging system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110036497.2A CN112765018B (en) 2021-01-12 2021-01-12 Instrument debugging system and method

Publications (2)

Publication Number Publication Date
CN112765018A CN112765018A (en) 2021-05-07
CN112765018B true CN112765018B (en) 2022-09-13

Family

ID=75701596

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110036497.2A Active CN112765018B (en) 2021-01-12 2021-01-12 Instrument debugging system and method

Country Status (1)

Country Link
CN (1) CN112765018B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114827220A (en) * 2022-04-15 2022-07-29 武汉光庭信息技术股份有限公司 Cabin domain application simulation platform
CN116165979A (en) * 2022-12-29 2023-05-26 凌云光技术股份有限公司 View-based equipment operation flow adapting system and action executing method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101327785A (en) * 2008-06-11 2008-12-24 武汉光庭汽车电子有限公司 Hardware system structure of intellectualized full-graphics automobile instrument
CN104756086A (en) * 2012-10-30 2015-07-01 甲骨文国际公司 System and method for debugging domain specific languages
WO2016060672A1 (en) * 2014-10-16 2016-04-21 Hewlett-Packard Development Company, L.P. Video coding using a saliency map
CN110544246A (en) * 2019-09-02 2019-12-06 武汉光庭信息技术股份有限公司 automatic testing method and device and storage medium
CN110765010A (en) * 2019-10-10 2020-02-07 苏宁云计算有限公司 Online debugging method and device for visual development based on Flink

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101019209B1 (en) * 2007-04-25 2011-03-04 이화여자대학교 산학협력단 Automatic Interface Extraction Device for Embedded Software and Its Method
CN102043660B (en) * 2010-12-21 2013-09-11 航天科工深圳(集团)有限公司 Method and device for realizing analog debugging of software for electrical distribution equipment
CN102968311B (en) * 2012-12-13 2015-05-13 中国航空无线电电子研究所 Onboard embedded software development platform
US10156611B2 (en) * 2013-09-12 2018-12-18 Teradyne, Inc. Executing code on a test instrument in response to an event
CN104697513B (en) * 2013-12-10 2017-12-22 惠州市德赛西威汽车电子股份有限公司 multimedia navigation instrument
CN104699523B (en) * 2015-03-24 2018-06-01 北京深思数盾科技股份有限公司 For the adjustment method and system of the application program that hardware platform is developed
ES2562153B2 (en) * 2015-08-10 2016-10-07 Keysight Technologies Singapore (Holdings) Pte. Ltd. System and hardware configuration method of programmable control, test and measurement instruments
CN106445640B (en) * 2016-10-20 2019-06-18 南京南瑞继保电气有限公司 An embedded virtual device operating method and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101327785A (en) * 2008-06-11 2008-12-24 武汉光庭汽车电子有限公司 Hardware system structure of intellectualized full-graphics automobile instrument
CN104756086A (en) * 2012-10-30 2015-07-01 甲骨文国际公司 System and method for debugging domain specific languages
WO2016060672A1 (en) * 2014-10-16 2016-04-21 Hewlett-Packard Development Company, L.P. Video coding using a saliency map
CN110544246A (en) * 2019-09-02 2019-12-06 武汉光庭信息技术股份有限公司 automatic testing method and device and storage medium
CN110765010A (en) * 2019-10-10 2020-02-07 苏宁云计算有限公司 Online debugging method and device for visual development based on Flink

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
《OpenGL基础56:OpenGL简单调试》;Jaihk662;《https://blog.csdn.net/Jaihk662/article/details/108801019》;20200927;全文第1-4页 *
关于CBitmap,LoadBitmap 的使用;Qsir;《https://blog.csdn.net/Qsir/article/details/77503108》;20170823;全文第1-3页 *

Also Published As

Publication number Publication date
CN112765018A (en) 2021-05-07

Similar Documents

Publication Publication Date Title
US7266809B2 (en) Software debugger and software development support system for microcomputer operable to execute conditional execution instruction
JP2795244B2 (en) Program debugging system
US8621435B2 (en) Time debugging
CN104750603B (en) A kind of multi-core DSP software simulator and its physical layer software test method
US20080127119A1 (en) Method and system for dynamic debugging of software
CN113157508A (en) Test method, system, device, equipment and storage medium of embedded system
CN112765018B (en) Instrument debugging system and method
CN116501378B (en) Implementation method and device for reverse engineering reduction source code and electronic equipment
EP3532936A1 (en) Debugging system and method
US20100313186A1 (en) Developer-managed debugger data records
CN102063367A (en) Offline analysis method and device for crash program
GB2594269A (en) Emulation software and a method of emulating behaviour of a device containing one or more DSP cores
KR20110037140A (en) System providing embedded software virtual development environment
US20030177471A1 (en) System and method for graphically developing a program
US10579761B1 (en) Method and system for reconstructing a graph presentation of a previously executed verification test
US12332768B2 (en) Parallel execution during application debugging
US11544436B1 (en) Hardware-software interaction testing using formal verification
CN112231165B (en) Memory fault simulation method based on link library injection and memory mapping modes
KR20240009757A (en) Windows-based automotive software simulation device and method through autosar stack virtualization
US8914274B1 (en) Method and system for instruction set simulation with concurrent attachment of multiple debuggers
JP2803090B2 (en) MPU simulation method and MPU simulator
Feng et al. Action-driven automation test framework for graphical user interface (GUI) software testing
CN119415413B (en) Internet of things firmware debugging method, system and equipment based on simulation
US12271669B1 (en) Executing instruction sequences generated from software interactions as part of formal verification of a design under test
TWM462860U (en) Debug system and apparatus for providing graphical pin interface

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant