将LabVIEW移植到Tier 2 Texas Instruments Stellaris 微控制器上



主要软件:
主要软件版本: 1.0
主要软件修正版本: N/A
次要软件: N/A

问题: 我想在一款Texas Instruments Stellaris微控制器(Luminary 微控制器,非开发板上的芯片型号)上使用LabVIEW Embeded模块来开发,如何配置我的目标?

解答: 为了移植 LabVIEW Embedded Module for ARM Microcontrollers 到一个Texas Instruments Stellaris 微控制器(之前为Luminary Micro), 可能不必须根据Developer Zone Tutorial: LabVIEW Embedded for ARM Porting Guide - Chapter 1: Introduction.中NI推荐的移植流程来进行,可以用如下的移植流程来代替:
  1. 在LabVIEW中创建一个新ARM工程.
  2. 当需要选择目标类型时,选择Other.
  3. 选择Luminary Micro LM3S8962 Stellaris,这样会加载一个默认的模板
  4. 在工程中右击 LM3Sxxxx target 在后将处理器类型选成Luminary Micro LM3S8962 Stellaris.  这样你就有了一个Luminary Micro器件的通用模板.
  5. 如果你需要使用外部I/O ,右击LM3Sxxxx target 然后选择select elemental I/O.选择 LM3S8962 器件.
  6. 如果此时没有的话,创建一个程序生成规范.
  7. 右击程序生成规范之下的Application 然后选择Properties.
  8. 选择 Advanced Compiler 
  9. 添加一个处理器符号LM3S_PART_DEFINED PART_LM3Sxxxx
     xxxx 是你需要使用的型号编号.

注意: 为此目标建立的uVision工程将会假定flash存储区容量为256K,RAM为64K (为LM3S8962设置的).如果你需要的目标芯片的存储器容量不是这个,需要编辑你的uVision工程. 如果你使用的 Texas Instruments Stellaris 微控制器比LM3S8962新, 你可能需要更新支持软件. 更新软件的方法可以根据以下KB中的说明: KnowledgeBase 4YBA2IBN: Error: #20: Identifier is Undefined when Compiling for Texas Instruments (Formerly Luminary Micro) Stellaris

需要建立其他 Tier 2目标请看Developer Zone Tutorial: LabVIEW Embedded for ARM Porting Guide - Chapter 1: Introduction.

相关链接: Products and Services: NI LabVIEW Embedded Module for ARM Microcontrollers
Developer Zone Tutorial: LabVIEW Embedded for ARM Porting Guide - Chapter 1: Introduction
KnowledgeBase 4YBA2IBN: Error: #20: Identifier is Undefined when Compiling for Texas Instruments (Formerly Luminary Micro) Stellaris
Stellaris ARM Cortex-M3-based MCUs

附件:





报告日期: 06/12/2009
最近更新: 01/21/2013
文档编号: 4YB93HBN