Microcomputer Memory Update Control via Privileged Gate
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing data update processing techniques lack reliability, particularly in ensuring accurate and secure updates of critical information stored in microcomputers, as they may allow erroneous updates due to improper access control and lack of validation for data integrity.
Innovation Solution
A microcomputer architecture that includes a privileged mode for controlled access to data memory, utilizing a write protection register and privileged gate to manage update permissions, and employs hash values and monotonicity checks to validate data integrity before updating, ensuring that only authorized updates occur and maintaining data reliability.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Productivity
If data update processing is performed without controlled access, then update speed is improved, but data reliability deteriorates due to erroneous updates
Solution Approach 1:
The system performs preliminary actions by checking hash values and monotonicity before allowing data updates. The write protection register is set in advance to control access rights, and the gate device validates update requests against stored hash values and monotonicity criteria before permitting the actual update operation, thus preventing erroneous updates while maintaining efficient processing.
2Reliability
If access control for data memory is implemented, then data reliability is improved, but device complexity increases
Solution Approach 1:
The gate device serves as an intermediary between the CPU and the data memory. It mediates access requests by checking the write protection register and validating hash values and monotonicity before allowing updates. This intermediary component centralizes the access control logic, managing complexity in a structured manner while ensuring data reliability through controlled access.
3Reliability
If hash value validation is performed before update, then data integrity is improved, but processing time increases
Solution Approach 1:
The system performs hash value validation as a preliminary action before the actual data update operation. The gate device checks whether the hash value of the data to be updated matches the stored hash value in the write protection register. This preliminary validation ensures data integrity by preventing updates to corrupted or unauthorized data, while the efficient implementation minimizes processing time overhead.
Data Source
AI summary
An electronic apparatus according an embodiment includes a first memory, a second memory, a gate device, and one or more hardware processors. The first memory stores information. The second memory stores state information indicating whether or not update on the information of the first memory is allowed. The gate device is provided on a bus and controls whether or not to permit access to the second memory based on a control instruction. In a predetermined mode, the one or more hardware processors output, to the gate device, a control instruction to permit access to the second memory, set the state information of the second memory to indicate an updatable state, and update the information of the first memory.


