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

What's the trick to get a program to run standalone.

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



Joined: 25 Aug 2005
Posts: 65
Location: Huntington Beach, CA

View user's profile Send private message

What's the trick to get a program to run standalone.
PostPosted: Sat Apr 29, 2006 7:39 pm     Reply with quote

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



Joined: 12 Aug 2004
Posts: 1634
Location: Perth, Australia

View user's profile Send private message Send e-mail Visit poster's website

PostPosted: Sat Apr 29, 2006 8:24 pm     Reply with quote

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!!
Mark



Joined: 07 Sep 2003
Posts: 2838
Location: Atlanta, GA

View user's profile Send private message Send e-mail

PostPosted: Sun Apr 30, 2006 5:20 am     Reply with quote

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



Joined: 25 Aug 2005
Posts: 65
Location: Huntington Beach, CA

View user's profile Send private message

Am using the ICD-40U.
PostPosted: Sun Apr 30, 2006 9:04 pm     Reply with quote

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.
Douglas Kennedy



Joined: 07 Sep 2003
Posts: 755
Location: Florida

View user's profile Send private message AIM Address

PostPosted: Mon May 01, 2006 5:35 am     Reply with quote

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



Joined: 25 Aug 2005
Posts: 65
Location: Huntington Beach, CA

View user's profile Send private message

PostPosted: Mon May 01, 2006 11:40 am     Reply with quote

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