16-11-2015, 08:04 AM
dsPIC33FJ64GS606
Hola,
Me estoy volviendo loco, intento configurar este micro (dsPIC33FJ64GS606) para depuración con el MPLAB X (2.10) y el PICKIT 3. Y todo el rato me surge el mismo problema:
The target device is not ready for debugging. Please check your configuration bit settings and program the device before proceeding. The most common causes for this failure are oscillator and/or PGC/PGD settings.
En teoría estoy utilizando el puerto 3 de depuración (PGC3 --> pin 15 y PGD3 --> pin 16) y no le he puesto cristal externo (quiero que vaya con el interno de 8 MHz), pero no consigo pasar de ahí cada vez que voy a compilar...
Los bits de configuración que he puesto son:
CÓDIGO: SELECCIONAR TODO
/* Configuration bits */
_FOSCSEL(FNOSC_FRC)
_FOSC(FCKSM_CSECMD & OSCIOFNC_ON )
_FWDT(FWDTEN_OFF)
_FPOR(FPWRT_PWR128)
_FICD(ICS_PGD3 & JTAGEN_OFF)
¿Alguna idea?
S2
Ranganok Schahzaman
Hola,
Me estoy volviendo loco, intento configurar este micro (dsPIC33FJ64GS606) para depuración con el MPLAB X (2.10) y el PICKIT 3. Y todo el rato me surge el mismo problema:
The target device is not ready for debugging. Please check your configuration bit settings and program the device before proceeding. The most common causes for this failure are oscillator and/or PGC/PGD settings.
En teoría estoy utilizando el puerto 3 de depuración (PGC3 --> pin 15 y PGD3 --> pin 16) y no le he puesto cristal externo (quiero que vaya con el interno de 8 MHz), pero no consigo pasar de ahí cada vez que voy a compilar...
Los bits de configuración que he puesto son:
CÓDIGO: SELECCIONAR TODO
/* Configuration bits */
_FOSCSEL(FNOSC_FRC)
_FOSC(FCKSM_CSECMD & OSCIOFNC_ON )
_FWDT(FWDTEN_OFF)
_FPOR(FPWRT_PWR128)
_FICD(ICS_PGD3 & JTAGEN_OFF)
¿Alguna idea?
S2
Ranganok Schahzaman