CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

MPLAB EMUC2 in code with V4.130 on PIC24FJ128GA010 ( closed)

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
pmarie196



Joined: 12 Mar 2012
Posts: 2

View user's profile Send private message

MPLAB EMUC2 in code with V4.130 on PIC24FJ128GA010 ( closed)
PostPosted: Mon Mar 12, 2012 4:11 am     Reply with quote

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
pmarie196



Joined: 12 Mar 2012
Posts: 2

View user's profile Send private message

Subject already open, Sorry
PostPosted: Mon Mar 12, 2012 4:26 am     Reply with quote

I just do a research and find an answer:
Don't use ICSP2 but ICD=2 .
I test it and it work for me.
Perhaps a new documentation from CCS will be good.
Regards to all.
PhilippeM
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group