I used first time ICD-U40. It is very nice. I want to same question.
1- in debug mode, at watch screen, I add the one varible (that is used in my program like below) this varible value only updated when I click the stop buton(red). why I didn't sea the variable value with updated form when running mode
int x=0;
main(){
while(true)
{
x++;
delay_ms(1000);
}
}
2-I have a USB developing kits with ICD-U40. If I make the new pic application developing card. Can I use the ICD-U40 with this card without adding any code to my pic? (Only I want to connect ICD-U40 and pic according to USB developing kits )
3-If I want to download the program to pic without ICD-U40. What can I do? In other words, I make same circuit and it is working and I want to dowload the my modification code to pic without disconnetting the pic from board.
TL
Joined: 15 Sep 2003 Posts: 75
Posted: Thu Dec 28, 2006 4:42 pm
1. Your variables in the watch window of the debugger do NOT get updated on the fly. You must set a breakpoint to view any variable contents. eg. Set a breakpoint on delay_ms(1000) and when it stops at that line, you can view the contents of 'x' (the counter).
2. I cannot comment because I have not used the CCS USB dev kit.
3. I'm not sure if I understood your problem. Basically if you don't use the ICD-U40, you have to program the pic using a programmer eg. Microchip PM3, Warp13A, etc.
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