Tutorial
2.6
PROGRAMMING THE CHIP
The MPLAB ICD 2 In-Circuit Debugger is used to program and debug the
dsPIC30F6014A device in-circuit on the dsPICDEM 80-Pin Starter Development
Board.
Note:
Before proceeding, make sure that the USB driver for the MPLAB ICD 2 has
been installed on the PC (see the “ MPLAB ? ICD 2 In-Circuit Debugger
User ’s Guide” (DS51331) for more details regarding the installation of the
MPLAB ICD 2).
Use the procedures in the following section to program the dsPIC30F6014A device.
2.6.1
Set Up The Device Configuration
1. Use the Configure>Configuration Bits menu to display the configuration settings.
2. Set up the configuration bits, as shown in Figure 2-10.
The settings that will most likely need to change are:
Oscillator
Watchdog Timer
XT w/PLL 4x
Disabled
FIGURE 2-10:
CONFIGURATION SETTINGS
2.6.2
Connect the MPLAB ICD 2 In-Circuit Debugger
1. Connect the MPLAB ICD 2 to the PC with the USB cable (see Figure 2-11).
2. Connect the MPLAB ICD 2 to the dsPICDEM 80-Pin Starter Development Board
with the short RJ-11 (telephone) cable.
CAUTION
Before you apply power to the board, observe these voltage precautions:
If a dsPIC33F device is being used, J5 should be OPEN or OFF to enable 3.3V to the V DD
or supply voltage. Operating a dsPIC33F device at 5.0V will cause a catastrophic failure
of the device.
If a dsPIC30F device is being used, J5 can be open or closed. You will get 3.3V or 5.0V
voltage to the V DD pin.
3. Apply power to the board.
? 2006 Microchip Technology Inc.
DS51584B-page 19
相关PDF资料
DM300024 KIT DEMO DSPICDEM 1.1
DM330012 KIT USB STARTER FOR DSPIC33E
DM330013 MICROSTICK DSPIC33F/PIC24H BOARD
DNET1 SURGE SUPPRESSOR ETHERNET RJ45
DR-8094 RACK DOUBLE 84"X20.25"X36" BLK
DR-IAC5E INPUT MODULE AC 5VDC
DRIDC24A INPUT MODULE DC 34MA 24VDC
DRODC24 OUTPUT MODULE DC 13MA 24VDC
相关代理商/技术参数
DM300019 制造商:Microchip Technology Inc 功能描述:DEMO BOARD STARTER ((NW))
DM300020 功能描述:开发板和工具包 - PIC / DSPIC dsPICDEM MC1 Motor C RoHS:否 制造商:Microchip Technology 产品:Starter Kits 工具用于评估:chipKIT 核心:Uno32 接口类型: 工作电源电压:
DM300021 功能描述:开发板和工具包 - PIC / DSPIC High V Pwr Module RoHS:否 制造商:Microchip Technology 产品:Starter Kits 工具用于评估:chipKIT 核心:Uno32 接口类型: 工作电源电压:
DM300021 制造商:Microchip Technology Inc 功能描述:MODULE dsPICDEM MC1H 3 PHASE
DM300022 功能描述:开发板和工具包 - PIC / DSPIC Low V Pwr Module RoHS:否 制造商:Microchip Technology 产品:Starter Kits 工具用于评估:chipKIT 核心:Uno32 接口类型: 工作电源电压:
DM300023 功能描述:开发板和工具包 - PIC / DSPIC dsPICDEM SMPS Buck Demo Brd RoHS:否 制造商:Microchip Technology 产品:Starter Kits 工具用于评估:chipKIT 核心:Uno32 接口类型: 工作电源电压:
DM300024 功能描述:开发板和工具包 - PIC / DSPIC dsPICDEM 1.1 GP RoHS:否 制造商:Microchip Technology 产品:Starter Kits 工具用于评估:chipKIT 核心:Uno32 接口类型: 工作电源电压:
DM300027 功能描述:开发板和工具包 - PIC / DSPIC 16-bit Starter Demo Board RoHS:否 制造商:Microchip Technology 产品:Starter Kits 工具用于评估:chipKIT 核心:Uno32 接口类型: 工作电源电压: