View previous topic :: View next topic |
Author |
Message |
RossJ
Joined: 25 Aug 2004 Posts: 66
|
MPLAB ICD 2 power configuration |
Posted: Thu Jan 17, 2008 1:47 am |
|
|
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
|
|
Posted: Thu Jan 17, 2008 9:05 am |
|
|
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
|
|
Posted: Thu Jan 17, 2008 4:49 pm |
|
|
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
|
|
Posted: Mon Jan 21, 2008 5:07 pm |
|
|
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.
|
|
|
|
|