DM240001 Microchip Technology, DM240001 Datasheet - Page 23

BOARD DEMO PIC24/DSPIC33/PIC32

DM240001

Manufacturer Part Number
DM240001
Description
BOARD DEMO PIC24/DSPIC33/PIC32
Manufacturer
Microchip Technology
Series
Explorer 16 100-pinr
Type
MCUr
Datasheets

Specifications of DM240001

Contents
Explorer 16 Dev Board, PIC24FJ128GA010 and dsPIC33FJ256GP710 PIM Modules
Processor To Be Evaluated
PIC 24 and dsPIC33
Data Bus Width
16 bit
Interface Type
RS-232
Silicon Manufacturer
Microchip
Core Architecture
PIC, DsPIC
Core Sub-architecture
PIC24, DsPIC33
Silicon Core Number
PIC24F, DsPIC33F
Rohs Compliant
Yes
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With/related Products
dsPIC30, dsPIC33, PIC32, PIC24FJ, PIC24HJ
For Use With
AC164127-5 - BOARD GRAPH LCD CNTLR PICTAILAC164127-3 - BOARD DAUGHTER GRAPHIC PICTAILAC164127 - BRD DAUGHT GRAPHIC PICTAIL PLUS
Lead Free Status / Rohs Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
DM240001
Manufacturer:
MICROCHIP
Quantity:
12 000
Explorer 16 Development Board User’s Guide
DS51589A-page 19
2.6
PROGRAMMING THE DEVICE
The MPLAB ICD 2 In-Circuit Debugger is used to program and debug the
microcontroller in-circuit on the Explorer 16 Development Board.
2.6.1
The device configuration for the target microcontroller can be set by two methods:
using configuration macros in the source code, or using the Configuration Bits window
in MPLAB IDE.
The PIC24 Explorer 16 tutorial code already includes configuration macros in the
source code itself. It is only necessary to confirm that the following macros are in place
near the top of the PIC24ExplDemo.c file:
_CONFIG1(JTAGEN_OFF & GSS0_OFF & GWRP_OFF & BKBUG_OFF & COE_OFF
& FWDTEN_OFF & FNOSC_PRI)
_CONFIG2(FCKSM_CSDCMD & OSCIOFNC_ON & POSCMOD_HS)
For the dsPIC33F tutorial code, confirm that the following macros are in place near the
top of the main_rtc.c file:
_FGS(CODE_WRITE_PROT_OFF);
_FOSCSEL(FRC_PLL);
_FOSC(CSW_FSCM_OFF & OSC2_IO & XT);
_FWDT(WDT_OFF);
If configuration macros are not used in the source code, it is also possible to set device
configuration with the Configuration Bits window. For the PIC24 code, the process is as
follows:
1. From the main window’s menu bar, select Configure > Configuration Bits to
2. Set the Configuration bits by clicking on a particular line item and selecting an
Note:
display the configuration settings (Figure 2-10).
option from the drop-down menu that appears. The Configuration bits should be
set as shown in Figure 2-10.
The settings that will most likely need to change are:
a) Primary Oscillator Select: HS Oscillator Enabled
b) Oscillator Select: Primary Oscillator (XT, HS, ES)
c) Clock Switching and Monitor: SW Disabled, Mon Disabled
d) Watchdog Timer Enable: Disable
Set Up the Device Configuration
Before proceeding, make sure that the USB driver for the MPLAB ICD 2 has
been installed on the PC (see the MPLAB
User’s Guide (DS51331) for more details regarding the installation of the
MPLAB ICD 2).
®
© 2005 Microchip Technology Inc.
ICD 2 In-Circuit Debugger

Related parts for DM240001