WO2017186089A1 - Method for upgrading files by vehicle-mounted decoder software - Google Patents

Method for upgrading files by vehicle-mounted decoder software Download PDF

Info

Publication number
WO2017186089A1
WO2017186089A1 PCT/CN2017/081799 CN2017081799W WO2017186089A1 WO 2017186089 A1 WO2017186089 A1 WO 2017186089A1 CN 2017081799 W CN2017081799 W CN 2017081799W WO 2017186089 A1 WO2017186089 A1 WO 2017186089A1
Authority
WO
WIPO (PCT)
Prior art keywords
file
upgrade
card
application
files
Prior art date
Application number
PCT/CN2017/081799
Other languages
French (fr)
Chinese (zh)
Inventor
曾宪玮
Original Assignee
广州路派电子科技有限公司
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 广州路派电子科技有限公司 filed Critical 广州路派电子科技有限公司
Publication of WO2017186089A1 publication Critical patent/WO2017186089A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • G06F9/4451User profiles; Roaming
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating

Definitions

  • the invention belongs to the technical field, and in particular relates to a method for upgrading a file by a vehicle decoder software.
  • the manufacturer generally uses the Bootloader to guide the application structure of the embedded software.
  • the Bootloader program is a small piece of code that is executed first in the Flash after the system power-on reset.
  • the Bootloader part Relatively independent of the application.
  • users can get the product and upgrade package.
  • the Bootloader code leaks, the illegal user updates the application part through the upgrade mode, and the entire software code of the product can be copied, which increases the potential risk of plagiarism.
  • a method for upgrading a file of a vehicle decoder software includes the following steps:
  • Step 1 Check whether the SD card is inserted; if there is an SD card inserted, update the application and SPI Flash files; if there is no SD card inserted, jump directly to the application to execute;
  • Step 2 After checking that an SD card is inserted, let the LED light be on for a certain period of time;
  • Step 3 Automatically check whether there is a file update in the SD card. If there is a file update, the file update is performed, and the LED light flashes at a rate of twice per second; if there is no file update, jump directly to the application to execute;
  • Step 4 After successfully updating a file, let the LED flash rapidly, the blinking speed is the same as the blinking speed of the LED in step 3. Then, go to step 3 and continue to update the next file until all files are updated.
  • the method further includes the step 5: when the program jumps to the application portal, finds that the application is not found or when the file update fails, the LED light flashes at a speed of two seconds.
  • Step 1 When the program starts execution, first initialize the driver of each module;
  • Step 2 Check whether the SD card is inserted. If there is an SD card inserted, perform step 3; if no SD card is inserted, skip to step 8;
  • Step 3 When the application detects that an SD card is inserted:
  • Step 4 Determine whether to obtain the file description buffer, if the acquisition is successful, then jump to step 5; if the file description buffer is not successfully obtained, jump to step 8;
  • Step 5 Obtain the number of files to be upgraded and determine whether the files to be upgraded are successful. If the files are successfully obtained, perform step 6 and upgrade the upgrade files one by one until all the files are upgraded. The application hangs automatically;
  • Step 6 Determine the upgrade type of the file in the description structure array of the file to be upgraded, according to the text
  • the upgrade type selects the upgrade mode
  • Step 7 Determine whether all upgrade files are upgraded. Step 8 is performed after the upgrade is completed. Otherwise, go back to step 5.
  • Step 8 Turn off the timer and the LED light stops flashing
  • Step 9 After the IAP is completed, release the SPI related pins before jumping to the application to prevent pin multiplexing;
  • Step 10 Determine whether the APP of the upper APP program exists. If it exists, run the upper APP; if it does not exist, the application hangs.
  • step 6 is specifically: determining an upgrade type of the file in the description structure array of the file to be upgraded, and selecting an upgrade mode according to the file upgrade type:
  • the method for upgrading the file of the vehicle decoder software provided by the invention combines the characteristics of the software structure and the protection features provided by the hardware, and uses the bvloader software to upgrade the file, which can not only load the stm32f10x boot loader, but also use the SD card (SPI interface). Update and run the application, and you can configure the /bsp/board/ file to implement the migration on different hardware boards, which can quickly upgrade the product and speed up the upgrade. At the same time, it can effectively improve the security of the program. Sexuality overcomes many potential security risks, reduces the potential risk of product plagiarism, and maximizes the protection of vendor code and intellectual property, which can meet the needs of practical applications.
  • Figure 1 is a general flow chart of the present invention
  • FIG. 2 is a flow chart of the SPI Flash update process
  • FIG. 3 is a flow chart of the Internal Flash update process
  • FIG. 4 is a flow chart showing the detailed steps of the present invention.
  • a method for upgrading a file by a vehicle decoder software includes the following steps:
  • Step 1 Check whether the SD card is inserted at startup; if there is an SD card inserted, update the application and SPI Flash files; if there is no SD card inserted, jump directly to the application to execute;
  • Step 2 After checking that an SD card is inserted, let the LED light be on for a certain period of time;
  • Step 3 Automatically check whether there is a file update in the SD card. If there is a file update, the file update is performed, and the LED light flashes at a rate of twice per second; if there is no file update, jump directly to the application to execute;
  • Step 4 After successfully updating a file, the LED light flashes rapidly, and the blinking speed is the same as the blinking speed of the LED light in step 3. Then, jump to step 3 to continue updating the next file until all files are updated.
  • Step 5 When the program jumps to the application portal, it finds that the application cannot be found or when the file update fails, the LED flashes at a speed of two seconds.
  • the method for upgrading the file of the vehicle decoder software of the present invention is implemented by a bvloader program, which includes six modules, namely a timer, an SD card control module, an LED light state, a FATFS file system, an Internal Flash update, and an SPI Flash update.
  • a timer namely a timer, an SD card control module, an LED light state, a FATFS file system, an Internal Flash update, and an SPI Flash update.
  • modules the following sections detail the timer, FATFS file system, SPIFlash update, Internal Flash update, and main logic control.
  • the bvloader application When the bvloader application needs to hang, it will first set a 2 second timer overflow time, then turn on the timer, and the LED will flash periodically when an SD card is detected.
  • the use of the FATFS file system in the present invention is one of the key points of the present invention because it is faster to use the FATFS file system to upgrade files when the product is finished. It uses the file system in the main logic control module to detect whether the SD card has an update.cfg file, analyze the update.cfg file, and use the SPIFlash update module and the InternalFlash update module.
  • FATFS is a general-purpose FAT (File Allocation Table) file system module designed for small embedded systems. FatFs is written to follow ANSIC and is completely separate from the disk I/O layer. Therefore, it is independent (not dependent) on the hardware architecture. It can be embedded in low-cost microcontrollers such as 8051, PIC, AVR, SH, Z80, H8, ARM, etc. without any modifications.
  • the FATFS file system features: FAT12, FAT16 and FAT32. Multiple volumes (physical drives with Partition). Two partitioning rules: FDISK and Super-floppy. Multiple configuration options: long filename support. Optional code pages, including DBCS (DBCS or Double Byte Char Systems) multitasking support for read-only, minimal API, buffer configuration, and more.
  • DBCS Double Byte Char Systems
  • serial peripheral interface is a common clock synchronous serial communication interface.
  • SPI Flash reads and writes Flash through the SPI port.
  • the flow of the SPI Flash update process of the present invention is shown in FIG. 2.
  • the SPI Flash upgrade method mainly uses a 32-bit checksum algorithm to determine whether the SPI FLASH read/write checksum is consistent to achieve data transfer to the upgrade file.
  • a checksum is used in the field of data processing and data communication to verify the sum of a set of data items for a destination. It refers to the accumulation of the number of transmission bits. When the transmission ends, the receiver can judge whether all the data is received according to this value. If the values match, then the transfer is complete. It is usually expressed in hexadecimal notation, and the 32-bit checksum is in the form of a 32-digit system.
  • the data to be verified is regarded as a number consisting of 4 bytes or 32 bits, and the binary inverse codes are sequentially summed;
  • the first part is regarded as a number consisting of 4K bits, and the tail is less than 4K, and the data packet is composed of 32 bits, and the binary inverse codes are sequentially summed;
  • the flow of the Internal Flash update process of the present invention is shown in FIG.
  • the Internal Flash file upgrade is mainly based on an upgrade filter function to first determine the upgrade file. It has the following three situations:
  • the size of the file read is larger than the size of the APP application, that is, the file object is too large;
  • the address of a file recorded is smaller than the address where the APP application starts, that is, the address of the object file is too small;
  • the address of the cached data is 0x20000000.
  • the internal Flash When the internal Flash reads the upgrade file data, it reads the data in a FLASH_PAGE_SIZE size. After determining whether the FLASH status is complete, the address of the program is shifted. Until the offset is to the specified position, the data is transferred.
  • Step 1 When the program starts executing, the system first initializes the drivers for each module.
  • Step 2 Check if the SD card is inserted. If there is an SD card inserted, go to step 3. If no SD card is inserted, go to step 8.
  • Step 3 When the application detects that an SD card is inserted:
  • Step 4 Determine whether to obtain the file description buffer. If the acquisition is successful, go to step 5. If the file description buffer is not successfully obtained, go to step 8.
  • Step 5 Obtain the number of files to be upgraded and determine whether the files to be upgraded are successful. If the files are successfully obtained, perform step 6 and upgrade the upgrade files one by one until all files are upgraded. If it does not succeed, the application hangs automatically.
  • Step 6 Determine the upgrade type of the file in the description structure array of the file to be upgraded, and select the upgrade mode according to the file upgrade type.
  • Step 7 Determine whether all upgrade files are upgraded. Step 8 is performed after the upgrade is complete. Otherwise, go back to step 5.
  • Step 8 Turn off the timer and the LED light stops flashing.
  • Step 9 After the IAP (IAP is the abbreviation for In-Application Programming, application programming), release the SPI related pins before jumping to the application to prevent pin multiplexing.
  • IAP is the abbreviation for In-Application Programming, application programming
  • Step 10 Determine whether the APP of the upper APP program exists. If it exists, run the upper APP; if it does not exist, the application hangs.
  • the method for upgrading the file of the vehicle decoder software provided by the invention combines the characteristics of the software structure and the hard
  • the protection features provided by the device, using the bvloader software upgrade file it can be used to boot the stm32f10x boot loader, use the SD card (SPI interface) to update and run the application, and can be implemented by configuring /bsp/board/ files Porting on different hardware boards can quickly upgrade products and speed up the upgrade; at the same time, it can effectively improve the security of the program, overcome many potential security risks, and reduce the potential risk of product plagiarism. To achieve maximum protection of vendor code and intellectual property, it can meet the needs of practical applications.

