View previous topic :: View next topic |
Author |
Message |
JimB
Joined: 25 Aug 2005 Posts: 65 Location: Huntington Beach, CA
|
What's the trick to get a program to run standalone. |
Posted: Sat Apr 29, 2006 7:39 pm |
|
|
I am not able to get my program to run when loading it for stand alone operation. I have removed the "ICD=TRUE" statement. I downloaded the new recompiled program. All the messages indicate that it has successfully been loaded, but when clicking on the run program.....nothing.. I have recycled the power to the board. I have done this before using examples but not this 3V version yet. However, it is functioning just fine when using the debugger mode. |
|
![](templates/subSilver/images/spacer.gif) |
asmallri
Joined: 12 Aug 2004 Posts: 1634 Location: Perth, Australia
|
|
Posted: Sat Apr 29, 2006 8:24 pm |
|
|
Check the the nodebug and nolvp fuses. _________________ Regards, Andrew
http://www.brushelectronics.com/software
Home of Ethernet, SD card and Encrypted Serial Bootloaders for PICs!! |
|
![](templates/subSilver/images/spacer.gif) |
Mark
Joined: 07 Sep 2003 Posts: 2838 Location: Atlanta, GA
|
|
Posted: Sun Apr 30, 2006 5:20 am |
|
|
If you are using MPLAB, then you need to select the ICD and a "Programmer" and download the program. There should not be a "Run" button since you are not debugging. You will need to also click on the "Release Reset" icon as well or remove the ICD connection.
If you are using CCS's IDE, then ignore my post since I do not use their IDE and I am not familiar with it. |
|
![](templates/subSilver/images/spacer.gif) |
JimB
Joined: 25 Aug 2005 Posts: 65 Location: Huntington Beach, CA
|
Am using the ICD-40U. |
Posted: Sun Apr 30, 2006 9:04 pm |
|
|
Sorry for not stating that I am using the CCS ICD-40U, the USB programmer. I have done standalone before no problem, now I'm missing something.
Also I changed a setting that allows the ICD Monitor function to work, somewhat. It will printf simple text but formatted hex output is jibberish. I have sent emails to CCS but nothing back from them yet. I haven't found any choices for the Monitor that would enable ASCII or whatever, as the SIOW monitor does. |
|
![](templates/subSilver/images/spacer.gif) |
Douglas Kennedy
Joined: 07 Sep 2003 Posts: 755 Location: Florida
|
|
Posted: Mon May 01, 2006 5:35 am |
|
|
Just in case you aren't doing this. You need to unplug the RJ11 connection to the ICDU-40 otherwise it it will control MCLR. |
|
![](templates/subSilver/images/spacer.gif) |
JimB
Joined: 25 Aug 2005 Posts: 65 Location: Huntington Beach, CA
|
|
Posted: Mon May 01, 2006 11:40 am |
|
|
Answer regarding the ICD monitor function. I just received an email from CCS.
"The ICD unit does not recognise the user data (B3) at low voltages. This is a flaw in the design. We should have a rev 5 unit out in a month that will fix the problem. Contact us then and we will exchange your unit for a rev 5 unit." |
|
![](templates/subSilver/images/spacer.gif) |
|