Code Composer Studio. MSP Project Setup

Similar documents
Tool Setup. Code Composer Studio

Using Code Composer Studio IDE with MSP432

Getting Started with the Texas Instruments ez430

F28069 ControlCard Lab1

Lab 0 Introduction to the MSP430F5529 Launchpad-based Lab Board and Code Composer Studio

ECGR 4101/5101, Fall 2016: Lab 1 First Embedded Systems Project Learning Objectives:

F28335 ControlCard Lab1

F28027 USB Stick Lab1_3

ECE2049 Embedded Computing in Engineering Design. Lab #0 Introduction to the MSP430F5529 Launchpad-based Lab Board and Code Composer Studio

Register Access. Common - Last updated 7/25/18

Getting Started in C Programming with Keil MDK-ARM Version 5

Introduction. Key features and lab exercises to familiarize new users to the Visual environment

Scope. Scope. Region of a program in which a defined object is visible. Defined Objects. Two types of regions. Variables Functions

Getting Started in C Programming with Keil MDK-ARM Version 5

Lab 1: Introduction to C Programming. (Creating a program using the Microsoft developer Studio, Compiling and Linking)

Getting Started with Energia for MSP432 LaunchPad

Lab Objectives. 2. Preparations. 3. Signing in. 4. Examining the Host Environment. 5. Part A: Introduction to AVR Studio. 5.

Lab 4: Introduction to Programming

COMP2121 Introductory Experiment

Getting Started in C Programming with Keil MDK-ARM Version 5

As CCS starts up, a splash screen similar to one shown below will appear.

EE289 Lab Spring 2012

Texas Instruments Mixed Signal Processor Tutorial Abstract

Timer 32. Last updated 8/7/18

Embedded Systems - FS 2018

esi-risc Development Suite Getting Started Guide

Embedded Systems - FS 2018

