Dual-processor data exchange method
A dual-processor, data exchange technology, applied in the field of data communication, can solve the problems of complex software processing and low serial bus data throughput, and achieve the effect of reliable exchange
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0032] Such as figure 1 As shown, a simple, reliable and effective dual-processor data exchange method is provided.
[0033] The technical solution of the present invention is: the processor accesses the semaphore state of the dual-port RAM, and accesses the corresponding dual-port RAM data space according to the semaphore state; Whether the read data area is valid; the processor then accesses the semaphore state of the dual-port RAM, and judges whether the read operation or the write operation is faulty according to the semaphore state;
[0034] Described double processor data exchange method, its specific process is as follows:
[0035] Step 1: Configure the dual-port RAM data space and semaphore address
[0036] The dual-port RAM data space is divided into at least one non-zero block data area according to the same port address, and the non-zero block data area has a semaphore address and a semaphore state.
[0037] Step 2: Generation of semaphore state
[0038] When th...
Embodiment 2
[0051] Below in conjunction with accompanying drawing and embodiment the present invention will be further described:
[0052] The processor of the present invention accesses the corresponding dual-port RAM data space according to the semaphore state, and then accesses the data at the corresponding semaphore address to judge whether the data area is valid. Both processors can access the semaphore status of the same data area, realizing the reliable exchange of data between the two processors.
[0053] see figure 1 , the specific process of the dual-processor data exchange method is as follows:
[0054] Step 1: Configure the dual-port RAM data space and semaphore address
[0055]Before the processor exchanges data, determine the number of data areas and the size of the data area required by the processor according to the system input and output functions, and divide the dual-port RAM storage space into different data areas corresponding to positive integer blocks according to...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com