Example project with Cortex M3 and BIOS6

From Texas Instruments Embedded Processors Wiki

Jump to: navigation, search
Translate this page to   

Stop.PNG IMPORTANT! This page contains some outdated information. More up-to-date references can be found in the CCS, SYSBIOS and Stellaris categories.

This page is intended to describe how to create a DSP/BIOS project for the new Cortex M3 devices using CCSv4.

Contents

Introduction

With the recent incorporation of Stellaris® microcontroller product line, there is an instant need to get help and information about support for this family. The information below is intended to be a helper for developers interested in know more about how to start development using CCSv4. This page is continuously being updated as support is being added everyday. It should be checked regularly.

Requirements

References

Creating projects and configuring targets in CCSv4: Demonstrating_CCS

Creating custom targets when using CCSv4: Creating_Custom_Target_Configurations

Reference about Simulators: Simulation

To know more about TI support for ARM cores check: ARM_Code_Generation_Tools_v4.4.x

Creating a sample DSP/BIOS project in CCSv4

Generic information on how to create a simple Hello world project in CCSv4 can be found in the first reference, however the steps below show an specific example for Cortex M3 with DSP/BIOS support added to it.

Creating a new project

Building and running the project

#0000000001 [t=0x05fe0d40] ti.sysbios.knl.Task: LM_switch: oldtsk: 0x0, oldfunc: 0x0, newtsk: 0x20000008, newfunc: 0x221
#0000000002 [t=0x05fe0d40] xdc.runtime.Main: tsk0 Entering. arg0,1 = 1 2
#0000000003 [t=0x05fe0d40] xdc.runtime.Main: tsk0 Calling Task_yield
#0000000004 [t=0x05fe0d40] ti.sysbios.knl.Task: LM_yield: tsk: 0x20000008, func: 0x221, currThread: 2
#0000000005 [t=0x05fe0d40] ti.sysbios.knl.Task: LM_switch: oldtsk: 0x20000008, oldfunc: 0x221, newtsk: 0x20000860, newfunc: 0x2ed
#0000000006 [t=0x05fe0d40] xdc.runtime.Main: tsk1 Entering. arg0,1 = 11 12
#0000000007 [t=0x05fe0d40] xdc.runtime.Main: tsk1 Calling Semaphore_pend
#0000000008 [t=0x05fe0d40] ti.sysbios.knl.Task: LM_switch: oldtsk: 0x20000860, oldfunc: 0x2ed, newtsk: 0x200010b8, newfunc: 0x409
#0000000009 [t=0x05fe0d40] xdc.runtime.Main: tsk2 Entering. arg0,1 = 21 22
#0000000010 [t=0x05fe0d40] xdc.runtime.Main: tsk2 Calling Task_yield
#0000000011 [t=0x05fe0d40] ti.sysbios.knl.Task: LM_yield: tsk: 0x200010b8, func: 0x409, currThread: 2
#0000000012 [t=0x05fe0d40] ti.sysbios.knl.Task: LM_switch: oldtsk: 0x200010b8, oldfunc: 0x409, newtsk: 0x20000008, newfunc: 0x221
#0000000013 [t=0x05fe0d40] xdc.runtime.Main: tsk0 Exiting
#0000000014 [t=0x05fe0d40] ti.sysbios.knl.Task: LM_switch: oldtsk: 0x20000008, oldfunc: 0x221, newtsk: 0x200010b8, newfunc: 0x409
#0000000015 [t=0x05fe0d40] xdc.runtime.Main: tsk2 Exiting
#0000000016 [t=0x05fe0d40] ti.sysbios.knl.Task: LM_switch: oldtsk: 0x200010b8, oldfunc: 0x409, newtsk: 0x200041b8, newfunc: 0x6035
#0000000017 [t=0x05fe0d40] xdc.runtime.Main: Entering idl0Fxn.
#0000000018 [t=0x05fe0d40] ti.sysbios.knl.Task: LM_switch: oldtsk: 0x200041b8, oldfunc: 0x6035, newtsk: 0x20000860, newfunc: 0x2ed
#0000000019 [t=0x05fe0d40] xdc.runtime.Main: tsk1 Exiting
#0000000020 [t=0x05fe0d40] ti.sysbios.knl.Task: LM_switch: oldtsk: 0x20000860, oldfunc: 0x2ed, newtsk: 0x200041b8, newfunc: 0x6035
#0000000021 [t=0x05fe0d40] xdc.runtime.Main: Calling System_exit

Known issues and limitations

--Rsjsouza 18:19, 18 May 2009 (CDT)

E2e.jpg For technical support please post your questions at http://e2e.ti.com. Please post only comments about the article Example project with Cortex M3 and BIOS6 here.
Hyperlink blue.png Links
ARM Microcontroller MCU ARM Processor Digital Media Processor Digital Signal Processing Microcontroller MCU Multi Core Processor
Ultra Low Power DSP 8 bit Microcontroller MCU 16 bit Microcontroller MCU 32 bit Microcontroller MCU

Leave a Comment
Personal tools
Namespaces
Variants
Actions
Navigation
Print/export
Toolbox