A method for protecting a jtag port of a car central gateway

By employing a triple-security protection mechanism, the security vulnerabilities and stability issues of the traditional automotive central gateway JTAG port are resolved, enabling secure management and access control of the JTAG port and improving the security and reliability of automotive electronic systems.

CN118611944BActive Publication Date: 2026-11-20BEIJING NEW ENERGY VEHICLE TECH INNOVATION CENT CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410769246.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-14
Publication Date
2026-11-20
Estimated Expiration
2044-06-14

Smart Images

  • Figure CN118611944B_ABST
    Figure CN118611944B_ABST
Patent Text Reader

Abstract

The application relates to the technical field of central gateway ports, and discloses a method for protecting a JTAG port of an automobile central gateway, wherein after the automobile central gateway is powered on, it is judged whether the JTAG port is in an open state; if not, it indicates that no permission is accessed to the JTAG port; if yes, it indicates that any access application to the JTAG port is allowed; the central gateway sets three security level protection mechanisms for the JTAG port, which are I-level protection, II-level protection and III-level protection respectively. The method for protecting the JTAG port of the central gateway with the three security levels protects the JTAG port by taking software measures such as permission management and password management under the premise of not removing the JTAG port, so that the JTAG port can be safely managed, and the automobile central gateway system can be ensured to be safe in information.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of central gateway port technology, and in particular to a method for protecting the JTAG port of a vehicle's central gateway. Background Technology

[0002] The automotive central gateway is a crucial component of the vehicle's electronic architecture. It is primarily responsible for the vehicle's information exchange and communication control, serving as the vehicle's information communication hub and playing a critical role in ensuring data security. However, with the development of the Internet of Vehicles (IoV), while traditional automotive central gateways, as key information exchange and communication nodes, can achieve basic information security management, still exhibit some significant security shortcomings.

[0003] For example, the JTAG port is an important interface for hardware debugging and fault diagnosis. Traditional automotive central gateways do not have any protection measures for their JTAG ports, which allows them to be open to all users, potentially leading to the following security risks:

[0004] (1) The unprotected JTAG port of the traditional central gateway may be exploited by malicious attackers, resulting in device tampering, malicious code injection, tampering with vehicle operation or stealing user data, data leakage, etc., which poses a serious threat to vehicle security.

[0005] (2) Malicious visitors or competitors may interpret device design information through unprotected JTAG ports, snoop and copy hardware design and firmware code, thereby infringing on intellectual property rights and stealing technical secrets, causing leakage of intellectual property rights and technical secrets, and causing economic losses.

[0006] (3) If an unprotected JTAG port is improperly or illegally accessed or misused, it may affect or damage the normal operation of the central gateway, thus affecting the overall stability and operational efficiency of the vehicle.

[0007] (4) The JTAG port is an important interface for hardware debugging and testing, allowing developers and maintenance personnel to access critical functions within the system and equipment. Unauthorized access or modification of the JTAG port may disrupt normal operations and affect the vehicle's stability and reliability.

[0008] (5) Protecting the JTAG port of the automotive central gateway by directly removing it will increase the difficulty of hardware debugging and deep fault detection and recovery during the development process, reduce the maintainability and reliability of the system, and increase costs.

[0009] With increasing emphasis on vehicle safety, this invention urgently needs to provide a method for protecting the JTAG port of a vehicle's central gateway, which can both protect the JTAG port and improve the stability and reliability of vehicle operation. Summary of the Invention

[0010] To address the problem of data leakage, virus implantation, or malicious exploitation leading to the lack of protection measures on the JTAG port of a vehicle's central gateway, thereby affecting the normal operation of the central gateway, this invention provides a method for protecting the JTAG port of a vehicle's central gateway.

[0011] The technical content of this invention is as follows:

[0012] This invention provides a method for protecting the JTAG port of a vehicle central gateway. After the vehicle central gateway is powered on, it determines whether the JTAG port is open. If not, it indicates that there is no permission to access the JTAG port; if so, it indicates that any access request to the JTAG port is allowed. The central gateway sets up a three-level security protection mechanism for the JTAG port: Level I protection, Level II protection, and Level III protection, implemented through the following steps:

