HC08 Full Chip Simulation
Configuration Procedure
310
Microcontrollers Debugger Manual
; (C)opyright P&E Microcomputer Systems, 2005
;
; You may use this code freely as long as this copyright notice
; and website address is included. Visit us at www.pemicro.com
; This application is meant to demonstrate a framework for an
; application running on the 68HC908JW32. It demonstrates a simple HID
; interface for a USB device and uses interrupts from the USB
; peripheral. The HID interface is supported through standard API calls
; in Windows® XP, Windows® 2000, or Windows Vista™ Operating Systems.
; For more information on USB, visit the USB
; developers website at www.usb.org and download the USB specification
; revision 2.0 and the HID device class specification version 1.1 for
; more details.
RAMStart equ $0060 ; start of RAM for JW32
RomStart equ $7000 ; start of Flash for JW32
VectorStart equ $FFEE ; start of Vectors for JW32
EP1BuffStart equ $1000 ; start of buffer for endpoint
1 of the USB
EP2BuffStart equ $1010 ; start of buffer for endpoint
2 of the USB
$Include 'JW32regs.inc'
org RamStart
Setup_Packet ds 8 ; array for SETUP packet
bmReqType equ Setup_packet ; Characteristic of Request
bRequest equ {Setup1} ; Request Code
wValueL equ {Setup2} ; Low byte Value Field
wValueH equ {Setup3} ; High byte Value Field
wIndexL equ {Setup4} ; Low byte Index Field
wIndexH equ {Setup5} ; High byte Index Field
wLengthL equ {Setup6} ; Low byte Length Field
wLengthH equ {Setup7} ; High byte Length Field
GET_DESC equ 6 ; Standard Request code for
GET_DESCRIPTOR
SYNC_FRAME equ 12t ; Standard Request code for SYNC_FRAME
control ds 1 ; type of transfer in progress
descptr ds 2 ; pointer to descriptor being sent
descendptr ds 2 ; end pointer to descriptor being sent
buffptr ds 2 ; index into the USB data buffer
tptr ds 2 ; temporary pointer for storage
EP2data ds 8 ; endpoint 2 output received data
org RomStart
Summary of Contents for Microcontrollers
Page 1: ...Microcontrollers Debugger Manual Revised 22 October 2007 ...
Page 20: ...Table of Contents 20 Microcontrollers Debugger Manual ...
Page 24: ...Book I Contents 24 Microcontrollers Debugger Manual ...
Page 60: ...Debugger Interface Highlights of the User Interface 60 Microcontrollers Debugger Manual ...
Page 156: ...Debugger Components Visualization Utilities 156 Microcontrollers Debugger Manual ...
Page 198: ...Real Time Kernel Awareness OSEK Kernel Awareness 198 Microcontrollers Debugger Manual ...
Page 236: ...Synchronized Debugging Through DA C IDE Troubleshooting 236 Microcontrollers Debugger Manual ...
Page 238: ...Book II Contents 238 Microcontrollers Debugger Manual ...
Page 332: ...HC08 Full Chip Simulation Configuration Procedure 332 Microcontrollers Debugger Manual ...
Page 348: ...MON08 Interface Connection Device Class Description 348 Microcontrollers Debugger Manual ...
Page 364: ...ICS MON08 Interface Connection Device Class Description 364 Microcontrollers Debugger Manual ...
Page 428: ...HC08 FSICEBASE Emulator Bus State Analyzer BSA 428 Microcontrollers Debugger Manual ...
Page 430: ...Book III Contents 430 Microcontrollers Debugger Manual ...
Page 466: ...HCS08 Full Chip Simulation Peripheral Modules Commands 466 Microcontrollers Debugger Manual ...
Page 544: ...HCS08 On Chip DBG Module HCS08 DBG V3 New Features 544 Microcontrollers Debugger Manual ...
Page 546: ...Book IV Contents 546 Microcontrollers Debugger Manual ...
Page 576: ...Book V Contents 576 Microcontrollers Debugger Manual ...
Page 698: ...Book VI Contents 698 Microcontrollers Debugger Manual ...
Page 714: ...Flash Programming NVMC Commands 714 Microcontrollers Debugger Manual ...
Page 730: ...Book VII Contents 730 Microcontrollers Debugger Manual ...
Page 840: ...Book VIII Contents 840 Microcontrollers Debugger Manual ...
Page 864: ...Book IX Contents 864 Microcontrollers Debugger Manual ...
Page 868: ...Legacy Target Interfaces Removed 868 Microcontrollers Debugger Manual ...