Arizona Picdem 17 User Manual

Page of 92
PICDEM™ 17 Demonstration Board User’s Guide
DS39024B-page 10
 2001 Microchip Technology Inc.
Figure 2.3:  Downloading… Window
At the completion of the download, the Monitor status window will have 
displayed a Erasure Complete and Download Complete message. When 
the message window shows a :>, it is ready to process the next command.
2.8
 Running HEX files from the PICDEM 17 
Demonstration Board
The Monitor program has a Run button that starts the execution of code from 
the external FLASH program memory. Once a program has been downloaded 
into the FLASH memory, click the Run button to start execution. Control of the 
PIC17C756A is released by the Monitor firmware by simply writing 4000h to 
the PCLATH:PCL registers. Refer to Chapter 4, Using the MPLAB
 for more information.
Figure 2.4:  Program Running on PICDEM 17 Demonstration Board
The only way to stop the program from running is to click on the Reset button 
in the Monitor window. This resets the PIC17C756A and restores operation to 
the Monitor firmware. This method allows for all Data memory, interrupt 
vectors, and stack locations to be available to the user for the target 
application.