ICD ICD ICD ICD ICD

Similar documents
(Load Project) (Save Project) (OffLine Mode) (Help) Intel Hex Motor

目 录

1-1 SH79F6431 A. 2( ) 9~15V ( 12V) U2 U3 3.3V SH79F B. 1(VCC/GND) SH79F6431 C. VDDIO SH79F6431 P4 P5 P0.6 P0.7 VDDIO VDDIO=5V D. 2 V 1.0

EK-STM32F

JTAG ICE PC JTAG ICE JTAG ISP... 5 IDE AVR STUDIO JTAGICE JTAGICE... 12

USB解决方案.ppt

PROTEUS VSM

SA-DK2-U3Rユーザーズマニュアル

ARM JTAG实时仿真器安装使用指南

untitled

AL-M200 Series

untitled

1 Project New Project 1 2 Windows 1 3 N C test Windows uv2 KEIL uvision2 1 2 New Project Ateml AT89C AT89C51 3 KEIL Demo C C File

1.ai

68369 (ppp quickstart guide)

(Guangzhou) AIT Co, Ltd V 110V [ ]! 2

PIC16F F MPLAB 08 16F LED 15 LED

2 PIC PIC 1 / CPU PIC MCU PIC RC

51 C 51 isp 10 C PCB C C C C KEIL

Chapter 2

NEXT SDT2.51 C:\ARM251 SDT2.51 ARM SDT 2.51 ARM PROJECT MANAGER SDT 2

文件名

untitled

ARM Cortex-M3 (STM32F) STMicroelectronics ( ST) STM32F103 Core: ARM 32-bit Cortex -M3 CPU 72 MHz, 90 DMIPS with 1.25 DMIPS/MHz Single-cycle multiplica

Bus Hound 5

典型自编教材

ebook140-9

audiogram3 Owners Manual

epub83-1

Ác Åé å Serial ATA ( Sil3132) S A T A (1) SATA (2) BIOS SATA (3)* RAID BIOS RAID (4) SATA (5) SATA (a) S A T A ( S A T A R A I D ) (b) (c) Windows XP

Guide to Install SATA Hard Disks

2 Keil µ vision 2.1 1) Keil µ vision2 V2.34 µ vision3 2) Sino_Keil.exe Keil c:\keil\ 3) JET51 USB PC C:\Keil\ USB PC 4) S-L

P4V88+_BIOS_CN.p65


P4VM800_BIOS_CN.p65

C PICC C++ C++ C C #include<pic.h> C static volatile unsigned char 0x01; static volatile unsigned char 0x02; static volatile unsigned cha

FM1935X智能非接触读写器芯片

IP505SM_manual_cn.doc

<4D F736F F D20C7B6C8EBCABDCFB5CDB3C9E8BCC6CAA6BFBCCAD4B4F3B8D92E646F63>

图 片 展 示 : 资 源 简 介 : FPGA Altera CycloneII EP2C5T144C8 (4608 个 LE) 2 路 有 源 晶 振 (50M,25M) AS & JTAG 标 准 接 口 VGA 接 口 UART 接 口 蜂 鸣 器 8bit 并 行 DAC 8 路 按 键

712s

f2.eps

K7VT2_QIG_v3

目 录

穨IC-1000

技 术 支 持 电 话 传 真 电 子 邮 件 网 址 CONVERGE PRO 880/880T/840T/8i, CON

Chroma 61500/ bit / RMS RMS VA ()61500 DSP THD /61508/61507/61609/61608/ (61500 ) Chroma STEP PULSE : LISTLIST 100 AC DC

mvc

Symantec™ Sygate Enterprise Protection 防护代理安装使用指南

KT-SOPCx开发套件简明教程

Abstract arm linux tool-chain root NET-Start! 2

员工签到录

ebook140-8

目 录 目 录 1. 安 装 和 快 速 入 门 附 件 1.1 随 机 附 件 附 件 信 息... 3 连 接 和 设 定 1.3 连 接 记 录 纸... 4 快 速 入 门 1.5 发 送 传 真 / 复 印 接 收 传 真

