DOC PREVIEW
UNCC ECGR 4101 - Syllabus

This preview shows page 1 out of 2 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 2 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 2 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

ECGR4101/5101, Fall 2006: Lab 2Testing the SKP16C62P Board & Building a Simple M30626 ProgramLearning ObjectivesGeneral InformationPrelab ActivityLaboratory AssignmentsLab ReportECGR 4101/5101 – Lab 2 Fall 2006ECGR4101/5101, Fall 2006: Lab 2Testing the SKP16C62P Board & Building a Simple M30626 ProgramLearning ObjectivesThis lab will help you demonstrate how to build a project and load the executable onto the SKP16C62P board.General InformationThe general steps for this lab are:1. Test your board with the pre-loaded test program. If is not pre-loaded, download the program.2. Compile the SKP16C62P test program to your board, download and run.3. Using TM generate a new project. Modify the demo program with the requirements.4. Build the project and load onto your board. Run the program and observe the operation.5. Demonstrate for a TA and turn in a lab report.Prelab ActivityYou may use the PCs in SciTech 203 or your own PC to do this lab experiment. However, you mustload one of the machines in SciTech 203 with these software tools. If you want to work on lab assignments on your own PC, then load the tools on your PC to perform this exercise. To load the tools, insert the CD in your machine and follow the instructions. You do not need to load the IAR tools on the machines.After you load the PC, attach the board to the PC and follow the USB driver installation instructions.Test the board by attaching your board to the computer with the USB. Power-up the daughter board. Ensure the LCD displays “Renesas Technology”. Turn the right-hand potentiometer and verify the display changes and the LED speed changes.Prelab Questions1. Where should your “working directory” be located when using lab computers?2. How many lines do the development tools allow in a C source file?3. Where is the first place to look for help with labs in this class? Laboratory Assignments1. Follow the instructions on the QuickStart Guide, numbers 4 and 5. Note carefully the steps required to build a program, download, and debug a program. Note the change of behavior of the board.2. You will next build a new project based on the “demo” (on QuickStart Guide step 4e, choose“demo” instead of “test”). Download and run this new code. Note the change of behavior of the board. 1ECGR 4101/5101 – Lab 2 Fall 20063. In the project editor, choose main_skpdemo.c as the file to edit. You will need to change the program in three areas for these new requirements:a. Instead of flashing the lights G -> Y -> R -> Y -> G, change it to the sequenceG -> R -> Y -> G -> R -> Y -> -> G -> . . . . .This will require you to change some code.b. Keep all other code the same.c. In the file header comments (bottom of comments), add a few lines stating your name, date changed, and values changed.d. In the procedure that changed, add a line or two of comments stating the changes.4. Save the file.5. Now use the rebuild button on the toolbar to rebuild the project. This will pull up the builder and show the status as the project is cleaned and rebuilt using the updated files. The memory should be adjusted for the added lines of code.6. Reload the software onto the boards and test. Verify that the new functionality works as specified.7. Complete your lab report.8. Bring the new board to the lab TA and demonstrate the new code (without the HEW application running). When the TA checks your board, he will also take your lab report. You will not need to include a printout or soft copy all of the code – just “snippets”.Lab ReportInclude in the checkout part of your lab report the lines:1. LEDs flashing as specified ________2. Other functionality works as in original code. ________Include in your lab report observations and procedure like the following:The general learning objectives of this lab were . . . The general steps needed to complete this lab were . . . Some detailed steps to complete this lab were . . . . 1. Step one2. Step two3. . . . . Code generated or modified to complete this lab...No need to include all the files for the lab. Just include the modified code. Some important observations while completing/testing this lab were . . . Here include the memory report given at the end of the compile process.In this lab we learned . . . .


View Full Document

UNCC ECGR 4101 - Syllabus

Documents in this Course
Load more
Download Syllabus
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Syllabus and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Syllabus 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?