Chip ROM Exception Detection With Fallback Code Execution
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Chips with abnormal codes in Read-Only Memory (ROM) may operate abnormally, leading to inefficiencies and requiring costly re-taping processes.
Innovation Solution
A method and apparatus that reads a target code from ROM, identifies if it's an exception code, and if so, skips it, reading and executing a second code from a designated storage space, such as RAM, to ensure normal operation without re-taping the chip.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If a code in the ROM is abnormal, then the chip may not operate normally, but re-taping the chip to fix it incurs high cost and time consumption
Solution Approach 1:
The patent pre-stores alternative codes in the ROM alongside the primary codes. When an abnormal code is detected during execution, the system can immediately switch to the pre-prepared alternative code without requiring external intervention or re-taping, thus resolving the contradiction between maintaining reliability and avoiding time loss.
Solution Approach 2:
The patent creates a copy of the correct code and stores it in the ROM for backup. When the original code is found to be abnormal, the system uses the copied alternative code to replace it, avoiding the need for physical re-taping and thereby eliminating both cost and time penalties while maintaining operational reliability.
2Reliability
If a code in the ROM is abnormal, then the chip may not operate normally, but re-taping the chip to fix it incurs high cost
Solution Approach 1:
The patent pre-stores alternative codes in the ROM alongside the primary codes. When an abnormal code is detected during execution, the system can immediately switch to the pre-prepared alternative code without requiring external intervention or re-taping, thus resolving the contradiction between maintaining reliability and avoiding cost.
Solution Approach 2:
The patent creates a copy of the correct code and stores it in the ROM for backup. When the original code is found to be abnormal, the system uses the copied alternative code to replace it, avoiding the need for physical re-taping and thereby eliminating both cost and time penalties while maintaining operational reliability.
3Ease of manufacture
If the chip structure is simple with ROM only, then manufacturing is easy, but exception codes cause operational failures
Solution Approach 1:
The patent merges the primary code storage function with an exception handling mechanism within the same ROM structure. By storing both primary codes and alternative codes in the ROM and implementing a detection-switching logic, the system maintains structural simplicity while significantly improving reliability against code exceptions.
Solution Approach 2:
The patent pre-stores alternative codes in the ROM alongside the primary codes. When an abnormal code is detected during execution, the system can immediately switch to the pre-prepared alternative code without requiring external intervention or re-taping, thus resolving the contradiction between maintaining reliability and avoiding time loss.
Data Source
Figure 1
Figure 2
Figure 3
AI summary
A method for controlling a chip includes: reading a first target code from the ROM of the chip, identifying whether the first target code is an exception code, and in response to the first target code being the exception code, not executing the first target code, reading a second target code from a set storage space of the chip, and executing the second target code.