第 15 章 程 式 編 写 語 言 15.1 程 式 編 写 語 言 的 角 色 程 式 編 寫 語 言 是 程 式 編 寫 員 與 電 腦 溝 通 的 界 面 語 法 是 一 組 規 則 讓 程 式 編 寫 員 將 字 詞 集 合 起 來 電 腦 是 處 理 位 元 和 字 節 的 機 器, 與

DR2010.doc

新建 Microsoft Word 文档.doc

Microsoft Word - 11.doc

宏电文档

untitled

Serial ATA ( Nvidia nforce430)...2 (1) SATA... 2 (2) B I O S S A T A... 3 (3) RAID BIOS RAID... 6 (4) S A T A... 9 (5) S A T A (6) Microsoft Win

Panasonic ( ) : : Microsoft Windows / Pentium / Intel : ( PCC ) PCC Panasonic Communications Co., Ltd

Tel:

操作指导手册

untitled

SDP

Section1_16bit Arc.ppt


BC04 Module_antenna__ doc

言1.PDF

SPMC75F2413A_EVM_使用说明_V1.2.doc

Model P53 pH-ORP Analyzer CH.doc

untitled

Oracle Solaris Studio makefile C C++ Fortran IDE Solaris Linux C/C++/Fortran IDE "Project Properties" IDE makefile 1.

WebSphere Studio Application Developer IBM Portal Toolkit... 2/21 1. WebSphere Portal Portal WebSphere Application Server stopserver.bat -configfile..

untitled

目 錄 版 次 變 更 記 錄... 2 原 始 程 式 碼 類 型 之 使 用 手 冊... 3 一 安 裝 軟 體 套 件 事 前 準 備... 3 二 編 譯 流 程 說 明

RAID RAID 0 RAID 1 RAID 5 RAID * ( -1)* ( /2)* No Yes Yes Yes A. B. BIOS SATA C. RAID BIOS RAID ( ) D. SATA RAID/AHCI ( ) SATA M.2 SSD ( )

2.5 idlocs PIC idloc idloc 0x1234 ; 0x config idloc HEX errorlevel errorlevel Error (Warning) Message HEX 3-14 errorlevel

<4D F736F F D20B5E7D7D3D0C5CFA2C0E0D7A8D2B5C5E0D1F8B7BDB0B8D0DEB6C1D6B8C4CF2E646F63>

ATMEL AT90S8515 AVR CPU AVR AVR AVR ATMEL RISC 32 8 r0 r X Y Z R0 R1 R2 R13 R14 R15 R16 R17 R26 R27 R28 R29 R30 R31 0x00 0x

Ác Åé å Serial ATA ( nvidia nforce4 SLI) S A T A (1) SATA (2) BIOS SATA (3)* RAID BIOS RAID (4) SATA (5) SATA (a) S A T A ( S A T A R A I D ) (b) (c)

IT (1) IDE... 2 (2) BIOS IDE RAID... 3 (3) RAID BIOS RAID... 5 (4) R A I D (5) ID E RA ID... 15

untitled


錄...1 說...2 說 說...5 六 率 POST PAY PREPAY DEPOSIT 更

PCM-3386用户手册.doc

33023A.book(31001A_cn.fm)

DPJJX1.DOC

简 介 本 白 皮 书 高 度 概 述 了 支 持 移 动 互 联 网 设 备 (Mobile Internet Device) 的 Intel C++ Software Development Tool Suite for Linux* OS, 目 标 读 者 主 要 是 技 术 决 策 制 订

Microsoft Word - Sable User's Manual.doc

SPHE8202R Design Guide Important Notice SUNPLUS TECHNOLOGY CO. reserves the right to change this documentation without prior notice. Information provi

HY144-D-SRC 固件升级指南

行业

Cadence SPB 15.2 VOICE Cadence SPB 15.2 PC Cadence 3 (1) CD1 1of 2 (2) CD2 2of 2 (3) CD3 Concept HDL 1of 1


P3B-F Pentium III/II/Celeron TM

Transcription:

MPLAB ICD2 MPLAB ICD2 PIC MPLAB-IDE V6.0 ICD2 usb PC RS232 MPLAB IDE PC PC 2.0 5.5V LED EEDATA MPLAB ICD2 Microchip MPLAB-IDE v6.0 Windows 95/98 Windows NT Windows 2000 www.elc-mcu.com 1

