Developing HC11 systems for RAM memory areas:

Similar documents
Programming the CME11E9-EVBU, Keypad, and LCD

Programming the CME11E9-EVBU, Keypad, and LCD

CMD711-EX Development Board

CME11E9-EVBU Development Board

POTENTIOMETER. Revision Class. Instructor / Professor LICENSE

Mark II Aiken Relay Calculator

TEMPERATURE SENSOR. Revision Class. Instructor / Professor LICENSE

The 9S12 in Expanded Mode - How to get into expanded mode Huang Chapter 14

PUSH BUTTON. Revision Class. Instructor / Professor LICENSE

The 9S12 in Expanded Mode - How to get into expanded mode Huang Chapter 14

CMS-8GP32. A Motorola MC68HC908GP32 Microcontroller Board. xiom anufacturing

SEVEN SEGMENT DISPLAY LAB EXPERIMENT

EE 308 Spring 2011 The MC9S12 in Expanded Mode How to get into expanded mode

HI-WAVE. Serial Debug Interface SDI target. Copyright 1997 HIWARE HI-WAVE

CodeWarrior. Microcomputer Architecture and Interfacing Colorado School of Mines Professor William Hoff

CMD11A8 Development Board

The University of Texas at Arlington Lecture 3

EE319 K Lecture 3. Introduction to the 9S12 Lab 1 Discussion Using the TExaS simulator. University of Texas ECE

USING THE ACOM2 ASYCHRONOUS COMMUNICATION ADAPTER WITH MOTOROLA MICROCONTROLLERS

CHALMERS Lindholmen 1. Compare (a) a sand hour glass, (b) a pocket mechanical watch (c) a wrist quartz watch and (d) the Big

Lab 8: Debugging Embedded Devices and Software

Introduction. ECE/CS 5780/6780: Embedded System Design. Memory-Mapped I/O. Isolated I/O. Expanded Mode. Multiplexed Address and Data Lines

Roberto Muscedere Images and Text Portions 2003 Prentice Hall 1

EE4390 Microprocessors. Lessons 2, 3 68HC12 Hardware Overview, Subsystems, and memory System

CHAPTER TWELVE - Memory Devices

Memory Interfacing & decoding. Intel CPU s

68HC12 Training Lab Student Exercise Book

Introduction to the 9S12 Microcontroller

SECTION 5 RESETS AND INTERRUPTS

COSC 243. Input / Output. Lecture 13 Input/Output. COSC 243 (Computer Architecture)

MC68HC12 Parallel I/O

1. Memory Mapped Systems 2. Adding Unsigned Numbers

History of the Microprocessor. ECE/CS 5780/6780: Embedded System Design. Microcontrollers. First Microprocessors. MC9S12C32 Block Diagram

EB380. Migrating from the MC68HC811E2 to the MC68HC711E9. Freescale Semiconductor, I. Introduction. Migrating to the MC68HC711E9

ECE 3120 Fall 2013 Lab 1 Code Entry, Assembly, and Execution

Chapter 2 68HC11 Based Temperature Monitoring Board

Assignment 2: 68HC11 Boot Lab

CHAPTER 2: AVR ARCHITECTURE & ASSEMBLY LANGUAGE PROGRAMMING

CF2SCSI Disk Bridge User Guide

UNIVERSITY OF HONG KONG DEPARTMENT OF ELECTRICAL AND ELECTRONIC ENGINEERING

ADuC812 MicroConverter Parallel Programming Specification

Freescale Semiconductor, Inc. Debugger. Serial Debug Interface SDI target. Copyright Metrowerks Debugger

CHAPTER 8. Solutions for Exercises

MC9S12 Address Space

FOX11 68HC11 Trainer Board

ROM (4K X 8) ROM (4K X 8) FOLD BACK FOR RAM0 RWM - RAM (2K X 8) RWM - RAM (2K X 8) FOLD BACK FOR RAM1 INPUT DEVICE 1

Introduction to Mechatronics. Fall Instructor: Professor Charles Ume. Interrupts and Resets

BUFFALO MONITOR for HC11 Development Boards

EE 390 Lab Manual, EE Department, KFUPM. Experiment #7. Introduction to Flight86 Microprocessor Trainer and Application Board

EE 5340/7340 Motorola 68HC11 Microcontroler Lecture 1. Carlos E. Davila, Electrical Engineering Dept. Southern Methodist University

How to Program the Adapt812 using Metrowerks and Kevin Ross BDM Page 1

ME4447/6405. Microprocessor Control of Manufacturing Systems and Introduction to Mechatronics. Instructor: Professor Charles Ume LECTURE 7

