pmarie196
Joined: 12 Mar 2012 Posts: 2
|
MPLAB EMUC2 in code with V4.130 on PIC24FJ128GA010 ( closed) |
Posted: Mon Mar 12, 2012 4:11 am |
|
|
HI,
I try to use alternative port for emulation on a Explorer 16 Development Board.
Here is my code for fuse:
Code: | #include <24FJ128GA010.h>
#DEVICE ICD=TRUE
#FUSES ICSP2
#FUSES XT,PR_PLL,OSCIO,NOIESO
#FUSES NOPROTECT, NOWRT, NOJTAG, NOWINDIS
#FUSES NOWDT //No Watch Dog Timer
#FUSES DEBUG //Debug mode for use with ICD
#FUSES NOCKSFSM //
|
I use MPLAB V8.84.00.00, CCS V4.130, and a PIC 24FJ128GA010.
I set MPLAB to read configuration bit in code.
Each time i run a compilation, the bit affected to EMU is set to EMUC1 and EMUD1.
The only solution for me is to disable the option in MPLAB "configuration Bit in code" and after each compilation to set the configuration to EMUC2/EMUD2 in manual before programme the PIC24FJ128GA010.
What i do wrong?
Thanks
PhilippeM
Last edited by pmarie196 on Mon Mar 12, 2012 4:26 am; edited 1 time in total |
|