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

run in debug mode but not in normal mode

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



Joined: 11 Jul 2007
Posts: 2

View user's profile Send private message

run in debug mode but not in normal mode
PostPosted: Wed Jul 11, 2007 3:20 am     Reply with quote

Hello!
I have a big problem...
I have written a program for a PIC18F258 that consists in switch on some leds, but it only runs in debug mode... when I want to program the pic in normal mode, the pic doesn`t switch on the leds. The corresponding pins are floating, so sometimes the leds shine and sometimes donĀ“t...

What would be the problem? I check all the circuit and there aren`t any shorcut, i have changed the pic but it isn`t the problem...
Could the oscillator be the problem?

Thank you everybody and sorry about my english... I am spanish
ckielstra



Joined: 18 Mar 2004
Posts: 3680
Location: The Netherlands

View user's profile Send private message

PostPosted: Wed Jul 11, 2007 4:14 am     Reply with quote

Which programmer are you using?
Which IDE are you using? (MPLAB or the CCS IDE?)
Guest








PostPosted: Wed Jul 18, 2007 5:05 pm     Reply with quote

Hi

Had same problem, if using MPLAB and ICD 2 switch from debugger to progammer mode and all should work fine.
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