ICD2...4 1.1 ICD2...4 1.2 ICD2...4 1.3...6 1.4...9...9 ICD2...9 3.1...9 3.2 ICD2...9 3.2.1...9 3.2.2...10 3.2.2.1...10 3.2.2.2...10 3.2.2.3...10 3.2.2.4...11 3.2.2.5...12 3.2.3 CONFIG...12 3.2.4...12 3.3...13 3.3.1...13 3.3.2...13 3.4 ICD2...14 3.4.1...14 3.4.1.1...14 3.4.1.2...14 3.4.1.3...14 3.4.2...15 3.4.2.1...15 3.4.2.2...15 3.4.2.3...15 3.5...16 3.5.1...16 3.5.2...16 3.5.3...16 3.5.4...16 ICD2...17 4.1 ICD2...17 4.1.1...17 4.1.2...17 4.1.2.1...17 4.1.2.2...17 4.1.2.3...17 4.1.2.4...17 4.1.2.5...17 4.1.3 CONFIG...17 4.2...18 4.3...18...18 www.elc-mcu.com 2

ICD2 1.1 ICD2 ICD2 ICD2 1 MPLAB ICD2 MPLAB IDE 2 RS232 1.2 ICD2 ----------------------------------------------------------------- MPLAB IDE V6.62) ----------------------------------------------------------------- -------- dspic30f2010 PIC16F747 PIC18F2439 PIC18F4539 dspic30f2011* PIC16F767 PIC18F2455* PIC18F4550* dspic30f2012* PIC16F777 PIC18F248 PIC18F458 dspic30f3012* PIC16F818 PIC18F2510* PIC18F4585* dspic30f3013* PIC16F819 PIC18F2515* PIC18F4610* dspic30f3014* PIC16F87 PIC18F252 PIC18F4620* dspic30f4011 PIC16F870 PIC18F2520* PIC18F4680* dspic30f4012 PIC16F871 PIC18F2525* PIC18F4681* dspic30f4013* PIC16F872 PIC18F2539 PIC18F6310* dspic30f5011 PIC16F873 PIC18F2550* PIC18F6390* dspic30f5013 PIC16F873A PIC18F258 PIC18F6410* dspic30f6010 PIC16F874 PIC18F2585* PIC18F6490* dspic30f6011 PIC16F874A PIC18F2610* PIC18F6520 dspic30f6012 PIC16F876 PIC18F2620* PIC18F6525 dspic30f6013 PIC16F876A PIC18F2680* PIC18F6585 dspic30f6014 PIC16F877 PIC18F2681* PIC18F6620 PIC12F629! PIC16F877A PIC18F4220 PIC18F6621 PIC12F635! PIC16F88 PIC18F4320 PIC18F6680 PIC12F675! PIC16F916* PIC18F4331 PIC18F6720 PIC12F683 PIC16F917* PIC18F4410* PIC18F8310* PIC16F627A! PIC18C601 PIC18F442 PIC18F8390* PIC16F628A! PIC18C801 PIC18F4420* PIC18F8410* PIC16F630! PIC18F1220 PIC18F4431 PIC18F8490* PIC16F636! PIC18F1320 PIC18F4439 PIC18F8520 PIC16F639* PIC18F2220 PIC18F4455* PIC18F8525 PIC16F648A! PIC18F2320 PIC18F448 PIC18F8585 PIC16F676! PIC18F2331 PIC18F4510* PIC18F8620 PIC16F684! PIC18F2410* PIC18F4515* PIC18F8621 PIC16F688! PIC18F242 PIC18F452 PIC18F8680 PIC16F716! PIC18F2420* PIC18F4520* PIC18F8720 PIC16F737 PIC18F2431 PIC18F4525* ---------- dspic30f2010 PIC16F648A PIC18F2320 PIC18F4520* dspic30f2011* PIC16F676 PIC18F2331 PIC18F4525* dspic30f2012* PIC16F684 PIC18F2410* PIC18F4539 dspic30f3012* PIC16F688 PIC18F242 PIC18F4550* www.elc-mcu.com 3