Abstract

The present invention relates to a method for upgrading files by vehicle-mounted decoder software. The method comprises the following steps: step 1: detecting whether a SD card is inserted; step 2: lighting an LED lamp for a certain time after detecting that the SD card is inserted; step 3: automatically detecting whether there is a file to be updated in the SD card, and if so, performing the file update and blinking the LED lamp; otherwise directly jumping to execution of an application; step 4: quickly blinking the LED lamp after successively updating one file, a blink speed being the same as a blink speed of the LED lamp in step 3, then jumping to step 3 to continue to update the next file until all files are updated. The invention combines features of a software structure and hardware protection characteristics, thereby effectively increasing security of a program, reducing the risk of product copying, achieving protection of vendor code and intellectual property to the greatest extent, and meets the needs of practical application.

Description

一种车载解码器软件升级文件的方法Method for upgrading document of vehicle decoder software 技术领域Technical field
本发明属于技术领域,具体涉及一种车载解码器软件升级文件的方法。The invention belongs to the technical field, and in particular relates to a method for upgrading a file by a vehicle decoder software.
背景技术Background technique
随着嵌入式系统产品的发展,其功能趋向系统化和复杂化,不同的场合和具体应用使厂商根据自身情况对产品的升级和维护提出了更多的需求。厂商针对这一问题普遍采用Bootloader引导应用程序结构的嵌入式软件,Bootloader程序是在系统上电复位后在Flash中首先执行的一小段代码,对于具有Bootloader引导应用程序结构的嵌入式软件,Bootloader部分和应用程序时相对独立的。产品有了升级版本后,用户可以得到产品和升级程序包。可是在对产品的篡改攻击中,一旦Bootloader代码泄漏,非法使用者通过升级模式更新应用程序部分,将可以复制产品的全部软件代码,这就使得产品被抄袭的潜在风险急剧增大。With the development of embedded system products, its functions tend to be systematic and complicated. Different occasions and specific applications have caused manufacturers to put more demands on product upgrade and maintenance according to their own conditions. The manufacturer generally uses the Bootloader to guide the application structure of the embedded software. The Bootloader program is a small piece of code that is executed first in the Flash after the system power-on reset. For the embedded software with the Bootloader boot application structure, the Bootloader part. Relatively independent of the application. After the product has an upgraded version, users can get the product and upgrade package. However, in the tampering attack on the product, once the Bootloader code leaks, the illegal user updates the application part through the upgrade mode, and the entire software code of the product can be copied, which increases the potential risk of plagiarism.
嵌入式系统产品的开发往往成本高、开发周期长,一旦产品中的嵌入式软件被抄袭或盗窃都将给厂商带来巨大的损失。一直以来,嵌入式软件的安全和知识产权保护是厂商面对市场竞争着重关心的焦点。嵌入式系统处理器的优先硬件资源和高效率要求使得其难以应用复杂和大运算的加密算法,对代码的保护更多依赖于硬件,这往往具有很多潜在的安全隐患。因此,对于大多数厂商来说,有必要引入一些软件保护机制,来完成产权保护以及用户的使用安全的目的。The development of embedded system products is often costly and has a long development cycle. Once the embedded software in the product is copied or stolen, it will bring huge losses to the manufacturer. For a long time, the security and intellectual property protection of embedded software is the focus of manufacturers' focus on market competition. The priority hardware resources and high efficiency requirements of embedded system processors make it difficult to apply complex and large-encryption encryption algorithms. The protection of code relies more on hardware, which often has many potential security risks. Therefore, for most manufacturers, it is necessary to introduce some software protection mechanisms to complete the protection of property rights and the safety of users.
一般升级文件的方式大概有四种方式:1:一次性通过JLink烧写;2:使用串口升级;3:使用USB进行升级;4:SD卡升级。但是stm32本身并不支持SD卡升级的功能,而一般的SD卡升级方式是将所需的.bin文件直接拷贝到SD卡中,但是在一些产品升级过程中,往往有些SD卡里面的app程序的.bin文件识别不了(就是打不开.bin文件),这使产品升级效率大大降低,这些缺陷需要改进。 There are generally four ways to upgrade files: 1: one-time programming via JLink; 2: using serial port upgrade; 3: using USB for upgrade; 4: SD card upgrade. However, stm32 itself does not support the SD card upgrade function, and the general SD card upgrade method is to copy the required .bin file directly to the SD card, but in some product upgrade processes, there are often app programs in the SD card. The .bin file can't be recognized (that is, the .bin file cannot be opened), which greatly reduces the efficiency of product upgrades. These defects need to be improved.
发明内容Summary of the invention
针对上述现有技术中存在的问题,本发明的目的在于提供一种可避免出现上述技术缺陷的车载解码器软件升级文件的方法。In view of the above problems in the prior art, it is an object of the present invention to provide a method for upgrading a file of an in-vehicle decoder software that avoids the above-mentioned technical drawbacks.
为了实现上述发明目的,本发明提供的技术方案如下:In order to achieve the above object, the technical solution provided by the present invention is as follows:
一种车载解码器软件升级文件的方法,包括以下步骤:A method for upgrading a file of a vehicle decoder software includes the following steps:
步骤一:检查是否插入SD卡;如果有SD卡插入,则更新应用程序和SPI Flash的文件;如果没有SD卡插入,则直接跳到应用程序执行;Step 1: Check whether the SD card is inserted; if there is an SD card inserted, update the application and SPI Flash files; if there is no SD card inserted, jump directly to the application to execute;
步骤二:当检查到有SD卡插入后,令LED灯亮一定的时间;Step 2: After checking that an SD card is inserted, let the LED light be on for a certain period of time;
步骤三:自动检查SD卡中是否有文件更新,如果有文件更新,则执行文件更新,同时令LED灯以每秒两次的速度闪烁;如果没有文件更新,则直接跳到应用程序执行;Step 3: Automatically check whether there is a file update in the SD card. If there is a file update, the file update is performed, and the LED light flashes at a rate of twice per second; if there is no file update, jump directly to the application to execute;
步骤四:成功更新一个文件后,令LED灯快速闪烁,闪烁速度和步骤三中LED灯的闪烁速度一样;然后,跳转到步骤三继续更新下一个文件,直到所有文件更新完成为止。Step 4: After successfully updating a file, let the LED flash rapidly, the blinking speed is the same as the blinking speed of the LED in step 3. Then, go to step 3 and continue to update the next file until all files are updated.
进一步地,所述方法还包括步骤五:当程序跳到应用程序入口,发现找不到应用程序或者当文件更新失败时,使LED灯以两秒闪烁一次的速度闪烁。Further, the method further includes the step 5: when the program jumps to the application portal, finds that the application is not found or when the file update fails, the LED light flashes at a speed of two seconds.
进一步地,所述方法具体为:Further, the method is specifically:
步骤一:程序开始执行时,首先初始化各个模块的驱动程序;Step 1: When the program starts execution, first initialize the driver of each module;
步骤二:检测SD卡是否插入,如果有SD卡插入,则执行步骤三;如果没有SD卡插入,则跳转到步骤八;Step 2: Check whether the SD card is inserted. If there is an SD card inserted, perform step 3; if no SD card is inserted, skip to step 8;
步骤三:当应用程序检测到有SD卡插入时:Step 3: When the application detects that an SD card is inserted:
(1)使用FATFS文件系统,在FATFS模块上注册一个工作区;(1) Register a workspace on the FATFS module using the FATFS file system;
(2)获取文件描述缓冲;(2) Obtain a file description buffer;
步骤四:判断是否获取文件描述缓冲,如果为获取成功,则跳转到步骤五;如果文件描述缓冲未获取成功,跳转到步骤八;Step 4: Determine whether to obtain the file description buffer, if the acquisition is successful, then jump to step 5; if the file description buffer is not successfully obtained, jump to step 8;
步骤五:获取待升级的文件数量,判断待升级的文件是否均获取成功,如果均获取成功,则执行步骤六,并对待升级文件逐一进行升级,直到所有文件都升级完成;如果未获取成功,应用程序自动挂起;Step 5: Obtain the number of files to be upgraded and determine whether the files to be upgraded are successful. If the files are successfully obtained, perform step 6 and upgrade the upgrade files one by one until all the files are upgraded. The application hangs automatically;
步骤六:判断待升级的文件的描述结构体数组中文件的升级类型,根据文 件升级类型选择升级方式;Step 6: Determine the upgrade type of the file in the description structure array of the file to be upgraded, according to the text The upgrade type selects the upgrade mode;
步骤七:判断所有升级文件是否升级完成,升级完成执行步骤八,否则返回步骤五;Step 7: Determine whether all upgrade files are upgraded. Step 8 is performed after the upgrade is completed. Otherwise, go back to step 5.
步骤八:关闭定时器,LED灯停止闪烁;Step 8: Turn off the timer and the LED light stops flashing;
步骤九:IAP完成之后,跳转至应用程序之前释放掉SPI相关引脚,防止引脚复用;Step 9: After the IAP is completed, release the SPI related pins before jumping to the application to prevent pin multiplexing;
步骤十:判断上层APP程序地址是否存在APP,如果存在,则运行上层APP;如果不存在,本应用程序挂起。Step 10: Determine whether the APP of the upper APP program exists. If it exists, run the upper APP; if it does not exist, the application hangs.
进一步地,所述步骤六具体为:判断待升级的文件的描述结构体数组中文件的升级类型,根据文件升级类型选择升级方式:Further, the step 6 is specifically: determining an upgrade type of the file in the description structure array of the file to be upgraded, and selecting an upgrade mode according to the file upgrade type:
1)如果文件升级类型为INTERNAL,则执行Internal Flash升级;1) If the file upgrade type is INTERNAL, perform an Internal Flash upgrade;
2)如果文件升级类型为SPI,则执行SPI Flash升级;2) If the file upgrade type is SPI, perform SPI Flash upgrade;
3)如果为其它文件类型,则应用程序自动挂起。3) If it is a different file type, the application automatically hangs.
本发明提供的车载解码器软件升级文件的方法,结合软件结构的特点和硬件提供的保护特性,使用过bvloader软件升级文件的方式,它既可以给stm32f10x引导装载程序,使用SD卡(SPI接口)更新并运行应用程序,又可以通过配置/bsp/board/的文件来实现在不同硬件的板上的移植,这样便可快捷地实现产品升级,加快升级速度;同时,也有效地提高程序的安全性,克服了很多潜在的安全隐患,降低了产品被抄袭的潜在风险,达到最大程度地对厂商代码和知识产权的保护,可以很好地满足实际应用的需要。The method for upgrading the file of the vehicle decoder software provided by the invention combines the characteristics of the software structure and the protection features provided by the hardware, and uses the bvloader software to upgrade the file, which can not only load the stm32f10x boot loader, but also use the SD card (SPI interface). Update and run the application, and you can configure the /bsp/board/ file to implement the migration on different hardware boards, which can quickly upgrade the product and speed up the upgrade. At the same time, it can effectively improve the security of the program. Sexuality overcomes many potential security risks, reduces the potential risk of product plagiarism, and maximizes the protection of vendor code and intellectual property, which can meet the needs of practical applications.
附图说明DRAWINGS
图1为本发明的总体流程图;Figure 1 is a general flow chart of the present invention;
图2为SPI Flash更新过程的流程图;Figure 2 is a flow chart of the SPI Flash update process;
图3为Internal Flash更新过程的流程图;Figure 3 is a flow chart of the Internal Flash update process;
图4为本发明的详细步骤流程图。Figure 4 is a flow chart showing the detailed steps of the present invention.
具体实施方式detailed description
为了使本发明的目的、技术方案及优点更加清楚明白,下面结合附图和具体实施例对本发明做进一步说明。应当理解,此处所描述的具体实施例仅用以解释本发明,并不用于限定本发明。 The present invention will be further described in conjunction with the accompanying drawings and specific embodiments. It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
如图1所示,一种车载解码器软件升级文件的方法,包括以下步骤:As shown in FIG. 1, a method for upgrading a file by a vehicle decoder software includes the following steps:
步骤一:启动时检查是否插入SD卡;如果有SD卡插入,则更新应用程序和SPI Flash的文件;如果没有SD卡插入,则直接跳到应用程序执行;Step 1: Check whether the SD card is inserted at startup; if there is an SD card inserted, update the application and SPI Flash files; if there is no SD card inserted, jump directly to the application to execute;
步骤二:当检查到有SD卡插入后,令LED灯亮一定的时间;Step 2: After checking that an SD card is inserted, let the LED light be on for a certain period of time;
步骤三:自动检查SD卡中是否有文件更新,如果有文件更新,则执行文件更新,同时令LED灯以每秒两次的速度闪烁;如果没有文件更新,则直接跳到应用程序执行;Step 3: Automatically check whether there is a file update in the SD card. If there is a file update, the file update is performed, and the LED light flashes at a rate of twice per second; if there is no file update, jump directly to the application to execute;
步骤四:成功更新一个文件后,令LED灯快速闪烁,闪烁速度和步骤三中LED灯的闪烁速度一样;然后,跳转到步骤三继续更新下一个文件,直到所有文件更新完成为止;Step 4: After successfully updating a file, the LED light flashes rapidly, and the blinking speed is the same as the blinking speed of the LED light in step 3. Then, jump to step 3 to continue updating the next file until all files are updated.
步骤五:当程序跳到应用程序入口,发现找不到应用程序或者当文件更新失败时,使LED灯以两秒闪烁一次的速度闪烁。Step 5: When the program jumps to the application portal, it finds that the application cannot be found or when the file update fails, the LED flashes at a speed of two seconds.
本发明的车载解码器软件升级文件的方法是通过bvloader程序实现的,bvloader程序包括六个模块,分别是定时器、SD卡控制模块、LED灯状态、FATFS文件系统、Internal Flash更新以及SPI Flash更新等模块,下面将分别详细介绍定时器、FATFS文件系统、SPIFlash更新、Internal Flash更新以及主逻辑控制等模块。The method for upgrading the file of the vehicle decoder software of the present invention is implemented by a bvloader program, which includes six modules, namely a timer, an SD card control module, an LED light state, a FATFS file system, an Internal Flash update, and an SPI Flash update. For modules, the following sections detail the timer, FATFS file system, SPIFlash update, Internal Flash update, and main logic control.
定时器Timer
当bvloader应用程序需要挂起时,它会首先设置一个2秒的定时器溢出时间,再开启定时器,而在检测到有SD卡时LED灯会定时闪烁。When the bvloader application needs to hang, it will first set a 2 second timer overflow time, then turn on the timer, and the LED will flash periodically when an SD card is detected.
FATFS文件系统FATFS file system
在本发明中使用了FATFS文件系统,是本发明的关键点之一,因为产品在制作成品时使用FATFS文件系统升级文件更快捷。它在主逻辑控制模块检测SD卡是否存在update.cfg文件、分析update.cfg文件以及在SPIFlash更新模块和InternalFlash更新模块等都有使用到该文件系统。The use of the FATFS file system in the present invention is one of the key points of the present invention because it is faster to use the FATFS file system to upgrade files when the product is finished. It uses the file system in the main logic control module to detect whether the SD card has an update.cfg file, analyze the update.cfg file, and use the SPIFlash update module and the InternalFlash update module.
FATFS是一个为小型嵌入式系统设计的通用FAT(File Allocation Table)文件系统模块。FatFs的编写遵循ANSIC,并且完全与磁盘I/O层分开。因此,它独立(不依赖)于硬件架构。它可以被嵌入到低成本的微控制器中,如8051,PIC,AVR,SH,Z80,H8,ARM等等,而不需要做任何修改。FATFS is a general-purpose FAT (File Allocation Table) file system module designed for small embedded systems. FatFs is written to follow ANSIC and is completely separate from the disk I/O layer. Therefore, it is independent (not dependent) on the hardware architecture. It can be embedded in low-cost microcontrollers such as 8051, PIC, AVR, SH, Z80, H8, ARM, etc. without any modifications.
FATFS文件系统的特点是:FAT12,FAT16与FAT32.多个卷(物理驱动器与 分区)。两种分区规则:FDISK与Super-floppy。多种配置选项:长文件名支持。可选的编码页,包括DBCS(DBCS即双位元组字元系统Double Byte Char Systems)多任务支持只读,最小化API,缓冲区配置等等应用程序接口。The FATFS file system features: FAT12, FAT16 and FAT32. Multiple volumes (physical drives with Partition). Two partitioning rules: FDISK and Super-floppy. Multiple configuration options: long filename support. Optional code pages, including DBCS (DBCS or Double Byte Char Systems) multitasking support for read-only, minimal API, buffer configuration, and more.
SPI Flash更新SPI Flash update
SPI:serial peripheral interface串行外围设备接口,是一种常见的时钟同步串行通信接口。SPI Flash就是通过SPI口对Flash进行读写。SPI: serial peripheral interface is a common clock synchronous serial communication interface. SPI Flash reads and writes Flash through the SPI port.
本发明的SPI Flash更新过程的流程如图2所示。SPI Flash升级方法主要是运用32位校验和算法,判断SPI FLASH读写校验和是否一致来实现对升级文件的数据传输。The flow of the SPI Flash update process of the present invention is shown in FIG. 2. The SPI Flash upgrade method mainly uses a 32-bit checksum algorithm to determine whether the SPI FLASH read/write checksum is consistent to achieve data transfer to the upgrade file.
校验和(checksum)在数据处理和数据通信领域中,用于校验目的地一组数据项的和。是指传输位数的累加,当传输结束时,接收者可以根据这个数值判断是否接到了所有的数据。如果数值匹配,那么说明传送已经完成。它通常是以16进制为数制的表现形式,而32位校验和是以32进制为数制表示的形式。A checksum is used in the field of data processing and data communication to verify the sum of a set of data items for a destination. It refers to the accumulation of the number of transmission bits. When the transmission ends, the receiver can judge whether all the data is received according to this value. If the values match, then the transfer is complete. It is usually expressed in hexadecimal notation, and the 32-bit checksum is in the form of a 32-digit system.
在SPI Flash写数据时,为了计算数据包的写检验和。应该按如下步骤:When writing data in SPI Flash, in order to calculate the write checksum of the packet. The following steps should be taken:
1、把写校验和字段设置为0;1. Set the write checksum field to 0;
2、把需要校验的数据看成以4字节即32位为单位的数字组成,依次进行二进制反码求和;2. The data to be verified is regarded as a number consisting of 4 bytes or 32 bits, and the binary inverse codes are sequentially summed;
3、把得到的结果存入写校验和字段中。3. Store the results in the Write Checksum field.
在SPI Flash进行读数据时,计算数据包的读检验和,按如下步骤:When reading data in SPI Flash, calculate the read checksum of the data packet as follows:
1、把读校验和字段设置为0;1. Set the read checksum field to 0;
2、把首部看成以4K位为单位的数字组成,尾部不足4K的以32位为单位组成数据包,依次进行二进制反码求和;2. The first part is regarded as a number consisting of 4K bits, and the tail is less than 4K, and the data packet is composed of 32 bits, and the binary inverse codes are sequentially summed;
3、把得到的结果存入读校验和字段中。3. Store the results in the read checksum field.
Internal Flash更新Internal Flash update
本发明的Internal Flash更新过程的流程如图3所示。Internal Flash文件升级主要是通过一个升级滤波器函数来先对升级文件进行判断。它有如下三种情况:The flow of the Internal Flash update process of the present invention is shown in FIG. The Internal Flash file upgrade is mainly based on an upgrade filter function to first determine the upgrade file. It has the following three situations:
1、读到的文件大小大于APP应用程序的大小,即文件对象太大;1. The size of the file read is larger than the size of the APP application, that is, the file object is too large;
2、记录的一个文件的地址小于APP应用程序开始的地址,即对象文件的地址太小; 2. The address of a file recorded is smaller than the address where the APP application starts, that is, the address of the object file is too small;
3、缓存数据的地址为0x20000000。3. The address of the cached data is 0x20000000.
Internal Flash在读取升级文件数据时,它是以一个FLASH_PAGE_SIZE大小读取的数据,在判断FLASH状态是否完整后对程序的地址进行位置偏移,直到偏移到指定位置时,数据才传输完成。When the internal Flash reads the upgrade file data, it reads the data in a FLASH_PAGE_SIZE size. After determining whether the FLASH status is complete, the address of the program is shifted. Until the offset is to the specified position, the data is transferred.
为了更好地实现上述方案,下面通过整体的软件设计步骤并结合附图4来对本发明作进一步详细地描述,具体包括下列步骤:In order to better implement the above solution, the present invention is further described in detail below through the overall software design steps and in conjunction with FIG. 4, and specifically includes the following steps:
步骤一:程序开始执行时,系统首先会初始化各个模块的驱动程序。Step 1: When the program starts executing, the system first initializes the drivers for each module.
步骤二:检测SD卡是否插入,如果有SD卡插入,则执行步骤三;如果没有SD卡插入,则跳转到步骤八。Step 2: Check if the SD card is inserted. If there is an SD card inserted, go to step 3. If no SD card is inserted, go to step 8.
步骤三:当应用程序检测到有SD卡插入时:Step 3: When the application detects that an SD card is inserted:
(1)使用FATFS文件系统,在FATFS模块上注册一个工作区;(1) Register a workspace on the FATFS module using the FATFS file system;
(2)获取文件描述缓冲。(2) Get the file description buffer.
步骤四:判断是否获取文件描述缓冲,如果为获取成功,则跳转到步骤五;如果文件描述缓冲未获取成功,跳转到步骤八。Step 4: Determine whether to obtain the file description buffer. If the acquisition is successful, go to step 5. If the file description buffer is not successfully obtained, go to step 8.
步骤五:获取待升级的文件数量,判断待升级的文件是否均获取成功,如果均获取成功,则执行步骤六,并对待升级文件逐一进行升级,直到所有文件都升级完成。如果未获取成功,应用程序自动挂起。Step 5: Obtain the number of files to be upgraded and determine whether the files to be upgraded are successful. If the files are successfully obtained, perform step 6 and upgrade the upgrade files one by one until all files are upgraded. If it does not succeed, the application hangs automatically.
步骤六:判断待升级的文件的描述结构体数组中文件的升级类型,根据文件升级类型选择升级方式。Step 6: Determine the upgrade type of the file in the description structure array of the file to be upgraded, and select the upgrade mode according to the file upgrade type.
(1)如果文件升级类型为INTERNAL,执行InternalFlash升级。(1) If the file upgrade type is INTERNAL, perform an InternalFlash upgrade.
(2)如果文件升级类型为SPI,执行SPIFlash升级。(2) If the file upgrade type is SPI, perform SPIFlash upgrade.
(3)如果为其它文件类型,系统自动挂起。(3) If it is another file type, the system automatically suspends.
步骤七:判断所有升级文件是否升级完成,升级完成执行步骤八,否则返回步骤五。Step 7: Determine whether all upgrade files are upgraded. Step 8 is performed after the upgrade is complete. Otherwise, go back to step 5.
步骤八:关闭定时器,LED灯停止闪烁。Step 8: Turn off the timer and the LED light stops flashing.
步骤九:IAP(IAP为In-Application Programming的缩写,即应用编程)完成之后,跳转至应用程序之前释放掉SPI相关引脚,防止引脚复用。Step 9: After the IAP (IAP is the abbreviation for In-Application Programming, application programming), release the SPI related pins before jumping to the application to prevent pin multiplexing.
步骤十:判断上层APP程序地址是否存在APP,如果存在,则运行上层APP;如果不存在,本应用程序挂起。Step 10: Determine whether the APP of the upper APP program exists. If it exists, run the upper APP; if it does not exist, the application hangs.
本发明提供的车载解码器软件升级文件的方法,结合软件结构的特点和硬 件提供的保护特性,使用过bvloader软件升级文件的方式,它既可以给stm32f10x引导装载程序,使用SD卡(SPI接口)更新并运行应用程序,又可以通过配置/bsp/board/的文件来实现在不同硬件的板上的移植,这样便可快捷地实现产品升级,加快升级速度;同时,也有效地提高程序的安全性,克服了很多潜在的安全隐患,降低了产品被抄袭的潜在风险,达到最大程度地对厂商代码和知识产权的保护,可以很好地满足实际应用的需要。The method for upgrading the file of the vehicle decoder software provided by the invention combines the characteristics of the software structure and the hard The protection features provided by the device, using the bvloader software upgrade file, it can be used to boot the stm32f10x boot loader, use the SD card (SPI interface) to update and run the application, and can be implemented by configuring /bsp/board/ files Porting on different hardware boards can quickly upgrade products and speed up the upgrade; at the same time, it can effectively improve the security of the program, overcome many potential security risks, and reduce the potential risk of product plagiarism. To achieve maximum protection of vendor code and intellectual property, it can meet the needs of practical applications.
以上所述实施例仅表达了本发明的实施方式,其描述较为具体和详细,但并不能因此而理解为对本发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本发明构思的前提下,还可以做出若干变形和改进,这些都属于本发明的保护范围。因此,本发明专利的保护范围应以所附权利要求为准。 The above-mentioned embodiments are merely illustrative of the embodiments of the present invention, and the description thereof is not to be construed as limiting the scope of the invention. It should be noted that a number of variations and modifications may be made by those skilled in the art without departing from the spirit and scope of the invention. Therefore, the scope of the invention should be determined by the appended claims.

