Download presentation
Presentation is loading. Please wait.
Published byLaura Clara Haynes Modified over 9 years ago
1
© 2010 Kettering University, All rights reserved.
3
Microcomputers I – CE 320 Electrical and Computer Engineering Kettering University jkwon@kettering.edu http://www.kettering.edu/~jkwon Jaerock Kwon, Ph.D.
4
Dragon 12-Plus Development Board D-Bug12 MiniIDE
5
Today’s Topics Introduction of Labs Dragon12-Plus Development Board DBUG12 commands MiniIDE
6
Introduction of Labs See the syllabus
7
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
8
Layout of Lab Settings 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. Serial Communication Serial Communication
9
Memory Map
10
Hardware Descriptions LEDs DIP switch and pushbuttons* 7-segment LED * Keypad LCD display Dual RS232 communication ports – DB9 female connectors
11
D-Bug12 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 A Debug Monitor for the MC68HC912B32 Microcontroller
12
D-Bug12 Command Set 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. - Set CPU to Frequently used ones
13
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/
14
MiniIDE Source code editor Output of assembler Terminal window
15
Demo
16
Questions?
17
Wrap-up Dragon12-Plus Development Board DBUG12 commands MiniIDE What we’ve learned
18
What to Come Lab sessions start next Tuesday at AB-2817
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.