From Scratch: Open CCS Exit and restart CCS Click Browse to create a new workspace directory.

Slides:



Advertisements
Similar presentations
Intro to WinHex CSC 414.
Advertisements

How to Import an Excel File Using the SAS Import Wizard SAS 9 for Windows.
Using Eclipse. Getting Started There are three ways to create a Java project: 1:Select File > New > Project, 2 Select the arrow of the button in the upper.
1 eclipse Tips. 2 What is eclipse? Eclipse is a popular IDE (Integrated Development Environment) that we will use to create, compile, execute, and test.
Unit 8- Windows Customization.  Backup & restore, update, power.
Rachelle Howell The University of Texas at Austin.
Michael Donovan, River Campus Libraries – 12/03 DocuShare Overview and Training.
ECE 353 WinAVR and C Debugging Tutorial By Adam Bailin ECE 353 Fall ‘06.
1 of 6 This document is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS DOCUMENT. © 2007 Microsoft Corporation.
LAUNCHXL2-RM57L – Project 0
Adding metadata to intranet documents Please note: this is a temporary test document for use in internal testing only.
Find your video on youtube e.g. Place the work ‘kick’ in the url.
BoardMaker Ver 6 Creating Interactive Activities for the Classroom.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS April 2013 Control System Studio Training - Workspaces, Shared.
Renesas Technology America Inc. 1 M16C/Tiny SKP Tutorial 2 Creating A New Project Using HEW4.
MagicInfo Pro Server Software All control, content, and scheduling is performed within the MagicInfo Pro Server software previously installed. Before.
Back to content Final Presentation Mr. Phay Sok Thea, class “2B”, group 3, Networking Topic: Mail Client “Outlook Express” *At the end of the presentation.
Eclipse Overview Introduction to Web Programming Kirkwood Continuing Education Fred McClurg © Copyright 2015, Fred McClurg, All Rights Reserved.
ICP Kit 2011 HHC Data Entry Module The World Bank ICP Kit Training African Development Bank.
Introduction to Android. Android as a system, is a java based operating system that runs on the Linux kernel. The system is very lightweight and full.
1 IMPORTANT NOTE  IMPORTANT NOTE not  As of this writing the default project you will download, import and use in this class is not enabled for Tomcat.
When you start Photo Story the title screen gives you three options. The following slides will illustrate the directions when “Begin a new story” has been.
CHAPTER 9 Introducing Microsoft Office Learning Objectives Start Office programs and explore common elements Use the Ribbon Work with files Use.
Intro to C++. Getting Started with Microsoft Visual Studios Open Microsoft Visual Studios 2010 Click on file Click on New Project Choose Visual C++ on.
MLC CAD Systems Introducing… Presented by: John McCord How to customize.
Office of Education Technology (OET) Active Directory Bulk Import Saturday March 11, 2006 /8:30 – 10:30 AM.
Alice 2.0 Introductory Concepts and Techniques Project 1 Exploring Alice and Object-Oriented Programming.
File Management Presented to The Glades Computer Club January 4, 2001.
Renesas Technology America Inc. 1 SKP8CMINI Tutorial 2 Creating A New Project Using HEW.
®® Microsoft Windows 7 for Power Users Tutorial 4 Creating and Customizing Shortcuts.
1. Profile settings 2. Messaging system 3. Downloading files 4. Uploading files 5. Creating groups 6. Calendar events.
Active-HDL Interfaces Debugging C Code Course 10.
Lecture Set 2 Part A: Creating an Application with Visual Studio – Solutions, Projects, Files.
SVN in Eclipse Presented by David Eisler 10/09/2014.
Project Deployment IT [211 CAP] How to convert your project to a full application.
Setting Up Eclipse. What is Eclipse? Eclipse is a free, downloadable software that allows us to create, compile, and run JAVA programs.
Android Hello World 1. Click on Start and type eclipse into the textbox 2.
Using Microsoft Visual Studio 2005 Original by Suma Rao Revised by John G. McMahon ( 9/6/2008 )
Using Microsoft Visual Studio C++ Express 2005 Name: Dr Ju Wang Ashwin Belle Course Resource:
Renesas Technology America Inc. 1 M16C Seminars Lab 3 Creating Projects Using HEW4 14 March 2005 M16C Seminars Lab 3 Creating Projects Using HEW4 Last.
Using This PowerPoint This PowerPoint presentation assumes your Computer Science teacher has provided you with the InstallingJava folder, which contains.
ProjectWise 101 Chapter 5 – Reference Files Gary Cochrane – Technical Director Geospatial Sales – North America.
Renesas Technology America Inc. 1 SKP8CMINI Tutorial 2 Creating A New Project Using HEW.
Lecture Set 2 Part A: Creating an Application with Visual Studio – Solutions, Projects, Files 8/10/ :35 PM.
Open project in Microsoft Visual Studio → build program in “Release” mode.
Subscribers – List Model
If you don’t have Google Earth downloaded already, you can go to to get it.
Creating New Forms Projects can appear more professional when using different windows for different types of information. Select Add Windows Form from.
IE 411/511: Visual Programming for Industrial Applications Lecture Notes #2 Introduction to the Visual Basic Express 2010 Integrated Development Environment.
Customize Your View of Data Training Presentation for Supply Chain Platform: BAE Systems May 2015.
Using a set-up file to read ASCII data into Stata
Workshop Setup The software/hardware used in this workshop are:
June 17, 2009 Office 2007 Tips & Tricks.
Course Objectives After completing this course, you should be able to:
DRAWING LINES To draw lines click View in the Main Menu Toolbar -> Toolbars and check the Editor option. The Editor toolbar will appear amongst the toobars.
2 At the top of the zone in which you want to add the Web Part, click Add a Web Part. In the Add Web Parts to [zone] dialog box, select the check box of.
2 At the top of the zone in which you want to add the Web Part, click Add a Web Part. In the Add Web Parts to [zone] dialog box, select the check box of.
Windows file management
PRU-ICSS Programming with CCS
Crouzet touch Quick start.
Setting up Eclipse Locally
1. Open Visual Studio 2008.
Starting a project in VisualDSP++
JCreator Settings Only
Electronics II Physics 3620 / 6620
Windows file management
Software Setup & Validation
ECE 3567 Microcontrollers Lab
Presentation transcript:

From Scratch: Open CCS Exit and restart CCS Click Browse to create a new workspace directory

From Scratch: Create a new directory Navigate to StellarisWare\Boards “Make a New Folder” for your board –Even if using a Stellaris board this keeps the StellarisWare folder pristine for later reference. –Keeping this new folder in StellarisWare\boards preserves relative path for easier cut\paste After creating the new folder make sure the dialog is referencing the folder you created. Click OK

From Scratch: Workspace Launcher We now are pointing to our new workspace folder. When you click OK, CCS looks if a workspace is already there. If not it creates some workspace files for us.

From Scratch: CCS Welcome Screen If the workspace was empty you will see the black screen below –Click cube at top right to proceed to workspace The next time you open any workspace CCS will remember the workspace state and restore it.

From Scratch: Import Driverlib You should now have an empty workspace… Now we set up as we did in Quickstart… Select Project -> Import Existing…

From Scratch: Import Driverlib

From Scratch: Import DriverLib Root directory StellarisWare\driverlib –Project driverlib Repeat for StellarisWare\usblib –Not Required for Today’s Training Repeat for StellarisWare\grlib –Not Required for Today’s Training Do not check copy projects into workspace

From Scratch: Create New Project Select File->New->CCS Project

From Scratch: Create New Project Provide a project name Default location is good –CCS will create a project directory within the workspace directory Click Next

From Scratch: Create New Project Select CCS ARM tool chain. Note: Same CCS installation also supports MSP430 and C2000 Must get either the eval kit edition or the full edition of CCS –Code size limited versions do not work with Stellaris Click Next

From Scratch: Create New Project Select driverlib to show that the new project will reference that project. Click Next to proceed to project settings dialog

From Scratch: Create New Project Be sure to select Cortex M and the appropriate Stellaris device from the drop downs Then click finish Other options should be left as default

From Scratch: Add new source files Click File->New->Source File

From Scratch: Add New Source Files Keep the new source file in the default folder and provide a name. –This associates the new file with the active project The first file is the startup code. Typical filename in StellarisWare is startup_ccs.c Click Finish Repeat previous steps to add another new source file called blinky_real.c StellarisWare convention is that.c file with same name as the project contains main function –blinky_real.c

From Scratch: Add New Source Files Workspace now contains two projects –driverlib: Stellarisware –blinky_real: our empty project with empty source files

From Scratch: Open Reference Files File->Open File… Navigate to StellarisWare\boards\ek- lm3s9b90 Use CTRL+click to select blinky.c and startup_ccs.c Click Open to finish opening the files.

From Scratch: Copy Reference Files Copy and Paste all of blinky.c –CTRL+A, CTRL+C, move focus to blinky_real.c, CTRL+V Copy and Paste ALL of startup_ccs. Alternately can copy the files to the new project directory, then right click on the project name in CCS and select “Add files to project” Once the copy and paste is complete close the reference files that are not a part of the new project Save the files that have just been modified and are part of the new project

From Scratch: Target Configuration Select Target->New Target Configuration – CCS has our source but now we must tell it how to talk to our chip.

From Scratch: Target Configuration Name the new configuration “target_config.ccxml”

Target Configuration Select “Stellaris In-Circuit Debug Interface” and “Stellaris LM3S9B90” Click Save Button

From Scratch: Project Properties Click “Project” then ”Properties”

From Scratch: Project Properties Tool Settings->TMS470 Compiler->predefined symbols By default should have ‘ccs’ and ‘PART_LM3S9B90’ listed as predefined symbols For Tempest class devices such as the 9000 series add “TARGET_IS_TEMPEST_RB1” Tempest C3 also requires CCS Debugger DLL update. –Not required for eval kits currently using B1 silicon

Tool Settings->TMS470 Compiler->Include Options Add these include paths… –${PROJECT_ROOT}/.. –${PROJECT_ROOT}/../../.. From Scratch: Project Properties

Tool Settings->TMS470 Linker->File Search Path Add include library “${PROJECT_ROOT}/../../../driverlib/ccs/Debug/driverlib.lib”

From Scratch: Project Properties Select “Build Steps” Tab Add a Post-Build step to convert CCS output to binary for use by LMFlashProgrammer Copy/Paste from relevant example project (multiple CCS windows may be open at once) Click Apply Then OK. This makes permanent all the previous changes "${CCE_INSTALL_ROOT}/utils/tiobj2bin/tiobj2bin.bat“ "${BuildArtifactFileName}“ "${BuildArtifactFileBaseName}.bin" "${CG_TOOL_ROOT}/bin/ofd470.exe” "${CG_TOOL_ROOT}/bin/hex470.exe" "${CCE_INSTALL_ROOT}/utils/tiobj2bin/mkhex4bin.exe"

From Scratch: Build Project You should now have a complete new project that compiles cleanly

From Scratch: Debug Project Your new “from scratch” project should now debug and run just like the example project we started with in the previous workspace.