PIC MCLRE=0 - ausgesperrt?

#2500633
Lesenswert?

Hallo,

ich habe mir ein MCP2200EV-VCP[1] Kit besorgt und weil es sich ja  bei 
dem MCP2200 bekanntlich um einen PIC18F14K50 handelt, habe ich mal die 
USB-CDC-Serial-Demo Firmware aus der  Microchip Application Library 
geflasht. Das funktionierte auch super. Jedoch habe ich nicht bemerkt, 
dass MCLRE=0 ist und kann den µC nun nicht erneut flashen. Ich habe ein 
PICKIT3-Clone[2] aus der Bucht verwendet. Meine configuration bits sehen 
so aus:
1
        #pragma config CPUDIV = NOCLKDIV
2
        #pragma config USBDIV = OFF
3
        #pragma config FOSC   = HS
4
        #pragma config PLLEN  = ON
5
        #pragma config FCMEN  = OFF
6
        #pragma config IESO   = OFF
7
        #pragma config PWRTEN = OFF
8
        #pragma config BOREN  = OFF
9
        #pragma config BORV   = 30
10
        #pragma config WDTEN  = OFF
11
        #pragma config WDTPS  = 32768
12
        #pragma config MCLRE  = ON    // war vorher off
13
        #pragma config HFOFST = OFF
14
        #pragma config STVREN = ON
15
        #pragma config LVP    = OFF
16
        #pragma config XINST  = OFF
17
        #pragma config BBSIZ  = OFF
18
        #pragma config CP0    = OFF
19
        #pragma config CP1    = OFF
20
        #pragma config CPB    = OFF
21
        #pragma config WRT0   = OFF
22
        #pragma config WRT1   = OFF
23
        #pragma config WRTB   = OFF
24
        #pragma config WRTC   = OFF
25
        #pragma config EBTR0  = OFF
26
        #pragma config EBTR1  = OFF
27
        #pragma config EBTRB  = OFF
28
        #pragma config DEBUG  = OFF

Was kann ich nun tun?

[1]http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=1406&dDocName=en547372

[2]http://dangerousprototypes.com/2011/12/19/sure-electronics-pickit-3-clone-review/

Gruß Oliver

Antwort schreiben

Bitte melde dich an, um einen Beitrag zu schreiben.

oder

Mit Google-Account einloggen

Die Registrierung ist kostenlos und dauert nur eine Minute.

Jetzt registrieren