Hardware Version 1.0 Monitor Version 1.2. English Release October

PCard2SCSI Flash-Tape User Guide

ECE 3120 Lab 1 Code Entry, Assembly, and Execution

University of Florida EEL 4744 Fall 1998 Dr. Eric M. Schwartz

COE538 Microprocessor Systems Lab 1: Using the CodeWarrior IDE and Introduction to Assembly Programming 1

Ryerson University Department of Electrical and Computer Engineering ELE 538 Microprocessor Systems Final Examination December 8, 2003

0.1. [0x8A] Read Configuration

Intel Architecture Segment:Offset Memory Addressing

Freescale Semiconductor, I. How to Write to the 64-Cycle Time-Protected Registers on M68HC11 Development Tools


How Nohau supports the Philips 8051MX Microcontroller

It translates (converts) assembly language to machine code.

What is an Addressing Mode?

Getting Embedded Software into the Target System using Device Programmer

Using and Installing: HCS12C128 Board, USB-to-Serial port driver, and HyperTerminal


Total: EEL 3701 Digital Logic & Computer Systems Final Exam Fall Semester 2007 COVER SHEET: Re-Grade Information: 1 (10) 2 (10) 3 (10) 4 (14) 5 (14)

ECE3120: Computer Systems Hardware & Software Development Tools

Setup support for RAMCHECK. Extensive, context-sensitive On-Line Help and Tutorials. HARD DISK INSTALLATION:

ME 4447 / ME 6405: Introduction to Mechatronics

NOTE: ESCAPE is not always being checked for when the Monitor is performing a selected function,

Lab 1 MC9S12 Assembler and Monitor

ECE L A B 1 Introduction ASSEMBLY PROGRAMMING WITH MINIIDE

Note that FLIP is an Atmel program supplied by Crossware with Atmel s permission.

Lab 1 MC9S12 Assembler and Monitor

Reference Guide For D Bug12 Version 2.1.x

TMS320C620x/C670x DSP Boot Modes and Configuration Reference Guide

Chapter. Computer Architecture

M32 Development Board

AN1060. Motorola Semiconductor Application Note. M68HC11 Bootstrap Mode By Jim Sibigtroth, Mike Rhoades, and John Langan Austin, Texas.

NEW CEIBO DEBUGGER. Menus and Commands

HCS12 Microcontroller and Embedded Systems: Using Assembly and C with CodeWarrior 1 st Edition

Engineering Technical Laboratory Rev 2. ETLUNIPROG control software Win98/Win2000/WinXP ODESSA Microprocessor Tools

ET2640. Unit 5:ADVANCED I/O TECHNIQUES Pearson Education, Inc. Pearson Prentice Hall Upper Saddle River, NJ 07458

AN-HK-32. In-Circuit Programming of FLASH Memory in the MC68HC908GP32. nc... Freescale Semiconductor, I. PART 1 Introduction

Harry H. Porter, 2006

Memory memories memory

2. (2 pts) If an external clock is used, which pin of the 8051 should it be connected to?

Getting Started with your D3000M Series Module

PropIO V2 User Guide. Wayne Warthen RetroBrew Computers

Microprocessor Architecture. mywbut.com 1

Lab 10 CST8214 Ian! D. Allen Fall 2007

TI-73, TI-80, TI-81, TI-82, TI-83, TI-85,

D2Sun Team presents you SunDisk:

Figure 26 CC Debugger Interface

M68HC11EVB EVALUATION BOARD USER'S MANUAL

EVBplus2 68HC11 Development Board

Micro-KIM Tutorial. Aart J.C. Bik

Transcription:

Developing HC11 systems for RAM memory areas: 0000-01FF (Ram area Single Chip Mode ON-OFF or Expanded Mode OFF-OFF) 0200-0FFF (Additional RAM area in Expanded Mode OFF-OFF only) 1040-7FFF (Additional RAM area in Expanded Mode OFF-OFF only) simulator if you are using MODEPROCESSOR 68HC11-Axiom and have upgraded to Version 1.11.Using this processor, in TexaS, should be able to set PC to start of program (using viewbox) and have correct simulation. Might need to single step to see that the program is tracking your code. In AxIDE, MODA-OFF and MODB OFF (Expanded Mode) or MODA-ON and MODB-OFF (Single Chip Mode), Reset should yield Buffalo id message. Hit enter to obtain prompt: If Buffalo sign-on message does not appear, make sure the "CONFIGURATION" for the target has the ROMON on-chip ROM bullet active. Must use "Configure" menu function in AxIDE software to change this feature. Load T Next Buffalo command prepares the software for "UPLOADING" S19 program image to target at the RAM locations generated by the TexAS assembly process At this point in AxIDE, use UPLOAD menu item and select the correct S19 file for program to be loaded into target. Done Indicates that upload to Target was successful. Now ready to start program execution on target G 2000 Tells buffalo to unconditionally start execution at 2000 hex (if Expanded Mode) Use G 0100 if only have Single Chip Mode capabilities Error Condition Load T -rom indicates you are trying to load some bytes into ROM area. Most likely still have the FFFE ORG in code and not a comment in source file CEN 1/01 Page 1/5

