Embedded System Firmware Update via Memory Access Detection
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing methods for updating firmware in embedded systems require additional hardware or software, causing inconvenience to users and potentially affecting the original operation of the system.
Innovation Solution
An embedded system with a host controller circuit and a microcontroller circuit that accesses a storage device to obtain firmware updates and writes them to memory blocks only when not accessed by other circuits, allowing for background firmware updates without affecting system operations.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Ease of operation
If a specific burning tool or computer is used to update firmware, then the firmware can be updated, but additional hardware or software is required which causes inconvenience to users
Solution Approach 1:
The embedded system performs firmware updates autonomously using its own host controller circuit and memory resources. The system can detect firmware update requests, transfer firmware data from storage devices, and write it to memory blocks without requiring external burning tools or computers, making the system self-sufficient for maintenance operations.
Solution Approach 2:
The host controller circuit serves multiple functions: it manages normal system operations and simultaneously handles firmware update operations. The memory circuit is designed to accommodate both operational data and firmware storage, allowing the same hardware resources to serve dual purposes and eliminate the need for dedicated update equipment.
2Ease of operation
If firmware update procedures are implemented, then firmware can be updated, but the original operation or function of the system may be affected
Solution Approach 1:
The memory circuit is divided into multiple independent memory blocks. During firmware updates, only specific blocks are accessed and modified while other blocks remain untouched and continue to support normal system operations. This segmentation allows parallel execution of update and operational functions without mutual interference.
Solution Approach 2:
The system checks whether memory blocks are being accessed by other circuits before initiating firmware write operations. This preliminary verification ensures that update operations are performed only when memory resources are available, preventing conflicts with ongoing system operations and maintaining reliability.
Data Source
AI summary
An embedded system includes a host controller circuit and a microcontroller circuit. The host controller circuit is configured to access a storage device to obtain an address of a first firmware file in the storage device. The microcontroller circuit is configured to determine whether a memory circuit is being accessed by other circuits, in which the memory circuit includes memory blocks. If the memory circuit is not being accessed by the other circuits, the microcontroller circuit is further to control the host controller circuit to write the first firmware file to a first block of the memory blocks according to the address.