dspic30f3013* PIC16F716 PIC18F2420* PIC18F458 dspic30f3014* PIC16F73* PIC18F2431 PIC18F4585 dspic30f4011* PIC16F737 PIC18F2439 PIC18F4610* dspic30f4012* PIC16F74* PIC18F2455* PIC18F4620 dspic30f4013* PIC16F747 PIC18F248 PIC18F4680 dspic30f5011 PIC16F76* PIC18F2510* PIC18F4681* dspic30f5013 PIC16F767 PIC18F2515* PIC18F6310* dspic30f6010 PIC16F77* PIC18F252 PIC18F6390* dspic30f6011 PIC16F777 PIC18F2520* PIC18F6410* dspic30f6012 PIC16F818 PIC18F2525* PIC18F6490* dspic30f6013 PIC16F819 PIC18F2539 PIC18F6520 dspic30f6014 PIC16F87 PIC18F2550* PIC18F6525 PIC10F200!! PIC16F870 PIC18F258 PIC18F6585 PIC10F202!! PIC16F871 PIC18F2585 PIC18F6620 PIC10F204!! PIC16F872 PIC18F2610* PIC18F6621 PIC10F206!! PIC16F873 PIC18F2620 PIC18F6680 PIC12F508 PIC16F873A PIC18F2680 PIC18F6720 PIC12F509 PIC16F874 PIC18F2681* PIC18F8310* PIC12F629 PIC16F874A PIC18F4220 PIC18F8390* PIC12F635 PIC16F876 PIC18F4320 PIC18F8410* PIC12F675 PIC16F876A PIC18F4331 PIC18F8490* PIC12F683 PIC16F877 PIC18F4410* PIC18F8520 PIC16F505 PIC16F877A PIC18F442 PIC18F8525 PIC16F54 PIC16F88 PIC18F4420* PIC18F8585 PIC16F57 PIC16F916* PIC18F4431 PIC18F8620 PIC16F59 PIC16F917* PIC18F4439 PIC18F8621 PIC16F627A PIC18C601 PIC18F4455* PIC18F8680 PIC16F628A PIC18C801 PIC18F448 PIC18F8720 PIC16F630 PIC18F1220 PIC18F4510* PIC16F636 PIC18F1320 PIC18F4515* PIC16F639* PIC18F2220 PIC18F452 *! ICD2!! PIC10F2XX Microchip 1.3 MPLAB ICD 1 www.elc-mcu.com 4

1 ICD ICD ICD2 40Pin DIP 1 6 ICD ICD2 2 40Pin IC PIC ICD2 8Pin PIC12F629/675/683 ICD ICD PIC16F877 PIC16F87X 2 2 8Pin 14Pin PIC16F630/676 PIC12F635, PIC16F636 PIC16F684 PIC16F688 3 www.elc-mcu.com 5

3 14Pin 18Pin PIC16F627A/628A/648A PIC16F716 4 4 18Pin DEMO40 DEMO40 A/D 0 5V 4 LCD RB 4 4 www.elc-mcu.com 6

LED 4 LED CPU PIC16F877A SPI 74HC595 LED ST7920A GXM12232E 8192 16X16 128 16X8 64x256 GDRAM 256 ICON RAM LCD D/A MAX518 PIC16F877A IIC D/A MAX232 PIC16F877A SCI RS232 PC PWM 32.768KHz 1 EEPROM EEPROM 93C46 PIC16F877A SPI 4 ICD ICD1 ICD2 DEMO40 28 40Pin DIP 6 1.4 6 ICD2 5 5 ICD2 6 2.1 MPLAB-IDE ICD2 MPLAB-IDEV6.XX Microchip ICD2 MPLAB-IDE6.62 V6.62 MPLAB6.62.EXE www.elc-mcu.com 7

HI-TECH PICC ME16 C HI-TECH PICC Suite ICD2 3.1 1 RS232 PC ICD2 2 6 ICD2 3 4 ICD2 ICD2 2 3 6 ICD2 3.2 ICD2 3.2.1 Configure->Select Device 6 6 Microchip Programmer Tool Support Microchip Debugger Tool Support Microchip 1 2 3 OK 3.2.2 3.2.2.1 ICD2 MPLAB IDE Debugger->Select Tool MPLAB ICD2 www.elc-mcu.com 8

