1 / 18

© 2010 Kettering University, All rights reserved.

© 2010 Kettering University, All rights reserved. Microcomputers I – CE 320. Jaerock Kwon, Ph.D. Electrical and Computer Engineering Kettering University jkwon@kettering.edu http://www.kettering.edu/~jkwon. Dragon 12-Plus Development Board D-Bug12 MiniIDE. Today’s Topics.

nen
Download Presentation

© 2010 Kettering University, All rights reserved.

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. © 2010 Kettering University, All rights reserved.

  2. Microcomputers I – CE 320 Jaerock Kwon, Ph.D. Electrical and Computer Engineering Kettering University jkwon@kettering.edu http://www.kettering.edu/~jkwon

  3. Dragon 12-Plus Development BoardD-Bug12MiniIDE

  4. Today’s Topics • Introduction of Labs • Dragon12-Plus Development Board • DBUG12 commands • MiniIDE

  5. Introduction of Labs • See the syllabus

  6. Dragon12-Plus Development Board • HCS12/9S12 based development board. • Manual can be found at • http://www.evbplus.com/download_hcs12/dragon12_plus_hcs12_manual.pdf

  7. Layout of Lab Settings Serial Communication • Users can communicate with the Dragon 12 plus through the serial communication ports • Small monitor program on the Dragon 12 plus (D-Bug12) • Users can type commands, download programs, and get/display output from the Dragon 12 plus.

  8. Memory Map

  9. Hardware Descriptions • LEDs • DIP switch and pushbuttons* • 7-segment LED * • Keypad • LCD display • Dual RS232 communication ports • DB9 female connectors

  10. D-Bug12 A Debug Monitor for the MC68HC912B32 Microcontroller • Basically D-Bug12 is a software program that interprets commands that a user types in. • You can interact with the microcontroller through D-Bug12 command. • Download your program • See/manipulate contents of memory and registers

  11. D-Bug12 Command Set Frequently used ones • BF - Block Fill user memory with data. • BR - Set/Display user breakpoints. • G - Go. Begin execution of user program. • LOAD - Load user program in S-Record format. • MD - Memory Display. Display memory contents in hex bytes/ASCII format. • MM - Memory Modify. Interactively examine/change memory contents. • NOBR - Remove one/all user breakpoints. • RD - Register Display. Display the CPU register contents. • RM - Register Modify. Interactively examine/change CPU register contents. • T - Trace. Execute an instruction, disassemble it, and display the CPU registers. • <RegisterName> <RegisterValue> - Set CPU <RegisterName> to <RegisterValue>

  12. MiniIDE • In order to communicate with the Dragon 12 Plus, we need to have/use • Terminal program to send typed inputs to the board and see the output from it. • Assembler to assemble the assembly program. • Text editor to edit assembly program • The IDE is a integrated tool for all of above. • Integrated Development Environment (IDE) • Source code editor, assembler, and etc. • MiniIDE is an IDE for HCS12 assembly programming • You can download the software at http://www.mgtek.com/miniide/

  13. MiniIDE Source code editor Output of assembler Terminal window

  14. Demo

  15. Questions?

  16. Wrap-up What we’ve learned • Dragon12-Plus Development Board • DBUG12 commands • MiniIDE

  17. What to Come • Lab sessions start next Tuesday at AB-2817

More Related