微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 无线和射频 > TI WIFI设计交流 > CCS 遇到困难 求各路大神指导

CCS 遇到困难 求各路大神指导

时间:10-02 整理:3721RD 点击:

我安装的ccs  v6  为什么没有 TI-RTOS CC32XX”组件的下载 ,直接没有这一项  为什么     求各路大神知道一下

CC32xx TI-RTOS

Cc31xx cc32xx return home.png

Cc32xx return sample apps.png

Contents

 [hide] 

  • Introduction
  • Using TI-RTOS with CC32xx SDK
  • Steps to build TI-RTOS configuration project:
  • Steps to build a new application on CCS with TI-RTOS:
  • Notes:
  • 6 Archives

Introduction


The CC32xx SDK includes a prebuilt TI-RTOS Kernel (formerly known as SYS/BIOS) and has some examples showcasing the usage of the applications with TI-RTOS kernel. The SDK includes an OS abstraction layer that is also ported for TI-RTOS. The SDK also includes a power management framework to aid the exercising of the low power modes in the device. There are also high level drivers that interface with the power management framework.

It is recommended to use the CC32xx SDK for applications requiring the flexibility to easily migrate to any RTOS and also if the usecase exercises the low power modes of the device.

"TI-RTOS for SimpleLink Wireless MCUs" package exercises more features of TI-RTOS (TI-RTOS Kernel, TI-RTOS Drivers and Board Initialization, ....) and has example applications showcasing various usecases. TI-RTOS Drivers and Board Initialization provides a set of device driver APIs, that are standard across all devices, as well as initialization code for all supported boards.

It is recommended to use the "TI-RTOS for SimpleLink Wireless MCUs" package to exploit all the features supported by TI-RTOS. Currently, in order to support exercising the low power modes of the device, the power management framework has to be imported and adapted from the CC32xx SDK package. Built-in support to exercise low power modes in this package is planned to be available in future releases. 

Using TI-RTOS with CC32xx SDK

TI-RTOS for CC3xxx 2.01.00.03 has been used with CC3200 applications.

It can be installed from the link from the app center of CCS v6.0.1


SDK PreBuilt Binaries

The prebuilt binaries that are part of the SDK are built with TI-RTOS for CC3xxx 2.01.00.03 version of the TI-RTOS components.
Any of the following tool set can been used(for building the application binaries and the ti_rtos library) for TI-RTOS on CC3200 platform:
1. CCS version: CCSv6.0.1
2. IAR version: ARM v7.2 
3. GCC

In case any of these tools need to be downloaded, use the following paths:
CCS:
http://processors.wiki.ti.com/index.php/Category:Code_Composer_Studio_v6
IAR:
http://www.iar.com/Service-Center/Downloads/ 

Steps to build TI-RTOS configuration project:


1. CCS:
a) Import the ti_rtos_config project into CCS (ti_rtos_config\ccs folder). 
b) Right click and select the 'Rebuild All' option.
c) To change the version of TI-RTOS, the RTSC tab in the Build options needs to be used.

2. IAR:
a) Run the 'ti_rtos_config\ewarm\buildos-iar.bat' batch file to rebuild the configuration project for IAR. 
b) The 'CGTOOLS' macro in the batch file refers to the IAR installation path in the PC. 
c) The 'XDCTOOLS' macro is used to set the XDC tool set path used by TI-RTOS for building. 
d) The 'SYSBIOS' macro is used to set the TI-RTOS SYS/BIOS installation path. 
e) The above paths need to be modified to build a new TI-RTOS version. 

3. GCC:
a) The make file 'ti_rts_config\gcc\make' is to be used to rebuild the ti_rtos config project for GCC.
b) The 'tools\gcc_scripts\makedefs_ti_rtos' file defines the build macros.
c) The 'XDCTOOLS_INSTALLATION_DIR' macro is used to set the XDC tool set path used by TI-RTOS for building. 
d) The 'TIRTOS_INSTALLATION_DIR' macro sets the TI-RTOS installation directory. 
e) The 'BIOS_INSTALLATION_DIR' macro sets the SYS/BIOS installation directory for TI-RTOS. 
f) The above macros have to be updated to build the config project for a new TI-RTOS version. 


NOTE:
The 'Info Center-Get Time Application' application demonstrates building an application for TI-RTOS on IAR, GCC and CCS.

Steps to build a new application on CCS with TI-RTOS:


1. Import TI-RTOS project - For the application to work with TI-RTOS,  ti_rtos_config project needs to be imported into the application workspace. This projects can be found in CC3200-SDK under ti_rtos folder.

2. Add TI-RTOS as dependency - The application should add ti_rtos_config as dependency to enable the RTSC functionality in the project.

  

Dependency.jpg


3. Including TI-RTOS library - oslib project contains the OS adaptation layer files giving general wrapper functions around TI-RTOS function calls. Building this project  with the ti_rtos configuration gives a ti_rtos.a library which should be included in the project for using RTOS functionality in the project.

4. Registering Interrupts(if any) -  All interrupts have to be registered to the NVIC using the osi_IntRegister() call.(Please refer osi.c for details). This creates a Hwi in TI-RTOS for a hardware interrupt.

Note:

App.cfg present in the ti_rtos_config contains a common configuration files. The benefit of having a separate config project is that several applications can use the same configuration. This helps save on build times and allows a team to share a common configuration set up by a system integrator.


Notes:

  1. For building any of the TI-RTOS based applications, the ti_rtos_config project, which is a dependency project, has to be imported in the workspace.
  2. If choosing the RTSC platform in the ti_rtos_config package, the platform name has to ti.platforms.simplelink:CC3200.
  

TI-RTOS_2_1_0_3.JPG


  1. For hooking a function to the idle task(as in the examples using Power Management Framework), the following lines have to be added in app.cfg file in ti_rtos_config project.
var Idle = xdc.useModule('ti.sysbios.knl.Idle');
Idle.addFunc('&IdleHookFunction');

where IdleHookFunction() is the function that needs to be hooked to the idle task and may vary depending upon the application.

Archives

The latest software packages are the ones which are currently supported.

E2e.jpg

For technical support please post your questions at http://e2e.ti.com. Please post only comments about the article CC32xx TI-RTOS here.

Hyperlink blue.png

Links

Amplifiers & Linear
Audio
Broadband RF/IF & Digital Radio
Clocks & Timers
Data Converters

DLP & MEMS
High-Reliability
Interface
Logic
Power Management

Processors

  • ARM Processors
  • Digital Signal Processors (DSP)
  • Microcontrollers (MCU)
  • OMAP Applications Processors

Switches & Multiplexers
Temperature Sensors & Control ICs
Wireless Connectivity

Navigation menu

  • Log in
  • Request account

  • Page
  • Discussion

  • Read
  • View source
  • View history

  • Main Page
  • All pages
  • All categories
  • Recent changes
  • Random page
  • Help

Print/export

  • Create a book
  • Download as PDF
  • Printable version

Toolbox

  • What links here
  • Related changes
  • Special pages
  • Page information

建议您重新安装试试,我的是可以在APP center找到的

安装完成CCS后,在帮助里完成更新,更新完成后,在App 中心的页面,这个页面在软件里,找的后,如楼上说的页面就有。安装完成后即可。

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top