產品說明0
請注意,連接時看左右方向,請勿插反,以免燒壞PICkit-4下載器。
我是Microchip公司新推出的功能強大的調試編程工具PICkit 4,適用於現有的大部分和後續新推出的PIC和dsPIC系列單片機的仿真和編程。
相比PICkit 3,我的編程速度更快,支持更寬的工作電壓範圍和更多的調試接口。
另外我支持脫機燒錄功能,硬件增加了micro SD卡插槽,可用於外接micro SD卡存放代碼,並能夠從目標板取電。這意味著,你將可以把自己隨身攜帶的燒寫文件,拷貝到SD卡上進行脫機燒錄,還不用擔心容量不夠!
【我的功能特性】
- 8引腳單列直插頭(兼容ICSP/2-wire JTAG/4-wire JTAG/串行線調試)
- 自動匹配芯片時鐘,讓編程速度達到芯片所能允許的極限速度
- 支持更寬的工作電壓(1.20V~5.5V)
- 可選擇從目標板取電(2.7V~5.5V)
- 可由高速USB 2.0供電,無需外部電源
- 可進行固件升級,以便支持後續新推出的軟件和PIC芯片
- 支持脫機燒錄(Programmer-to-Go)*
- SD卡插槽來保存程序數據
- 按壓PICkit 4的logo即可對目標板編程
- 通過CE和RoHS認證
* 本產品已支持脫機燒錄功能。使用該功能,你須安裝MPLAB X IDE v5.30以上版本的軟件,並接上配套的16GB Micro SD卡用於存儲燒錄文件。
【我支持的軟件】
- 直接支持MPLAB X IDE 4.15以上版本(操作系統支持Windows 7/8/10,Mac OSX和Linux)
- 支持MPLAB IDE生成的燒寫文件的編程
【支持的器件】
- 如果安裝了MPLAB X IDE最新版,則可以瀏覽軟件安裝目錄底下的“doc”文件夾,打開文件“Device Support.htm”查看
或者直接從下列鏈接下載解壓查看:www.microchip.com/mplabx-ide -release-notes
PICkit 4資料官方下載鏈接:www.microchip.com/developmenttools/productdetails.aspx?partno=pg164140
PICkit 4使用方法:
1、電腦安裝最新版MPLAB X IDE(www.microchip.com/mplabx)
2、連接到目標板:
- 通過Micro-B USB線把PICkit 4接到電腦
- 通過轉接線或轉接頭把PICkit 4和目標板連接起來(參考下文的常用連接方式和接口定義)
- 給目標板外部供電
常用的連接方式如下:
——典型的調試器系統-帶有板上調試電路的器件
——替代調試器系統- ICE器件
3、創建,構建和運行項目:
- 有關安裝語言工具,創建或打開項目以及配置項目屬性的說明,請參見“MPLAB X IDE用戶指南”或聯機幫助。
- 檢查代碼中的配置位是否與下面的“配置位推薦設置”相匹配。
- 要以調試模式執行代碼,請執行調試運行。要以非調試(發布)模式執行代碼,請執行一次運行。
編程後要使器件處於復位狀態,請使用工具欄中的保持復位圖標。
配置位推薦設置:
PICkit 4接口定義
目標板接口設計說明
- 不要在PGC / PGD上使用上拉電阻:它們會中斷電壓電平,因為這些線路在調試器中有可編程的下拉電阻
- 不要在PGC / PGD上使用電容:在編程和調試通信期間,它們將阻止數據和時鐘線上的快速轉換
- 不要在MCLR上使用電容器:它們將阻止VPP快速轉換。一個簡單的上拉電阻通常就足夠了
- 不要在PGC / PGD上使用二極管:它們會阻止調試器和目標器件之間的雙向通信
- 不要超過推薦的電纜長度:請參閱MPLAB PICkit 4在線幫助的硬件規格或電纜長度的用戶指南
相關文件
The MPLAB® PICkit™ 4 In-Circuit Debugger/Programmer allows fast and easy debugging and programming of PIC® and dsPIC® flash microcontrollers, using the powerful graphical user interface of MPLAB X Integrated Development Environment (IDE), version 4.15. The MPLAB PICkit 4 is connected to the design engineer's computer using a high-speed 2.0 USB interface and can be connected to the target via an 8-pin Single In-Line (SIL) connector. The connector uses two device I/O pins and the reset line to implement in-circuit debugging and In-Circuit Serial Programming™ (ICSP™). An additional micro SD card slot and the ability to be self-powered from the target means you can take your code with you and program on the go.*
PICkit 4 supports advanced interfaces such as 4-wire JTAG and Serial Wire Debug with streaming Data Gateway, while being backward compatible for demo boards, headers and target systems using 2-wire JTAG and ICSP. The PICkit 4 also has a unique programmer-to-go function with the addition of a micro SD card slot to hold project code and the ability to be powered by the target board.*
The MPLAB PICkit 4 In-Circuit Debugger/Programmer supports many, but not all, PIC MCUs and dsPIC DSCs at this time. The firmware is continually being upgraded to add support for new devices. To request priority device support or to report issues, email: PICkit4_Update@microchip.com
Features and Benefits
Matches silicon clocking speed - Programs as fast as the device will allow
Target voltage of 1.20V to 5.5V - Wide target voltage supports a variety of devices
Can supply up to 50mA of power to the target - Can be powered from the target to program in the field*
Minimal current consumption at <100μA from target
Portable USB-powered and RoHS-compliant
8-pin single in-line header - Supports advanced interfaces such as 4-wire JTAG and Serial Wire Debug with streaming Data Gateway
Backward compatible for demo boards, headers and target systems using 2-wire JTAG and ICSP
Option to be self-powered from the target (2.7V to 5.5V)
Programmer-to-Go (PTG) support
Kit Contains
MPLAB PICkit 4 In-Circuit Debugger/Programmer
USB to micro-B USB cable
2 MPLAB PICKit 4 stickers