MPLAB IDE usb RS232 ICD2 Connecting to MPLAB ICD 2 ICD0019: Failed to open communications: Non-existent port ICD0021: Unable to connect with MPLAB ICD 2ICD0021: Unable to connect with MPLAB ICD 2 MPLAB ICD 2 Ready 3.2.2.2 Debugger->Settings ICD Debugger Communication Port COM Baud Rate 7 7 ICD2 MPLAB IDE ICDWarn0030: ICD2 is about to download a new operating system...downloading Operating System ICD2 ICDWarn0034: Please ensure that your system's serial FIFO buffers are disabled. FIFO FIFO ICD2 Target Device **** found ICDWarn0020:Invaild target device id.. 6 3.2.2.3 ICD Debugger Program Select Memories ID www.elc-mcu.com 9

Program Memory Address 0x10 ICD2 255 3.2.2.4 ICD2 Power target circuit from MPLAB ICD2 Debugger Power 9 500 Power target circuit from MPLAB ICD2 ICD2 Update Vdd Vpp www.elc-mcu.com 10

3.2.2.5 ICD Debugger Status Warning Limitation ICD2 Versions ICD Debugger ICD Debugger X 3.2.3 CONFIG CONFIG Configure->Configuration Bits Configuration Bits 10 10 Configuration Setting ICD2 Low Voltage Program Code Protect ICD2 3.2.4 C Project->Set Language Tool Locations Set Language Tool Locations HITECH PICC Executables 11 www.elc-mcu.com 11

11 PICC Assembler PICC Complier PICC Linker C:\HT-PIC\bin\picc.exe PC HITECH PICC 3.3 3.3.1 MPLAB IDE Project->New Project Project Name Browse OK mcp 3.3.2 *.mcw *.mcp Source Files Head Object Files Library Files 12 www.elc-mcu.com 12

12 Add Files 3.4 ICD2 3.4.1 3.4.1.1 Debugger->Connect Output MPLAB ICD2 Target Device **** found revision=** 13 ICDWarn0020:Invaild target device id.. 6 13 3.4.1.2 Project->Build All Output Build.hex www.elc-mcu.com 13

3.4.1.3 Output Build.hex CONFIG Config MCLR 3.4.2 ICD2 3.4.2.1 ICD2 Run Halt ICD2 Flash ICD2 -> Step Into Step Over CALL Reset PC C PC main() 3.4.2.2 RAM ICD2 3.4.2.3 View->Watch Watch 14 14 Add SFR Add SFR Add Symbol Watch1 ~ Watch4 4 www.elc-mcu.com 14

ICD2 EEPROM View 3.5 MPLAB ICD2 ICD2 MPLAB-IDE ICD2 3.5.1 ICD2 1 2 ICD2 3 4 MPLAB-IDE IDE 5 3.5.2 ICD2 1 SLEEP 2 WDT 3 4 3.5.3 PIC12F629/675 PIC16F630/676 1 2 MCLR 3 GP1/RA1 4 GPIO PIC18FXXX 1 00 8 00 8 0x10 0x12 0x1F 0x14 2 PICXX20 AVDD AVSS 3.5.4 MPLAB ICD2 1 MCLR 2 2 3 RAM ICD2 ICD2 4.1 ICD2 4.1.1 Configure->Select Device Microchip Programmer Tool Support Microchip www.elc-mcu.com 15

1 2 3 OK 4.1.2 4.1.2.1 ICD2 MPLAB IDE Programmer->Select Programmer MPLAB ICD2 Connecting to MPLAB ICD 2 ICD0019: Failed to open communications: Non-existent port ICD0021: Unable to connect with MPLAB ICD 2ICD0021: Unable to connect with MPLAB ICD 2 MPLAB ICD 2 Ready MPLAB USB com ICD2 Target Device **** found ICDWarn0020:Invaild target device id.. 6 4.1.2.2 MPLAB ICD 2 Settings Program 4.1.2.3 MPLAB ICD 2 Settings Power Power target circuit from MPLAB ICD2 ICD2 Update Vdd Vpp 4.1.2.4 MPLAB ICD 2 Settings a) Status b) Warning c) Limitation ICD2 d) Versions MPLAB ICD 2 Settings MPLAB ICD 2 Settings X 4.1.3 CONFIG CONFIG Configure->Configuration Bits Setting Low Voltage Program 4.2 (.hex ) File->Import hex Programmer->Read CONFIG 4.3 www.elc-mcu.com 16

