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 CCS Technical Support

MPLAB ICD 2 power configuration

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



Joined: 25 Aug 2004
Posts: 66

View user's profile Send private message

MPLAB ICD 2 power configuration
PostPosted: Thu Jan 17, 2008 1:47 am     Reply with quote

Does anyone know how to set the MPLAB ICD 2 power options? My target system uses the PIC18LF2620 + ENC280J60 combination and thus runs at 3.3V. So I must make sure the ICD 2 is NOT set to provide power (5V) to the target system. I have not found an option to control this, so I don't even know what the default is.

One unrelated question... When the #device debug=true option is added, are the reserved resources the same for CCS's ICD and MPLAB ICD 2? If not, how can the compiler tell which resources to reserve? I had to remove a #reserve directive since it was incompatible with the debug=true option. So at least there is a partial overlap.

/Cheers, Ross.
treitmey



Joined: 23 Jan 2004
Posts: 1094
Location: Appleton,WI USA

View user's profile Send private message Visit poster's website

PostPosted: Thu Jan 17, 2008 9:05 am     Reply with quote

Under my mplab 7.40 it is under
programmer/settings/power/ power target checkbox

It may run at 3.3V but check if the chip is programmable at 3.3V. or MUST it be 5V
then check if 5V on vpp/mclr will feed into a 3.3V area

This may help
http://support2.microchip.com/KBSearch/KB_Ticket.aspx?ID=Tt6UJ9A0014N7

Does anyone have first hand experience with this setup?


Last edited by treitmey on Mon Jan 21, 2008 5:32 pm; edited 1 time in total
RossJ



Joined: 25 Aug 2004
Posts: 66

View user's profile Send private message

PostPosted: Thu Jan 17, 2008 4:49 pm     Reply with quote

Thanks treitmey for your response. I am already using the ICD2 under the MPLAB IDE and the debugger/programmer is fine. And yes, the settings you describe are the ones I have configured to control the target power.

I am now trying to use the recently added ICD2 support under the CCS C IDE. It is in this IDE that I cannot see how to control such things as target power. I could go to MPLAB and adjust the settings there and come back to CCS IDE, but I assume the debugger settings are stored in the MPLAB project files and not on a global basis. So this probably wouldn't work.

/Ross.
RossJ



Joined: 25 Aug 2004
Posts: 66

View user's profile Send private message

PostPosted: Mon Jan 21, 2008 5:07 pm     Reply with quote

I put this question to CCS and received the following response.
/Ross.

Quote:
Hi,
By default, the ICD2 does NOT supply power to the target. Currently there is no way to set power from the CCS debug environment and it assumes that the board is powered up externally.

Kaushik.
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