[0013] When any access request to the JTAG port is allowed, verify whether the access to the JTAG port has passed the Level I protection mechanism. If yes, it means that there is permission to access the JTAG port under the Level I protection mechanism; if no, it means that there is no permission to access the JTAG port under the Level I protection mechanism.

[0014] If access to the JTAG port passes the Level I protection mechanism, then it is further verified whether access to the JTAG port passes the Level II protection mechanism.

[0015] When verifying whether access to the JTAG port has passed the Level II protection mechanism, if the verification passes, it means that there is permission to access the JTAG port under the Level II protection mechanism; if the verification fails, it means that there is no permission to access the JTAG port under the Level II protection mechanism.

[0016] When there is no need to debug and test the central gateway through the JTAG port, the central gateway will activate the Level III protection mechanism and disable the JTAG port debugging mode.

[0017] Furthermore, the Level I protection mechanism set up by the central gateway for the JTAG port is applied to the BootROM operation phase within the gateway system.

[0018] Furthermore, the Level I protection mechanism set up by the central gateway for the JTAG port is implemented through the following steps:

[0019] The software program image inside the central gateway is signed using a cryptographic algorithm, and JTAG port control words and chip parameters are set.

[0020] The signed software program, JTAG port control word, and chip parameters are burned into the gateway system.

[0021] After the gateway system is powered on and started, the central gateway enters the Level I protection mechanism state. The gateway system internally verifies whether the access request to the JTAG port is allowed based on the Level I protection mechanism.

[0022] If the verification passes, it indicates that the gateway system has started and is running normally and securely. The JTAG port can obtain debugging permissions based on the control word, enabling normal debugging and downloading through the JTAG port. If the verification fails, it indicates that there is no permission to access the JTAG port under the Level I protection mechanism.

[0023] Furthermore, when signing the software program image inside the central gateway using a cryptographic algorithm, setting the JTAG port control word, and setting chip parameters, the following steps are taken:

[0024] The system program package is generated using a software method. The package includes the software program, JTAG port control word, and chip parameters.

[0025] Choose the RSA cryptographic algorithm and use the open-source tool OpenSSL to generate a 2048-bit RSA private key.

[0026] Generate a public key that pairs with the 2048-bit RSA private key from the previous step;

[0027] Use the private key to sign system program packages;

[0028] Write the public key into the Efuse chip;

[0029] Write the chip identifier parameter into the chip Efuse.

[0030] Furthermore, when the gateway system verifies whether an access request to the JTAG port is allowed under the Level I protection mechanism, it does so by:

[0031] Calculate the public key in the software package and compare it with the public key read from the chip's Efuse area;

[0032] The signature is verified using the same cryptographic algorithm used when signing the software program, with the public key read from the chip's Efuse area.

[0033] Compare parameter A in the program package with the chip identifier parameter in the chip's Efuse area;

[0034] When all the above verifications pass, it means that the access to the JTAG port has passed the Level I protection mechanism, the gateway system starts up and runs normally and securely, and the JTAG port can obtain debugging permissions based on the control word, so as to realize normal debugging and downloading through the JTAG port;

[0035] If any of the above verification steps fail, it means that the BootROM inside the gateway system cannot run normally, that is, there is no permission to access and debug through the JTAG port, and it cannot be programmed at will. The gateway system's JTAG port remains in Level I protection status.

[0036] Furthermore, when verifying whether access to the JTAG port has passed the Level II protection mechanism, it is done by:

[0037] Use the JTAG response / challenge mechanism;

[0038] Write the relevant parameters of the cryptographic machine into the gateway system and lock the address where the password is written, and enable the JTAG port level II protection mechanism;

[0039] After the gateway system starts up, the central gateway enters the Level II protection mechanism state. Under the Level II protection mechanism, the gateway system checks whether the access to the JTAG port is successful through authentication. If the authentication is successful, it means that the user has permission to unlock the JTAG port and perform secure access and debugging. If the authentication fails, it means that the user does not have permission to access the JTAG port.

[0040] Furthermore, the use of the JTAG response / protection mechanism includes:

[0041] The JTAG response / challenge mechanism enables authentication protection and the setting of JTAG passwords.

[0042] The gateway system checks any access to the JTAG port. If the password is entered correctly, the authentication is successful, indicating that the user has permission to unlock the JTAG port and perform secure access and debugging. If the password is entered incorrectly or there is no password, the user does not have permission to access the JTAG port.

