1 pièce(s) jointe(s)
Programmation Pickit 3 --> PIC32MX
Bonjour, je souhaite programmer ma carte avec mon pickit 3 mais j'ai des messages d'erreurs.
MPLAB IDE 8.70 : Target Device ID (00000000) does not match expected Device ID (00000420).
MPLAB X : The programmer could not be started: Could not connect to tool hardware: PICkit3PlatformTool, com.microchip.mplab.mdbcore.PICKit3Tool.PICkit3DbgToolManager.
Pickit 3 programmer : Ne trouve pas le PIC
J'ai déjà programmer ma carte avec un ICD 3. Les branchement sont correctes.
J'ai observé à l'oscilloscope que la broche MCLR était à l'état bas, or il me faut du 3.3V. Quand je programme et que la led "Statut" passe au rouge du PICKIT, j'ai un état haut...
Y a t-il une configuration à faire ?
Voilà ma config au cas où...
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
| #pragma config FVBUSONIO*** =** OFF
#pragma config FUSBIDIO**** =** OFF
#pragma config FCANIO****** =** OFF
#pragma config FETHIO****** =** OFF
#pragma config FMIIEN****** =** OFF
//#pragma config FSRSSEL*** =
#pragma config FPLLODIV**** =** DIV_1****** // PLL Output Divider
#pragma config UPLLEN****** =** OFF
//#pragma config UPLLDIV*** =
#pragma config FPLLMUL***** =** MUL_20***** // PLL Multiplier
#pragma config FPLLIDIV**** =** DIV_2****** // PLL Input Divider
#pragma config FWDTEN****** =** OFF******** // Watchdog Timer
//#pragma config WDTPS***** =** PS128****** // Watchdog Timer Postscale
//#pragma config FCKSM***** =****************** // Clock Switching & Fail Safe Clock Monitor
#pragma config FPBDIV****** =** DIV_1****** // Peripheral Clock divisor
//#pragma config OSCIOFNC** =****************** // CLKO Enable
#pragma config POSCMOD***** =** HS********* // Primary Oscillator
//#pragma config IESO****** =****************** // Internal/External Switch-over
#pragma config FSOSCEN***** =** OFF******** // Secondary Oscillator Enable (KLO was off)
#pragma config FNOSC******* =** PRIPLL***** // Oscillator Selection
#pragma config CP****** =** OFF******** // Code Protect
#pragma config BWP***** =** OFF******** // Boot Flash Write Protect
#pragma config PWP***** =** OFF******** // Program Flash Write Protect
//#pragma config ICESEL**** =** ICS_PGx1*** // ICE/ICD Comm Channel Select
#pragma config DEBUG******* =** ON********* // Background Debugger Enable
*
#define SYS_FREQ*********************** 80000000 |
Pièce jointe 151934