Programmer Program Read 0 Verify Erase Part Blank Check 6.1.01 ICDWarn0020:Invaild target device id.. 6.1.02 ICDWarn0019 Debug mode is not enabled.. 6.1.1 5 PGC PGD VPP PICmicro PICmicro AVSS AVPP 6.1.2 ICD MPLAB ICD 2 8 6 I/O 3 bond-out PICmicro bond-out PICmicro MPLAB ICD 2 MPLAB ICD 2 ICD 2 bond-out PICmicro bond-out PICmicro ICD ICD 2 VPP PGC PGD MPLAB ICD 2 6.1.3 MPLAB ICD 2 MPLAB ICD 2 LED USB PC RS-232 MPLAB ICD 2 USB USB USB Windows MPLAB ICD 2 USB USB USB MPLAB ICD 2 6.1.4 ICD 2 Target not in debug modeerror. MPLAB ICD 2 Debugger>Program PICmicro Background Debug Config>Configuration Bits... 6.1.5 MPLAB ICD 2 PICmicro VDD 2V MPLAB ICD 2 / / www.elc-mcu.com 17

VDD MPLAB ICD 2 FLASH MPLAB ICD 2 Settings VDD From Target 6.1.6 MPLAB ICD 2 LVP VDD MPLAB ICD 2 VPP +12V 6.1.7 PLL MPLAB ICD 2 PICmicro PLL PICmicro PLL PLL 6.1.8 Add New Hardware No, the device isn t in the list. No, I want to select the hardware from a list. UniversalSerial Bus Controller, Have Disk... 6.1.9 MPLAB ICD 2 MPLAB ICD 2 MPLAB ICD 2 MPLAB ICD 2 6.1.10 MPLAB ICD 2 PICmicro MPLAB ICD 2 6.1.11 EEDATA MPLAB ICD 2 EEDATA EECON TABLRD MPLAB MPLAB ICD 2 EEDATA 6.1.12 Erase All Before Programming FLASH bank 6.1.13 MPLAB ICD 2 Port B GPIO? PGC PGD MPLABICD 2 PORT B PGC PGD Port B PGC PGD 6.1.14 6.1.15 PIC12F629/675 PIC16F630/676 MPLAB ICD 2 GP1/RA1 MPLAB ICD 2 Header DS51292 ICD 2 6.1.16 LED MPLAB ICD 2 MPLAB ICD 2 Power Busy LED Self Test MCLR=VPP 1 VPP 7-8V MPLAB ICD 2 6.1.17 MPLAB ICD 2 Self Test Self Test MPLAB ICD 2 VDD, Power from ICD2 MPLAB 2 VDD 5 V Power from target www.elc-mcu.com 18

VDD 2 6V Pass/Fail Advanced Power VDD / VPP MPLAB ICD 2 VPP/MCLR VPP Pass/Fail VPP/MCLR MCLR=Gnd MPLAB ICD 2 VPP/MCLR Pass/Fail VPP/MCLR 00 = Pass VDD 01 = Min error VDD 80 = Max error VDD 00 = Pass VPP 01 = Min error VPP 80 = Max error VPP 00 = Pass VPP/MCLR 80 = Max error VPP/MCLR MCLR=VDD Run MPLAB ICD 2 VDD VPP/MCLR Pass/Fail Advanced Power VDD / MCLR=VPP MPLAB ICD 2 VPP VPP/MCLR Pass/Fail VPP/MCLR 6.1.18 RETFIE W STATUS BSR CALL FAST MPLABICD 2 MPLAB ICD 2 CALL FAST RETURN FAST RETFIE 00 = Pass VDD VPP/MCLR 01 = Min error VDD VPP/MCLR 80 = Max error VDD VPP/MCLR 00 = Pass VPP VPP/MCLR 01 = Min error VPP VPP/MCLR 80 = Max error VPP VPP/MCLR 6.1.19 0001 0000 MPLAB ICD 2 0000 0001 0000 NOP 6.1.20 MPLAB IDE MPLAB ICD 2 6.1.21 PICmicro www.elc-mcu.com 19