1 | Target detected |
2 | Device ID Revision = A1 |
3 | |
4 | The following memory area(s) will be programmed: |
5 | program memory: start address = 0x0, end address = 0x1ffff |
6 | boot config memory |
7 | configuration memory |
8 | |
9 | Programming... |
10 | Programming/Verify complete |
11 | The target device is not ready for debugging. Please check your configuration bit settings and program the device before proceeding |
Ehm und welches Bit ist hier gemeint? Ich habe die config von einem PIC32MX795 übernommen
1 | #pragma config DEBUG = ON // Hab ich vorher nie gebraucht aber jetzt geht es damit auch nicht. |
2 | |
3 | |
4 | #pragma config FPLLODIV = DIV_1 // PLL Output Divider |
5 | #pragma config FPBDIV = DIV_1 // Peripheral Clock divisor |
6 | #pragma config FPLLMUL = MUL_20 // PLL Multiplier |
7 | #pragma config FPLLIDIV = DIV_2 // PLL Input Divider |
8 | |
9 | // Watchdog |
10 | #pragma config FWDTEN = OFF // Watchdog Timer |
11 | #pragma config WDTPS = PS1 // Watchdog Timer Postscale |
12 | |
13 | // other |
14 | #pragma config FCKSM = CSDCMD // Clock Switching & Fail Safe Clock Monitor |
15 | #pragma config OSCIOFNC = OFF // CLKO Enable |
16 | #pragma config POSCMOD = XT // Primary Oscillator |
17 | #pragma config IESO = OFF // Internal/External Switch-over |
18 | #pragma config FSOSCEN = OFF // Secondary Oscillator Enable (KLO was off) |
19 | #pragma config FNOSC = PRIPLL // Oscillator Selection |
20 | |
21 | // PGC |
22 | // #pragma config ICESEL = ICS_PGx2 // ICE/ICD Comm Channel Select |
23 | |
24 | // Code Protect |
25 | #pragma config CP = OFF // Code Protect |
26 | #pragma config BWP = OFF // Boot Flash Write Protect |
27 | #pragma config PWP = OFF // Program Flash Write Protect |
28 | #endif |