View previous topic :: View next topic |
Author |
Message |
bertronicom
Joined: 17 Nov 2004 Posts: 26 Location: University of Cantabria -SPAIN
|
Work debugging and without not |
Posted: Mon Apr 25, 2005 5:35 am |
|
|
CCS v3.223
ICD v2.29
I have working my program with debug but when I program with ICD the pic don't work.
#use delay(clock=4000000)
#fuses NOWDT,WDT128,XT, NOPROTECT, NOOSCSEN, BROWNOUT, BORV20, NOPUT, STVREN, NODEBUG, LVP, NOWRT, NOWRTD, NOWRTB, NOWRTC, NOCPD, NOCPB, NOEBTR, NOEBTRB
//#device ICD=true |
|
|
Guest
|
|
Posted: Mon Apr 25, 2005 6:56 am |
|
|
Can you post your fuse line for debugging. |
|
|
drolleman Guest
|
|
Posted: Mon Apr 25, 2005 7:44 am |
|
|
Make sure you set the the debuging off and dont program with debug but program mode. |
|
|
Mark
Joined: 07 Sep 2003 Posts: 2838 Location: Atlanta, GA
|
|
Posted: Mon Apr 25, 2005 10:31 am |
|
|
And remember to remove the programming/debugging header. It might be keeping the device in reset. There is a button on the programming toolbar in MPLAB to release from reset if you don't want to disconnect the programming header. |
|
|
treitmey
Joined: 23 Jan 2004 Posts: 1094 Location: Appleton,WI USA
|
|
Posted: Mon Apr 25, 2005 11:21 am |
|
|
And remember if your doing serial com to you PC. You may need a ground wire connecting the two. If you don't have a common reference, serial comm might not work well. You see with the ICD in place, it is providing that common gound. When you remove ICD the serial comm stops working. |
|
|
|