Fall 2008 CMPE 401 - Tutorial

Introduction to NBEclipse, Mttty and CVS


Lab Dates:

Please refer to the Lab Web Page and Lab Schedule for lab dates.

Report and Demo Due Dates:

Please refer to the Lab Web Page and Lab Schedule for all due dates.

Objectives:

Introduction

NBEclipse

The integrated development environment (IDE) used in CMPE401 is called NBEclipse and is provided by Netburner. NBEclipse is a customized version of the Eclipse IDE specifically targeted at our Coldfire 5234-based boards. It includes a rudimentary editor, a debugger, a CVS plugin and many other tools that automate the process of developing, writing to flash memory, and running code.

Concurrent Version System (CVS)

Software developers need tools to manage source code when many developers are working concurrently on the same project. Many code management systems exist and in CMPE401, we'll be using a well known tool, CVS . You will be getting all of your provided code from an anonymous CVS server and checking in your code solutions to an authenticated server. The CVS plugin provided with NBEclipse will be used to interact with the anonymous and student CVS repositories.

Mttty

The Netburner boards come with a Netburner-provided monitor in flash memory. This monitor provides features that allow code to be downloaded to the board and then executed. It also has some limited debugging aids like displaying the contents of memory locations and CPU registers. A serial communications application is used to send commands to the monitor. We'll be using Mttty for viewing the monitor commands and stdio output.

Tutorial Code

The code provided for this tutorial displays a trailing pattern on the LEDs and an incrementing pattern between zero and nine on the seven segment display. The software running on the board has also been configured to generate a toggling signal at every tick (i.e. heartbeat) of the operating system timer as well as a toggling signal on task context switches. The heartbeat is available on pin J2[44] and the context switch on pin J2[42]. No coding is required in this tutorial. The code provided to you in this tutorial can be used in later laboratory sessions as a simple "sanity check".

Instructions:

Retrieve, and Build a Project from CVS