Introduction to CodeWarrior� � Running Assembly Programs on the Microcontroller

Introduction to CodeWarrior� � Running Assembly Programs on the Microcontroller

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

View Full Document Right Arrow Icon
Laboratory Short Course Introduction to CodeWarrior™ – Running Assembly Programs on the Microcontroller www.freescale.com/universityprograms Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners © Freescale Semiconductor, Inc. 2006. Document Number: LABS12CINTRO04 /REV 1
Background image of page 1

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

View Full DocumentRight Arrow Icon
Reading this Document Answers provided to the Instructor assume that the reader is using Freescale HCS12DT256 Family Student Learning Kit, and CodeWarrior development software. This short course has been created using an adapted version of the Process Oriented Guided Inquiry Learning (POGIL) method. For more information visit www.pogil.org Freescale Semiconductor LABS12CINTRO04, Rev 1 1
Background image of page 2
Overview A laboratory experience is vital for us to be able to start programming the microcontroller and to be able to really understand how it works and to apply it in embedded system designs. This module is a continuation of the Introduction to CodeWarrior® – Simulating the Microcontroller in Assembly Language module where you learned how to enter an assembly language program and to simulate it using the CodeWarrior True-Time Simulator. Now we will ask you to enter a program that exercises the hardware on a laboratory student learning kit. Learning Objectives In this module we will give you a program and you will start to learn to use the HCS12 instruction set by modifying it to change how it operates. You will learn how to program the HCS12 Flash memory and to use the background debugger. Success Criteria At the end of this module you will be able to assemble a program, download it to the microcontroller, and run and debug it with the CodeWarrior hardware debugger. Prerequisites You must know about the HCS12 instruction set and the memory addressing modes available. You do not have to know the instruction set in detail. The following lab modules will help you learn that. You should have completed the Introduction to CodeWarrior® – Simulating the Microcontroller in Assembly Language mode or be able to enter and simulate assembly language programs. More Resources and Further Information Cady, Fredrick M., Software and Hardware Engineering: Assembly and C Programming for the Freescale HCS12 Microcontroller , 2 nd edition. (New York: Oxford University Press, Inc., 2008). Chapter 20 Debugging Systems Debug (DBG) Module V1 Block User Guide, S12DBGV1/D, Freescale Semiconductor, 2003. MC9S12C128 Data Sheet: Covers MC9S12C Family and MC9S12GC Family , Freescale Semiconductor, Austin, Texas, 2005. Montañez, E. and Ruggles, S., MCUSLK_CSM12C32 - Getting Started with the Microcontroller Student Learning Kit (MCUSLK) , Freescale Semiconductor, Austin, Texas, 2005. Montañez, E., AN2596/D –
Background image of page 3

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

View Full DocumentRight Arrow Icon
Image of page 4
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 11/02/2009 for the course ASSEMBLY 0356 taught by Professor Collins during the Spring '09 term at University of Houston.

Page1 / 15

Introduction to CodeWarrior� � Running Assembly Programs on the Microcontroller

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

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