[0043] Furthermore, the JTAG response / challenge mechanism includes:

[0044] Write the password key into the Efuse area;

[0045] Write the password key to the address and lock it. Once locked, the location will not be accessible from the outside.

[0046] Enable the chip's JTAG response / challenge mechanism.

[0047] Furthermore, the Level III protection mechanism includes:

[0048] This is applied when the gateway system program version is already fixed.

[0049] The beneficial effects of this invention include at least the following: This invention proposes a method for protecting the JTAG port of a central gateway with three security levels. Without removing or retaining the JTAG port, software measures such as access control and password management are used to protect the JTAG port, enabling secure management. This retains the advantages of a JTAG port, such as allowing developers to perform design verification, debugging, and functional testing of the central gateway prototype during development. Simultaneously, it ensures the information security within the automotive central gateway system, achieving the goal of protecting the JTAG port. Only authenticated users are allowed normal access and debugging, improving the security of the automotive electronic system, effectively protecting intellectual property and trade secrets, preventing illegal tampering and misoperation, and ensuring vehicle stability and reliability. Compared to the unprotected JTAG port of a traditional automotive central gateway, the security level is significantly improved. Attached Figure Description

[0050] Figure 1 This is a flowchart illustrating a method for protecting the JTAG port of a vehicle's central gateway, as provided by the present invention.

[0051] Figure 2 This is a flowchart illustrating the Level I protection mechanism of a method for protecting the JTAG port of a vehicle's central gateway provided by the present invention.

[0052] Figure 3 This is a flowchart illustrating the Level II protection mechanism of a method for protecting the JTAG port of a vehicle central gateway provided by the present invention. Detailed Implementation

[0053] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0054] Combination Figure 1As shown, this invention provides a method for protecting the JTAG port of a vehicle central gateway. After the vehicle central gateway is powered on, it determines whether the JTAG port is open. If not, it means that there is no permission to access the JTAG port; if so, it means that any access request to the JTAG port is allowed. The central gateway sets up a three-level protection mechanism for the JTAG port, namely Level I protection, Level II protection, and Level III protection, which is achieved through the following steps:

[0055] When any access request to the JTAG port is allowed, verify whether the access to the JTAG port has passed the Level I protection mechanism. If yes, it means that there is permission to access the JTAG port under the Level I protection mechanism; if no, it means that there is no permission to access the JTAG port under the Level I protection mechanism.

[0056] If access to the JTAG port passes the Level I protection mechanism, then it is further verified whether access to the JTAG port passes the Level II protection mechanism.

[0057] When verifying whether access to the JTAG port has passed the Level II protection mechanism, if the verification passes, it means that there is permission to access the JTAG port under the Level II protection mechanism; if the verification fails, it means that there is no permission to access the JTAG port under the Level II protection mechanism.

[0058] When there is no need to debug and test the central gateway through the JTAG port, the central gateway will activate the Level III protection mechanism and disable the JTAG port debugging mode.

[0059] Furthermore, the Level I protection mechanism set up by the central gateway for the JTAG port is implemented through the following steps:

[0060] The software program image inside the central gateway is signed using a cryptographic algorithm, and the JTAG port control word and chip parameters are set.

[0061] The signed software program, JTAG port control word, and chip parameters are burned into the gateway system.

[0062] After the gateway system is powered on and started, the central gateway enters the Level I protection mechanism state. The gateway system internally verifies whether the access request to the JTAG port is allowed based on the Level I protection mechanism.

[0063] If the verification passes, it indicates that the gateway system has started and is running normally and securely. The JTAG port can obtain debugging permissions based on the control word, enabling normal debugging and downloading through the JTAG port. If the verification fails, it indicates that there is no permission to access the JTAG port under the Level I protection mechanism.

[0064] Furthermore, when the gateway system verifies whether an access request to the JTAG port is allowed under the Level I protection mechanism, it does so by:

[0065] Calculate the public key in the software package and compare it with the public key read from the chip's Efuse area;

[0066] The signature is verified using the same cryptographic algorithm used when signing the software program, with the public key read from the chip's Efuse area.

[0067] Compare parameter A in the program package with the chip identifier parameter in the chip's Efuse area;

[0068] Parameter A is a parameter for verifying the validity of the boot image. It can be an existing parameter or set according to requirements.