Developing HC11 systems for OnChip EEPROM memory areas: B600-B7FF (EEPROM area Single Chip Mode ON-OFF or Expanded Mode OFF-OFF) simulator if you are using MODEPROCESSOR 68HC11-Axiom and have upgraded to Version 1.11).Using this processor, in TexaS, should be able to set PC to start of program and have correct simulation. Might need to single step to see that the program is tracking your code. In AxIDE, using the PROGRAM menu item, select bullet "Program HC11 Internal EEPROM" and also locate S19 file for program to be loaded into target, then OK. This step will cause the target EEPROM at B600-B7FF to be programmed. Will see success screen indicating that area verified correctly if successfully. Will also see a tip that indicates MODA and MODB have to be moved to OFF-OFF to attempt to run the loaded program. MODA-OFF and MODB OFF (Expanded Mode) or MODA-ON and MODB-OFF (Single Chip Mode), Reset should yield Buffalo id message. Hit enter to obtain prompt: If Buffalo sign-on message does not appear, make sure the "CONFIGURATION" for the target has the ROMON on-chip ROM bullet active. Must use "Configure" menu function in AxIDE software to change this feature. G B600 Tells buffalo to unconditionally start execution at B600 hex. Note: If in Single Chip mode can only use RAM at 0000-01FF, and on chip PROM at D000-FFFF. If in Expanded mode can use all of memory space capability on hardware. CEN 1/01 Page 2/5

Developing HC11 systems for EXTERNAL EEPROM memory areas: 8000-B57F (EEPROM area Expanded Mode OFF-OFF) B900-CFFF (EEPROM area Expanded Mode OFF-OFF) simulator if you are using MODEPROCESSOR 68HC11-Axiom and have upgraded to Version 1.11).Using this processor, in TexaS, should be able to set PC to start of program and have correct simulation. Might need to single step to see that the program is tracking your code. In AxIDE, using the PROGRAM menu item, select bullet "Program External EEPROM" and also locate S19 file for program to be loaded into target, then OK. This step will cause the target EEPROM at the S19 selected addresses to be programmed. Will see success screen indicating that area verified correctly if successfully. Will also see a tip that indicates MODA and MODB have to be moved to OFF-OFF to attempt to run the loaded program. MODA-OFF and MODB OFF (Expanded Mode), Reset should yield Buffalo id message. Hit enter to obtain prompt: If Buffalo sign-on message does not appear, make sure the "CONFIGURATION" for the target has the ROMON on-chip ROM bullet active. Must use "Configure" menu function in AxIDE software to change this feature. G 8000 Tells buffalo to unconditionally start execution at 8000 hex. CEN 1/01 Page 3/5

Developing HC11 systems for EXTERNAL EEPROM memory areas REPLACING ON-CHIP PROM area: E000-FFFF (EEPROM area Expanded Mode OFF-OFF overlaying On-Chip ROM if ROMON =0 in CONFIG) MUST have an ORG at FFFE in your program directing reset to the beginning of your program. The movement of this code to the target will need a new reset vector since the Buffalo reset will be disabled on-chip. In AxIDE, using the CONFIGURE menu item, this action will invoke the need to have MODA and MODB in ON-ON configuration and also requests that RESET be depressed; uncheck the bullet "ROMON ON CHIP ROM", then using the PROGRAM menu item, select bullet "Program External EEPROM" and also locate S19 file for program to be loaded into target, then OK. This step will cause the target EEPROM at the S19 selected addresses to be programmed. Will see success screen indicating that area verified correctly if successfully. Will also see a tip that indicates MODA and MODB have to be moved to OFF-OFF to attempt to run the loaded program. Set MODA-OFF and MODB OFF (Expanded Mode), Reset should immediately initiate program if correct RESET vector was orged in program built. CEN 1/01 Page 4/5

CEN 1/01 Page 5/5