Download Program. Setup ROBOTC. task main() { motor[motorc] = 100; wait1msec(3000);

Scope & Register Access

CST8152 Compilers Creating a C Language Console Project with Microsoft Visual Studio.Net 2010

As CCS starts up, a splash screen similar to one shown below will appear.

Embedded Systems - FS 2018

Eclipse CDT Tutorial. Eclipse CDT Homepage: Tutorial written by: James D Aniello

Create and Add the Source File

APPENDIX A. CODE COMPOSER STUDIO (CCS) v5: A BRIEF TUTORIAL FOR THE DSK6713

'C/C++' Project/Code Tutorial for Code Composter Studio (CCS)

MSP430 Interface to LMP91000 Code Library

Code Composer Studio Operation Manual

RTMS - Software Setup

Creating a new CDC policy using the Database Administration Console

MSP430 Interface to LMP91000 Code Library

MODEL-BASED DEVELOPMENT -TUTORIAL

BASICS OF THE RENESAS SYNERGY TM

Migrating from CubeSuite+ to Eclipse RL78 Family

QUICKSTART CODE COMPOSER STUDIO Stellaris Development and Evaluation Kits for Code Composer Studio

System Framework Overview Guide and Instructions on How to Use the Template Projects

6L00IA - Introduction to Synergy Software Package Short Version (SSP v1.2.0) Renesas Synergy Family - S7 Series

Hello, welcome to this brief tutorial on accessing and playing Adobe Presenter video files.

ECE2049 Homework #2 The MSP430 Architecture & Basic Digital IO (DUE Friday 9/8/17 at 4 pm in class)

INSTRUCTIONS FOR SETTING UP ROACH SOFTWARE IN MPLAB-X

Note that FLIP is an Atmel program supplied by Crossware with Atmel s permission.

F&S Introduction to Eclipse

CST8152 Compilers Creating a C Language Console Project with Microsoft Visual Studio.Net 2005

Using Eclipse for C Programming

Freescale Semiconductor Inc. Vybrid DS-5 Getting Started Guide Rev 1.0

Workbench V Integrated Development Environment for Renesas Capacitive Touch

MEM MEM Control Applications of DSP. Lab 2. Project Creating & GPIO DSP28355 & CCSv5

INSTRUCTIONS FOR SETTING UP ROACH SOFTWARE IN MPLAB-X

Carleton University Department of Systems and Computer Engineering SYSC Foundations of Imperative Programming - Winter 2012

For additional information, please consult the Read-Me and Help documentation or contact Electro-Voice or Dynacord technical support.

Building an Embedded Processor System on Xilinx NEXYS3 FPGA and Profiling an Application: A Tutorial

RVDS 4.0 Introductory Tutorial

DOMAIN TECHNOLOGIES. Getting Started Guide Version 1.1. BoxView IDE. Integrated Development Environment

Exercise: PWM Generation using the N2HET

BASICS OF THE RENESAS SYNERGY PLATFORM

XMC4700/XMC4800 RelaxKit HelloWorld (USB)

Section 2: Getting Started with a FPU Demo Project using EK-LM4F232

Using Eclipse for Java. Using Eclipse for Java 1 / 1

Installing Eclipse CDT and MinGW

Labs instructions for Enabling BeagleBone with TI SDK 5.x

UNic Eclipse Mini Tutorial (Updated 06/09/2012) Prepared by Harald Gjermundrod

Writing Code and Programming Microcontrollers

Optional Eclipse Workspace Configurations

TMS320C5502 ezdsp Quick Start Guide

Software Setup and Introductory Assembly programs for the MSP430 *

Conventions in this tutorial

Moses Jones Application Note ECE 480 Design Team 7 Programming Altimeters. Using MSP 430 Launch Pad 11/8/2013

Using Eclipse for C, MPI, and Suzaku

Mechatronics Laboratory Assignment #1 Programming a Digital Signal Processor and the TI OMAPL138 DSP/ARM

CPE 323: Laboratory Assignment #1 Getting Started with the MSP430 IAR Embedded Workbench

Quick Start Guide for mbed enabling Freescale FRDM-KL25z Freedom board

HOW TO USE CODE::BLOCKS IDE FOR COMPUTER PROGRAMMING LABORATORY SESSIONS

Spartan-6 LX9 MicroBoard Embedded Tutorial. Tutorial 1 Creating an AXI-based Embedded System

Module 3: Working with C/C++

To install the Texas Instruments CCS Compiler, follow these steps: 1. Go to the TI Wiki page (

Copyright 2015 by Stephen A. Zajac & Gregory M. Wierzba. All rights reserved..spring 2015.

Codewarrior for ColdFire (Eclipse) 10.0 Setup

Section Objective: Acquaint with specifications of Launchpad Acquaint with location of switches, LEDs, power-on switch, powering the board.

Embedded Systems - FS 2018

SquareWear Programming Reference 1.0 Oct 10, 2012

STM32 Ecosystem Workshop. T.O.M.A.S Team

Setting up the PC ready for BESA 11

1.2 - Introduction to the IAR Workbench IDE *

Hands-On with STM32 MCU Francesco Conti

Code Composer Studio Development Tools v3.3. Getting Started Guide

Arrays. C Types. Derived. Function Array Pointer Structure Union Enumerated. EE 1910 Winter 2017/18

You have a PC with a USB interface, running Microsoft Windows XP (SP2 or greater) or Vista You have the Workshop Installation Software Flash Drive

Code Composer Studio IDE Getting Started Guide. User's Guide

Code::Blocks Student Manual

The board contains the connector for SWD bus to implement SWD method of programming. Fig. K190 VDD 2 GND 4

Transcription:

Code Composer Studio MSP Project Setup

Complete the installation of the Code Composer Studio software using the Code Composer Studio setup slides Start Code Composer Studio desktop shortcut start menu install_dir/code Composer Studio x.x.x 2 tj

Select a workspace This is where your CCStudio information is stored I suggest you choose and create a personal folder do not put the workspace in the install directory NO SPACES ALLOWED ANYWHERE IN THE PATH 3 tj

Close the getting started window 4 tj

5 tj

Select file -> new -> CCS Project 6 tj

Select MSP432 Family in the Target window Expand the pulldown to select MSP432P401R 7 tj

Type in a project name (NO SPACES ALLOWED) Select Empty Project in the Project Templates Finish 8 tj

Project explorer now has your project listed The view should default to CCS Edit CCS uses different views to support various development environments CCS views will be used for the MSP432 C/C++ views will be used for console programs The same button e.g debug will do different things in different views 9 tj

In order to debug ISRs we need to enable them in each project Project -> Properties -> Debug-> Program Memory Load Options Uncheck the 3 boxes under Disable Interrupts 10 tj

Create a new C source file Make sure your project is highlighted in the explorer window File -> New -> C Source File 11 tj

Provide a file name You must include the xxxxx.c extension NO spaces It is common to use an underscore _ instead of spaces Select Default C source template in the Template pulldown 12 tj

The new file will be opened with a short comment section included at the top 13 tj

Type the following into the new file Do not try to copy and paste Microsoft adds hidden characters Save /* * blink.c * * Created on: Jun 28, 2017 * Author: Tim */ ////////////////////////////////////////////////// // // Our version of blink.c // ////////////////////////////////////////////////// // Includes #include "msp.h" #include <stdio.h> // Global Variables // Function Prototypes int main(void) { // Local Variables volatile uint32_t i; // 32 bit required due to counter > 65,535 // Board Setup WDT_A->CTL = 0x5A00 0x80; // Stop watchdog timer // Note: Port 1, bit 0 (P1.0) is one of the on board LEDs P1->DIR = 0x01; // Configure P1.0 as output // Greeting code printf("!! Hello EE2920!!\n"); // Blink and Print Code while(1) { // Blink LED P1->OUT ^= 0x01; // Toggle P1.0 // Print to console if(p1->out & 0x01) printf("on\n"); else printf("off\n"); // Delay so we can see blinking for(i=100000; i>0; i--) // Delay ; } // end while return 0; } // end main 14 tj

Select Project -> Build Project This compiles, assembles, and links the program Check the console for errors Due to the while(1): return is not reachable 15 tj

Plug your MSP432 board into your computer via the USB port It may still have the original factory blink program running 16 tj

Select the debug icon The windows will change to CCS Debug mode This downloads the program onto the board and establishes an active communications link between the board and Code Composer 17 tj

CCS Debug the program is paused at the beginning (main) 18 tj

Select run (green arrow) This causes the program to continue 19 tj

Check the on-board LED The on board LED will be blinking Check the console window of CCStudio The console will display our greeting message followed by on off on off 20 tj

Stop the program (red square) The window returns to CCS Edit mode The LED continues to blink The program continues to run on the board The console quits updating The communications link is broken 21 tj

The next time you power up the board the last program you downloaded will be running Unplug the USB Quit Code Composer Plugin the USB the LED will start blinking 22 tj