rar

Transplantation of μCOS-II on microprocessor LM3S8962

  • 2013-09-22
  • 593.54KB
  • Points it Requires : 2

 Based on the ARM Cortex-M3 microprocessor architecture with broad application prospects, the μC/OS-II real-time operating system is ported to the microprocessor LM3S8962. By analyzing the microprocessor LM3S8962 and μC/OS-II kernel structures, and combining the characteristics of the ARM Cortex-M3 system, the nested vector interrupt controller (NVIC) and Thumb-2 instruction set architecture (ISA) inherent in the ARM Cortex-M3 are used to complete the writing of the functions required for porting μC/OS-II, the definition of macros and the implementation of the task stack. In particular, the new interrupt provided by the ARM Cortex-M3 - the suspendable system call (PendSV) is used as a soft interrupt for the real-time system to complete task switching. The code of some ported functions is given, and the function structure is also described in detail for the functions without code. Through the test of the porting, the results show that the system runs normally under the clock frequency of 20 Hz, and can complete the task switching normally, achieving the purpose of porting.  

unfold

You Might Like

Uploader
lamaba
 

Recommended ContentMore

Popular Components

Just Take a LookMore

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
×