DSP/BIOS Workshop

Transcription

DSP/BIOS Workshop
DSP/BIOS
System Integration
Workshop
D SP
TEXAS INSTRUMENTS
TECHNOLOGY
Copyright © 2004 Texas Instruments. All rights reserved.
1
BIOS System Integration Workshop

Objectives

Agenda

Admin Topics

Introductions

EVM Overview

Lab
D SP
TEXAS INSTRUMENTS
TECHNOLOGY
2
Workshop Objectives




Define key software design challenges in
developing real-time systems
Demonstrate essential skills in the use of
Code Composer Studio (CCS) in
authoring a real-time system
Identify and apply the optimal DSP/BIOS
constructs to implement a given realtime system
Analyze and optimize a software solution
to meet real-time requirements
D SP
TEXAS INSTRUMENTS
TECHNOLOGY
3
Beyond the Scope of this Workshop

DSP Theory

Specific processor architectures


Offered in optimization workshop

Available in TI technical publications
OS Theory or authoring
D SP
TEXAS INSTRUMENTS
TECHNOLOGY
4
Recommended Prerequisites

Familiarity with coding in C language

Experience with software development and
programming methodologies

Familiarity with CCS development tool

Helpful - familiarity with:

C6x Processor Architectures

Object-oriented programming methodologies
D SP
TEXAS INSTRUMENTS
TECHNOLOGY
5
BIOS System Integration Workshop

Objectives

Agenda

Admin Topics

Introductions

EVM Overview

Lab
D SP
TEXAS INSTRUMENTS
TECHNOLOGY
6
BIOS System Integration Workshop - Agenda
D SP
TEXAS INSTRUMENTS
TECHNOLOGY
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
Introduction
Real-Time System Design Considerations
Hardware Interrupts (HWI)
Software Interrupts (SWI)
Task Authoring (TSK)
Data Streaming (SIO)
Multi-Threading (CLK, PRD)
BIOS Instrumentation (LOG, STS, SYS, TRC)
Static Systems (GCONF, TCONF)
Cache (BCACHE)
Dynamic Systems (MEM, BUF)
Flash Programming (HexAIS, Flashburn)
Inter-Thread Communication (MSGQ, ...)
DSP Algorithm Standard (XDAIS)
Input Output Mini-Drivers (IOM)
Direct Memory Access (DMA)
Review
7
BIOS System Integration Workshop

Objectives

Agenda

Admin Topics

Introductions

EVM Overview

Lab
D SP
TEXAS INSTRUMENTS
TECHNOLOGY
8
Administrative Topics

Start & End Times

Lunch (special diets?), Breaks

Labs & Lab Partners

Course Materials

Name Tags

Restrooms

Phone

Mobile Communications
Please disable ring tones on cell phones
D SP
TEXAS INSTRUMENTS
TECHNOLOGY
9
BIOS System Integration Workshop

Objectives

Agenda

Admin Topics

Introductions

EVM Overview

Lab
D SP
TEXAS INSTRUMENTS
TECHNOLOGY
13
Introductions


About You

Name & Company

Application

Prior DSP experience (or other uP)

Previous operating system experience

Expectations and specific interests
About The Instructor(s)...
D SP
TEXAS INSTRUMENTS
TECHNOLOGY
14
Questionnaire
In the table below, for each topic please rank your relative prior experience and your current
interest (need to learn) on a 0 (low) to 9 (high) point scale
Experience Interest
------
------
------
------
Topic
Real-Time System Considerations
Hardware – General
DSP Architecture: which ones?_______________
GPP Processor: which ones? _______________
Hardware (Board) Design
Drivers
Software – General
ASM Coding
C Coding
C++ / OOP
Code Composer Studio
DSP Algorithm Standard
DSP/BIOS (check which you’ve used before:)
-  SEM  TSK  SWI  PIP  SIO  MEM
other RTOS: which ones? ___________________
Real-Time System Overview
D SP
TEXAS INSTRUMENTS
TECHNOLOGY
15
BIOS System Integration Workshop

Objectives

Agenda

Admin Topics

Introductions

EVM Overview

Lab
D SP
TEXAS INSTRUMENTS
TECHNOLOGY
16
TMS 320 DM 6437 EVM
DIP Switches
LEDs
Line In
USB Port
Power
Headphone
D SP
TEXAS INSTRUMENTS
TECHNOLOGY
17
EVM Resets

CCS reset





Reset button



Use most commonly – fast and easy
Invoked via: Debug -> DSP Reset
Resets DSP (not full board)
May not clear all states required for ‘clean’ new debug session
More extensive reset operation, still not comprehensive
OK to assert when CCS (3.1 or higher) is running
Absolute reset


Provides completely ‘fresh’ starting point
 Disconnect CCS from target : <alt>C
 Remove Power and USB plugs
 Re-connect CCS to the target : <alt>C
Best choice to be sure a full reset is obtained
D SP
TEXAS INSTRUMENTS
TECHNOLOGY
18
BIOS System Integration Workshop

Objectives

Agenda

Admin Topics

Introductions

EVM Overview

Lab
D SP
TEXAS INSTRUMENTS
TECHNOLOGY
19
Lab 1 - Objectives
CCS
Software
Hardware

Run CCS Setup

Hook up the EVM

Start CCS

Supply power

Configure CCS Options

Component Manager

Close CCS
D SP
TEXAS INSTRUMENTS
TECHNOLOGY
Time: 20 minutes
20
CCS Component Manager
New to CCS 3.1 and
beyond : allows selection
of many CCS components
such as BIOS, simulator,
profiler, etc
21
Technical Training
Organization
ti
22
Implicit Function Warning

Tip: Add “-pdsw225” to your compiler options
and save yourself loads of time!!! You may also
want to use “-pdr” to see remarks.
// main.c
void main()
{
printf(“Hello world!\n”);
}
Also recommended

Similar documents