ELEC3050 HCS12 Lab1

ELEC3050 HCS12 Lab1 - ELEC 3040 Electrical System Design...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
ELEC 3040 – Electrical System Design Lab ELEC 3050 – Embedded System Design Lab Lab Session 1 – Project Creation and Debugging The objective of this laboratory session is to become familiar with the process for creating, executing and debugging application programs with the CodeWarrior Development Studio for the Freescale MC9S12C32 microcontroller, which is mounted on a Wytec “DragonFly12 Plus” development module. Two “projects” will be created and tested, one in assembly language and the other in C. This will demonstrate the basic setup of an application project in each language, as well as the process for transferring the program to the microcontroller and debugging it. The second objective of this laboratory session is to begin utilizing the engineering communication skills discussed in the lecture. Specifically, an engineering notebook is to be maintained by each student, documenting all designs, lab procedures utilized, observations of the results of each test or procedure, and any errors detected and their solutions. Also, a two-page memo documenting the activities of the first lab session is to be written and submitted by each member of the team (all writing assignments are listed on the syllabus and on the web site.) The platform on which projects will be built and tested is the Digilent Electronics Explorer Board (EEBOARD), shown in Figure 1. The EEBOARD has two breadboards, plus connections to built-in power supplies and the hardware elements of various debugging and test instruments (digital I/O, LEDs, switches, oscilloscope, waveform generator, logic analyzer, etc.) The EEBOARD is controlled from a USB-connected PC via the WaveForms graphical user interface, shown in Figure 2. Figure 1. Digilent Electronics Explorer Board (EEBOARD) Breadboard Area Power Supply Connections Digital I/O Connections USB Connector Power Connector ON/OFF Switch
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Figure 2. Digilent WaveForms - EEBOARD User Interface For the first week’s labs, the instructor will lend a DragonFly-Plus module and an EEBOARD to each team. Those will be collected at the end of the lab period, and each team will then be issued an EEBOARD kit to use for the duration of the semester, which includes a lockable case that will hold the project board, power supply, USB cable, and other parts. Prior to the start of the second week of lab, each team must purchase their own DragonFly12-Plus module from the Scientific Supply Store in 211 Science Center Lab Building. All components required for subsequent labs will also need to be obtained from the Scientific Supply Store. The DragonFly12 Development Module Each lab position includes a personal computer, a power supply, and a P&E Microsystems Background Debug Mode (BDM) module (pictured in Figure 4) with a USB cable. The “DragonFly12-Plus” ( http://www.evbplus.com/Dragonfly12P_9s12/DIP40_9s12.html ), pictured in Figures 3(a)-(c), is a 40-pin Dual-In-Line (DIP) module containing a Freescale MC9S12C32
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 15

ELEC3050 HCS12 Lab1 - ELEC 3040 Electrical System Design...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online