Microchip Technology DM163024 User Manual

Page of 34
PICDEM.net™ 2 Development Board User’s Guide
DS51623D-page 24
 2011 Microchip Technology Inc.
3.3
REPROGRAMMING AND RESTORING THE APPLICATION FIRMWARE
After investigating the PICDEM.net 2 Development Board and the Demo Application, 
you may be ready to modify the application, or perhaps design your own. To do this, it 
will be necessary to clear the existing firmware in the Flash program memory of the 
PIC18F97J60 microcontroller.
The Development Board is preprogrammed with an Ethernet bootloader. For more 
information on using this bootloader, please refer to the Microchip TCP/IP Stack Help 
file. Besides this bootloader, the Development Board does not include tools for clearing 
and reprogramming the entire microcontroller. You must use an appropriate device 
programmer or a development tool, such as the MPLAB ICD 3 with MPLAB IDE, which 
provides a complete set of tools for programming and debugging. To ensure proper 
programming support of the PIC18F97J60, it is recommended to use the latest version 
of the MPLAB IDE; newer versions of the TCPIP Stack generally require the latest 
version.
If you have the appropriate development tools (device programmer, development 
environment, etc.), you already have everything you need to begin immediately. 
To restore the Demo Application, follow the instructions for compiling, programming and 
running demonstration projects in the “Getting Started” section of the TCP/IP Stack Help 
file. Follow the standard procedure for your device programmer when programming the 
microcontroller. Make sure that the following configuration options are set:
• Oscillator: OSC1/OSC2 as Primary, HS+PLL Oscillator
• Watchdog Timer: Disabled
After programming the controller, you may also wish to reprogram the EEPROM with 
the Demo Application web pages. Refer to the Microchip TCP/IP Stack Help file for 
instructions.