Claims (4)

  1. 一种车载解码器软件升级文件的方法,其特征在于,包括以下步骤:A method for upgrading a file of a vehicle decoder software, comprising the steps of:
    步骤一:检查是否插入SD卡;如果有SD卡插入,则更新应用程序和SPI Flash的文件;如果没有SD卡插入,则直接跳到应用程序执行。Step 1: Check if the SD card is inserted; if there is an SD card inserted, update the application and SPI Flash files; if there is no SD card inserted, jump directly to the application.
    步骤二:当检查到有SD卡插入后,令LED灯亮一定的时间。Step 2: After checking that an SD card is inserted, let the LED light be on for a certain period of time.
    步骤三:自动检查SD卡中是否有文件更新,如果有文件更新,则执行文件更新,同时令LED灯以每秒两次的速度闪烁;如果没有文件更新,则直接跳到应用程序执行。Step 3: Automatically check whether there is a file update in the SD card. If there is a file update, the file update is performed, and the LED light flashes at a rate of twice per second; if there is no file update, it jumps directly to the application execution.
    步骤四:成功更新一个文件后,令LED灯快速闪烁,闪烁速度和步骤三中LED灯的闪烁速度一样;然后,跳转到步骤三继续更新下一个文件,直到所有文件更新完成为止。Step 4: After successfully updating a file, let the LED flash rapidly, the blinking speed is the same as the blinking speed of the LED in step 3. Then, go to step 3 and continue to update the next file until all files are updated.
  2. 根据权利要求1所述的车载解码软件升级文件的方法,其特征在于,所述方法还包括步骤五:当程序跳到应用程序入口,发现找不到应用程序或者当文件更新失败时,使LED灯以两秒闪烁一次的速度闪烁;The method for upgrading a file by the in-vehicle decoding software according to claim 1, wherein the method further comprises the step 5: when the program jumps to the application portal, finds that the application is not found or when the file update fails, the LED is caused. The light flashes at a speed that flashes once every two seconds;
  3. 根据权利要求1、2所述的车载解码器软件升级文件的方法,其特征在于,所述方法具体为:The method for upgrading a file by the vehicle-mounted decoder software according to any one of claims 1 to 2, wherein the method is specifically:
    步骤一:程序开始执行时,首先初始化各个模块的驱动程序。Step 1: When the program starts execution, first initialize the drivers of each module.
    步骤二:检测SD卡是否插入,如果有SD卡插入,则执行步骤三;如果没有SD卡插入,则跳转到步骤八。Step 2: Check if the SD card is inserted. If there is an SD card inserted, go to step 3. If no SD card is inserted, go to step 8.
    步骤三:当应用程序检测到有SD卡插入时:Step 3: When the application detects that an SD card is inserted:
    (1)使用FATFS文件系统,在FATFS模块上注册一个工作区;(1) Register a workspace on the FATFS module using the FATFS file system;
    (2)获取文件描述缓冲。(2) Get the file description buffer.
    步骤四:判断是否获取文件描述缓冲,如果为获取成功,则跳转到步骤五;如果文件描述缓冲未获取成功,跳转到步骤八。Step 4: Determine whether to obtain the file description buffer. If the acquisition is successful, go to step 5. If the file description buffer is not successfully obtained, go to step 8.
    步骤五:获取待升级的文件数量,判断待升级的文件是否均获取成功,如果均获取成功,则执行步骤六,并对待升级文件逐一进行升级,直到所有文件都升级完成。如果未获取成功,应用程序自动挂起。Step 5: Obtain the number of files to be upgraded and determine whether the files to be upgraded are successful. If the files are successfully obtained, perform step 6 and upgrade the upgrade files one by one until all files are upgraded. If it does not succeed, the application hangs automatically.
    步骤六:判断待升级的文件的描述结构体数组中文件的升级类型,根据文 件升级类型选择升级方式。Step 6: Determine the upgrade type of the file in the description structure array of the file to be upgraded, according to the text The upgrade type selects the upgrade method.
    步骤七:判断所有升级文件是否升级完成,升级完成执行步骤八,否则返回步骤五。Step 7: Determine whether all upgrade files are upgraded. Step 8 is performed after the upgrade is complete. Otherwise, go back to step 5.
    步骤八:关闭定时器,LED灯停止闪烁。Step 8: Turn off the timer and the LED light stops flashing.
    步骤九:IAP完成之后,跳转至应用程序之前释放掉SPI相关引脚,防止引脚复用。Step 9: After the IAP is completed, release the SPI related pins before jumping to the application to prevent pin multiplexing.
    步骤十:判断上层APP程序地址是否存在APP,如果存在,则运行上层APP;如果不存在,本应用程序挂起。Step 10: Determine whether the APP of the upper APP program exists. If it exists, run the upper APP; if it does not exist, the application hangs.
  4. 根据权利要求3所述的步骤六,其特征在于,所述步骤六具体为:判断待升级的文件的描述结构体数组中文件的升级类型,根据文件升级类型选择升级方式:The step 6 of claim 3, wherein the step 6 is specifically: determining an upgrade type of the file in the description structure array of the file to be upgraded, and selecting an upgrade mode according to the file upgrade type:
    1)如果文件升级类型为INTERNAL,则执行Internal Flash升级。1) If the file upgrade type is INTERNAL, perform an Internal Flash upgrade.
    2)如果文件升级类型为SPI,则执行SPI Flash升级。2) If the file upgrade type is SPI, perform an SPI Flash upgrade.
    3)如果为其它文件类型,则应用程序自动挂起。 3) If it is a different file type, the application automatically hangs.