[0069] When all the above verifications pass, it means that the access to the JTAG port has passed the Level I protection mechanism, the gateway system starts up and runs normally and securely, and the JTAG port can obtain debugging permissions based on the control word, so as to realize normal debugging and downloading through the JTAG port;

[0070] If any of the above verification steps fail, it means that the BootROM inside the gateway system cannot run normally, that is, there is no permission to access and debug through the JTAG port, and it cannot be programmed at will. The gateway system's JTAG port remains in Level I protection status.

[0071] This invention, taking the E3 Control Heart series automotive central gateway as an example, implements protection for the JTAG port according to security levels from low to high, as described below:

[0072] (1) Implementation of Level I Security for JTAG Port Protection in E3 Control Heart Series Automotive Central Gateway

[0073] The Level I protection mechanism for the JTAG port set up by the central gateway is applied during the BootROM operation phase within the gateway system. It protects the JTAG port by signing, verifying, and checking chip parameters of the software program using software methods. First, the software program image is signed using a cryptographic algorithm, and the JTAG port control word and chip parameters are set. Then, the software package (containing the signed software program, JTAG port control word, and chip parameters) is burned into the gateway system. The software method implementation process is as follows:

[0074] The system program package is generated using a software method. The package includes the software program, JTAG port control word, and chip parameters.

[0075] Choose the RSA cryptographic algorithm and use the open-source tool OpenSSL to generate a 2048-bit RSA private key.

[0076] Generate a public key that pairs with the 2048-bit RSA private key from the previous step;

[0077] Use the private key to sign system program packages;

[0078] Write the public key generated in the second step into the Efuse chip of the E3 Control Heart series;

[0079] Write the chip identification parameters into the Efuse of the E3 Control Heart series chips;

[0080] Mass production of the E3 Control Heart series of E3 Control Heart chips has begun.

[0081] At this point, the gateway system has entered JTAG port Level I protection mode. The E3 Control Heart series chips can no longer be arbitrarily programmed, and debugging and downloading via the JTAG port are also prohibited. For the automotive central gateway that has entered Level I JTAG port protection mode, the signed system software program is programmed into the gateway system. After the gateway system powers on, the system makes a judgment based on the protection mechanism: First, it calculates the public key hash in the software program and compares it with the public key hash read from the Efuse area; second, it uses the same cryptographic algorithm as the software program signature to verify the signature using the public key read from the chip's Efuse area; third, it compares parameter A in the program package with the chip identifier parameter in the Efuse area.

[0082] If all three checks within the gateway system pass verification, the signature verification is successful, the image verification is legitimate and complete, and the gateway system can start and run normally and securely. Simultaneously, the gateway's JTAG port can obtain debugging permissions based on the control word, enabling normal debugging and downloading via the JTAG port. However, if the signature verification fails, the image verification is invalid, or any step in the internal checks fails after the gateway system starts, the system's BootROM cannot run normally. That is, it lacks access and debugging permissions via the JTAG port and cannot be arbitrarily programmed. The gateway system's JTAG port remains in Level I protection mode. Figure 2 As shown.

[0083] Furthermore, when verifying whether access to the JTAG port has passed the Level II protection mechanism, it is done by:

[0084] Use the JTAG response / challenge mechanism;

[0085] Write the relevant parameters of the cryptographic machine into the gateway system and lock the address where the password is written, and enable the JTAG port level II protection mechanism;

[0086] After the gateway system starts up, the central gateway enters the Level II protection mechanism state. Under the Level II protection mechanism, the gateway system checks whether the access to the JTAG port is successful through authentication. If the authentication is successful, it means that the user has permission to unlock the JTAG port and perform secure access and debugging. If the authentication fails, it means that the user does not have permission to access the JTAG port.

[0087] Furthermore, the use of the JTAG response / protection mechanism includes:

[0088] The JTAG response / challenge mechanism enables authentication protection and the setting of JTAG passwords.

[0089] The gateway system checks any access to the JTAG port. If the password is entered correctly, the authentication is successful, indicating that the user has permission to unlock the JTAG port and perform secure access and debugging. If the password is entered incorrectly or there is no password, the user does not have permission to access the JTAG port.

[0090] Furthermore, the JTAG response / challenge mechanism includes:

