Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method for implementing CSA (context save area) node manager on basis of TC1767 platform

A technology of TC1767 and node manager, which is applied in the field of microcontroller operating system, can solve the problem that the operating system cannot perform task switching and multi-tasking processing, and achieve the effect of fast switching and less CPU cycles

Inactive Publication Date: 2013-04-17
ZHEJIANG UNIV
View PDF3 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The present invention aims at the shortcomings that the existing TC1767 chip-based operating system cannot perform task switching and multi-tasking processing, and provides a method of establishing and introducing a brand-new CSA node manager in the existing operating system to realize the task switching function Implementation method of CSA node manager based on TC1767 platform

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for implementing CSA (context save area) node manager on basis of TC1767 platform

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0018] The implementation method of the CSA node manager based on the TC1767 platform uses the TC1767 chip based on the TriCore architecture, and the TriCore architecture uses the CSA node of the linked list structure. Each CSA node is a 16-word memory area, 16-word aligned. Each CSA node can hold exactly one upper or lower context. The CSA nodes form a CSA linked list by connecting the beginning and the end of a link word. The link word has 2 fields: 4-bit segment index and 16-bit offset, which can be used to generate the EA of the next CSA. The area that each segment can be used as a CSA is 4MB, so there can be 2 16 CSA nodes. The structure of the CSA linked list is as follows figure 1 As shown, in addition, the TC1767 chip also includes 3 context management registers, namely FCX, PCX and LCX, where the FCX register points to the available free context list (FCL: Free Context List), which saves the address of the first node of the FCL, PCX The register points to the use...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention relates to operating systems of microcontrollers, and discloses a method for implementing a CSA (context save area) node manager on the basis of a TC1767 platform. The method includes specific steps of respectively establishing a CSA list for each task; and switching a certain CSA list to be used as a current CSA list so as to switch the corresponding tasks. The tasks are in one-to-one correspondence with the CSA lists, and each CSA list contains an FCL (free context list) and a PCL (previous context list). The method has the advantages that the multiple tasks can be switched over and processed on a TC1767 chip by means of establishing and introducing the CSA node manager, the task switching speed is high, and the method has high application value.

Description

technical field [0001] The invention relates to an operating system of a microcontroller, in particular to a method for realizing a CSA node manager based on a TC1767 platform. Background technique [0002] The TC1767 chip is a 32-bit microcontroller (MCU) based on the TriCore architecture developed by Infineon, and the TC1767 can be used as the core CPU of the car. The TriCore architecture uses the CSA (Context Save Area) of the linked list structure as the area to save the context, so as to realize the context switching generated when the interrupt, trap and function are called. Due to the limitation of the chip itself, the existing operating system running on the TC1767 chip cannot realize task switching and multi-task processing. Contents of the invention [0003] The present invention aims at the shortcomings that the existing TC1767 chip-based operating system cannot perform task switching and multi-tasking processing, and provides a method of establishing and intro...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F9/48
Inventor 李红吴朝晖王旭阳陈浩杰顾宗华
Owner ZHEJIANG UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products