PCT/CN2017/081799 2016-04-25 2017-04-25 Method for upgrading files by vehicle-mounted decoder software WO2017186089A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610264315.6 2016-04-25
CN201610264315.6A CN105867985B (en) 2016-04-25 2016-04-25 A kind of method of vehicle-mounted decoder software upgrade file

Publications (1)

Publication Number Publication Date
WO2017186089A1 true WO2017186089A1 (en) 2017-11-02

Family

ID=56629071

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/081799 WO2017186089A1 (en) 2016-04-25 2017-04-25 Method for upgrading files by vehicle-mounted decoder software

Country Status (2)

Country Link
CN (1) CN105867985B (en)
WO (1) WO2017186089A1 (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110764813A (en) * 2019-10-31 2020-02-07 京东方科技集团股份有限公司 Upgrading method of system software and running method thereof
CN111580842A (en) * 2020-04-16 2020-08-25 北京遥感设备研究所 On-line upgrading method and system for vehicle-mounted millimeter wave radar application program
CN112799698A (en) * 2021-01-14 2021-05-14 陕西建工安装集团(河南)有限公司 SD card based automatic upgrading method under U-boot
CN113127043A (en) * 2021-03-19 2021-07-16 力高(山东)新能源技术有限公司 Method for upgrading BootLoader on line by using single chip microcomputer APP
CN113238790A (en) * 2021-05-28 2021-08-10 成都新易盛通信技术股份有限公司 Firmware program updating method and system based on SD card and EEPROM
CN114968317A (en) * 2022-04-01 2022-08-30 北京遥测技术研究所 Program upgrading method based on ZYNQ fool-proof design
CN114968317B (en) * 2022-04-01 2024-04-26 北京遥测技术研究所 Program upgrading method based on ZYNQ fool-proof design

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105867985B (en) * 2016-04-25 2018-12-21 广州路派电子科技有限公司 A kind of method of vehicle-mounted decoder software upgrade file
CN112667264A (en) * 2021-01-15 2021-04-16 广州路派电子科技有限公司 Method and system for upgrading off-line downloaded software

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6874680B1 (en) * 2000-10-17 2005-04-05 Spx Corporation Remote updating method and apparatus
CN102436388A (en) * 2011-12-22 2012-05-02 华为技术有限公司 Method and device for upgrading software of embedded system
CN103970480A (en) * 2013-01-30 2014-08-06 北京金奔腾汽车科技有限公司 Automobile computer diagnosing instrument SD (Secure Digital) memory card FLASH recovery
CN105867985A (en) * 2016-04-25 2016-08-17 广州路派电子科技有限公司 Method for upgrading file through vehicle-mounted decoder software

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101335577B (en) * 2008-08-05 2010-06-23 东南大学 Wireless updating method for multimedia data of vehicular equipment in urban public transport system
CN102681857B (en) * 2011-03-07 2016-08-31 北京博创理想科技有限公司 A kind of realize vehicle-mounted software system reparation or the method for upgrading, device
CN103135996A (en) * 2011-11-23 2013-06-05 上海博泰悦臻网络技术服务有限公司 Vehicle-mounted equipment and program document refresh method thereof
CN102567049B (en) * 2011-12-09 2016-06-22 惠州市德赛西威汽车电子股份有限公司 The upgrade method of embedded OS
CN103019797A (en) * 2012-12-29 2013-04-03 福建三元达通讯股份有限公司 Method for upgrading firmware of advertising machine terminal through USB (Universal Serial Bus) interface
CN103870305A (en) * 2014-02-19 2014-06-18 江苏天宝汽车电子有限公司 Software upgrading method of vehicle-mounted sound box with USB (Universal Serial Bus) interface/memory card interface
CN105260215A (en) * 2015-11-04 2016-01-20 福建星海通信科技有限公司 Method of updating vehicle-mounted automobile data recorder terminal by USB flash disk

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6874680B1 (en) * 2000-10-17 2005-04-05 Spx Corporation Remote updating method and apparatus
CN102436388A (en) * 2011-12-22 2012-05-02 华为技术有限公司 Method and device for upgrading software of embedded system
CN103970480A (en) * 2013-01-30 2014-08-06 北京金奔腾汽车科技有限公司 Automobile computer diagnosing instrument SD (Secure Digital) memory card FLASH recovery
CN105867985A (en) * 2016-04-25 2016-08-17 广州路派电子科技有限公司 Method for upgrading file through vehicle-mounted decoder software

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110764813A (en) * 2019-10-31 2020-02-07 京东方科技集团股份有限公司 Upgrading method of system software and running method thereof
CN111580842A (en) * 2020-04-16 2020-08-25 北京遥感设备研究所 On-line upgrading method and system for vehicle-mounted millimeter wave radar application program
CN112799698A (en) * 2021-01-14 2021-05-14 陕西建工安装集团(河南)有限公司 SD card based automatic upgrading method under U-boot
CN113127043A (en) * 2021-03-19 2021-07-16 力高(山东)新能源技术有限公司 Method for upgrading BootLoader on line by using single chip microcomputer APP
CN113238790A (en) * 2021-05-28 2021-08-10 成都新易盛通信技术股份有限公司 Firmware program updating method and system based on SD card and EEPROM
CN113238790B (en) * 2021-05-28 2023-08-29 成都新易盛通信技术股份有限公司 Firmware program updating method and system based on SD card and EEPROM
CN114968317A (en) * 2022-04-01 2022-08-30 北京遥测技术研究所 Program upgrading method based on ZYNQ fool-proof design
CN114968317B (en) * 2022-04-01 2024-04-26 北京遥测技术研究所 Program upgrading method based on ZYNQ fool-proof design

Also Published As

Publication number Publication date
CN105867985A (en) 2016-08-17
CN105867985B (en) 2018-12-21

Similar Documents

Publication Publication Date Title
WO2017186089A1 (en) Method for upgrading files by vehicle-mounted decoder software
US9372754B2 (en) Restoring from a legacy OS environment to a UEFI pre-boot environment
US9858084B2 (en) Copying of power-on reset sequencer descriptor from nonvolatile memory to random access memory
US9430250B2 (en) Bootability with multiple logical unit numbers
EP3080693B1 (en) Devices, updaters, methods for controlling a device, and methods for controlling an updater
US10042651B2 (en) Techniques to configure multi-mode storage devices in remote provisioning environments
US20090113196A1 (en) Method and systems for advanced reprogrammable boot codes and in-application programming of embedded microprocessor systems
US9052918B2 (en) Management of multiple software images with shared memory blocks
US9411605B2 (en) Device-less and system agnostic unified extensible firmware interface (UEFI) driver
WO2017058577A1 (en) Nand-based verified boot
JP2016507848A (en) Read-only memory boot code patch
CN107567629B (en) Dynamic firmware module loader in trusted execution environment container
WO2016188037A1 (en) Version burning method, system and terminal, and computer storage medium
US9459884B2 (en) Self-healing using an alternate boot partition
US10664598B1 (en) Firmware security patch deployment
US9110678B1 (en) Automated BIOS enhancements and upgrades
US8499142B1 (en) UEFI boot loader for loading non-UEFI compliant operating systems
US11836501B1 (en) System and methods for hardware-based PCIe link up based on post silicon characterization
US11099856B2 (en) Methods for uninstalling SSD (solid-state disk) cards and apparatuses using the same
KR20150072963A (en) Multisystem, and method of booting the same
CN100498710C (en) Method for reading and electing read only memory program code on self-storing mechanism
US11500995B1 (en) Secure boot runtime universal filesystem
CN102902554B (en) A kind of LINUX installation method of operating system of Loongson platform
CN105204896A (en) BootLoader design method of digital storage oscilloscope
CN110515665B (en) Starting method, system and device of processor system

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17788741

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 27.03.2019)

122 Ep: pct application non-entry in european phase

Ref document number: 17788741

Country of ref document: EP

Kind code of ref document: A1