[0091] Write the password key into the Efuse area;

[0092] Write the password key to the address and lock it. Once locked, the location will not be accessible from the outside.

[0093] Enable the chip's JTAG response / challenge mechanism.

[0094] (2) JTAG port authentication protection, implemented at security level II.

[0095] Security Level II protection mechanisms, building upon Security Level I, utilize the JTAG response / challenge mechanism for authentication protection, setting JTAG passwords, and controlling access permissions to restrict external access to the JTAG port. First, the JTAG response / challenge mechanism is enabled. Then, the password and related parameters are written into the gateway system, and the address used to write the password is locked, enabling Level II protection for the JTAG port. The software implementation process is as follows:

[0096] The first step is to write the password key into the Efuse area;

[0097] The second step is to write the password key into the address and lock it. After locking, the location will not be accessible from the outside.

[0098] The third step is to enable the JTAG response / challenge mechanism of the E3 Control Heart series chips.

[0099] At this point, the gateway system has entered JTAG port Level II protection mode. Access via the JTAG port requires authentication for debugging. For automotive central gateways already in Level II JTAG port protection mode, after the gateway system starts, it checks any access to the JTAG port. If the entered password is correct (authentication successful), the system has permission to unlock the JTAG port and perform secure access and debugging. If no password is available or the password is incorrect after the gateway system starts, access is denied, and the access request fails to open the JTAG port. Furthermore, because the password address is locked during the protection process, if the password is illegally decrypted externally, the external party cannot find the password address through the JTAG port and related shadow registers, further enhancing security. The JTAG port authentication protection process is as follows: Figure 3 As shown.

[0100] Furthermore, the Level III protection mechanism includes:

[0101] This is applied when the gateway system program version is already fixed.

[0102] (3) Force JTAG debugging to be disabled, i.e., security level III.

[0103] Security Level III protection means the gateway system program version is fixed and requires virtually no debugging or testing; this level of protection can be selected in this case. Disabling JTAG debugging mode via software permanently disables JTAG, which is irreversible and provides the highest level of security, but also prevents debugging from being unlocked.

[0104] This invention, through the aforementioned solution, employs a three-level security protection method to protect the JTAG port of a vehicle's central gateway, resolving issues such as malicious attacks, misinterpretation leading to loss of technical secrets, and damage to the JTAG port. Simultaneously, during the JTAG port protection process, access authorization is added; access to the JTAG port or debugging / modification is only permitted with authorization. This addresses the problem of unauthorized access or modification of the JTAG port potentially disrupting normal programs and affecting vehicle stability and reliability. Furthermore, when using software measures to protect the JTAG port, it retains the JTAG port without physical removal, overcoming the problems associated with traditional physical removal of the central gateway's JTAG port, which increases the difficulty of hardware debugging, deep fault detection and recovery during development, and reduces system maintainability and reliability.

[0105] The above description is merely an embodiment of the present invention and does not limit the patent scope of the present invention. Any equivalent structural or procedural transformations made based on the content of the present invention's specification and drawings, or direct or indirect applications in other related technical fields, are similarly included within the patent protection scope of the present invention.

Claims

1. A method for protecting the JTAG port of a vehicle central gateway, characterized in that: The vehicle's central gateway has set up three security levels of protection mechanisms for the JTAG port: Level I, Level II, and Level III protection, which are implemented through the following steps: After the vehicle central gateway is powered on, it enters the Level I protection mechanism state. The gateway system internally verifies whether the access request to the JTAG port is allowed based on the Level I protection mechanism. When the gateway system verifies whether an access request to the JTAG port is allowed under the Level I protection mechanism, it does so by: Calculate the public key in the software package and compare it with the public key read from the chip's Efuse area; The signature is verified using the same cryptographic algorithm used when signing the software program, with the public key read from the chip's Efuse area. Compare parameter A in the software package with the chip identifier parameter in the chip's Efuse area; Parameter A is a parameter for verifying the validity of the boot image; it can be an existing parameter or set according to requirements. When all the above verifications pass, it means that the access to the JTAG port has passed the Level I protection mechanism, the gateway system starts up and runs normally and securely, and the JTAG port can obtain debugging permissions based on the control word, so as to realize normal debugging and downloading through the JTAG port. If any of the above verification steps fail, it means that the BootROM inside the gateway system cannot run normally, that is, there is no permission to access and debug through the JTAG port, and it cannot be programmed at will. The gateway system JTAG port is still in the Level I protection state. If access to the JTAG port passes the Level I protection mechanism, then it is further verified whether access to the JTAG port passes the Level II protection mechanism. When verifying whether access to the JTAG port has passed the Level II protection mechanism, if the verification passes, it means that there is permission to access the JTAG port under the Level II protection mechanism; if the verification fails, it means that there is no permission to access the JTAG port under the Level II protection mechanism. When there is no need to debug and test the vehicle's central gateway through the JTAG port, the vehicle's central gateway will activate the Level III protection mechanism and disable the JTAG port debugging mode.

2. The method for protecting the JTAG port of a vehicle central gateway according to claim 1, characterized in that: The Level I protection mechanism set up by the automotive central gateway for the JTAG port is applied during the BootROM operation phase within the gateway system.

3. The method for protecting the JTAG port of a vehicle central gateway according to claim 2, characterized in that: The Level I protection mechanism set up by the automotive central gateway for the JTAG port is implemented through the following steps: The software program image inside the vehicle central gateway is signed using a cryptographic algorithm, and the JTAG port control word and chip identification parameters are set. Write the signed software program, JTAG port control word, and chip identification parameters into the gateway system; After the gateway system is powered on and started, the automotive central gateway enters the Level I protection mechanism state. The gateway system internally verifies whether the access request to the JTAG port is allowed based on the Level I protection mechanism. If the verification is successful, it means that the gateway system has started and is running normally and securely. The JTAG port can obtain debugging permissions based on the control word, and can perform normal debugging and downloading through the JTAG port. If the verification fails, it means that there is no permission to access the JTAG port under the Level I protection mechanism.

4. The method for protecting the JTAG port of a vehicle central gateway according to claim 3, characterized in that: When signing the software program image inside the vehicle's central gateway using a cryptographic algorithm, setting the JTAG port control word, and setting chip identification parameters, the following steps are taken: The system software package is generated using a software method. The package includes the software program, JTAG port control word, and chip identification parameters. Choose the RSA cryptographic algorithm and use the open-source tool OpenSSL to generate a 2048-bit RSA private key. Generate a public key that pairs with the 2048-bit RSA private key from the previous step; Use the private key to sign the system software package; Write the public key into the chip's Efuse area; Write the chip identifier parameter into the chip's Efuse area.

5. The method for protecting the JTAG port of a vehicle central gateway according to claim 1, characterized in that: When verifying whether access to the JTAG port has passed the Level II protection mechanism, it is done by: Use the JTAG response / challenge mechanism; Write the relevant parameters of the cryptographic machine into the gateway system and lock the address where the password is written, and enable the JTAG port level II protection mechanism; After the gateway system starts up, the vehicle's central gateway enters the Level II protection mechanism state. Under the Level II protection mechanism, the gateway system checks whether the access to the JTAG port is successful through authentication. If the authentication is successful, it means that the user has permission to unlock the JTAG port and perform secure access and debugging. If the authentication fails, it means that the user does not have permission to access the JTAG port.

6. The method for protecting the JTAG port of a vehicle central gateway according to claim 5, characterized in that: The use of the JTAG response / challenge mechanism includes: The JTAG response / challenge mechanism enables authentication protection and the setting of JTAG passwords. The gateway system checks any access to the JTAG port. If the entered password is correct, i.e. the authentication is successful, it means that the user has permission to unlock the JTAG port and perform secure access and debugging. If the password verification fails or no password is entered, it means that you do not have permission to access the JTAG port.

7. The method for protecting the JTAG port of a vehicle central gateway according to claim 6, characterized in that: The JTAG response / challenge mechanism includes: Write the password key into the chip's Efuse area; Write the password key to the address and lock it. Once locked, the location will not be accessible from the outside. Enable the chip's JTAG response / challenge mechanism.

8. The method for protecting the JTAG port of a vehicle central gateway according to claim 1, characterized in that: The Level III protection mechanism includes: This is applied when the gateway system program version is already fixed.

Citation Information

Patent Citations

  • Safety JTAG module and method for protecting safety of information inside chip

    CN101620656A

  • JTAG debugging device and JTAG debugging method

    CN107783874A