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 support@ccsinfo.com

Difference with running code under the debugger

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







Difference with running code under the debugger
PostPosted: Mon May 12, 2008 10:03 am     Reply with quote

I'm developing some code for a 18f4620 that uses software SPI (SPI_Xfer). The code works perfectly when run under the debugger (enable the debugger and press Run). However, if I program the chip to run standalone, I end up having errors in my SPI comms. My first thought was some kind of timing problem, but I've added delays everywhere I could think of and still having the same issue. Is there something obviously different when running the debugger.

Thanks,

Zach

Running ver 4.041

P.S. I would post the code, but there are some non-distributable portions.
Ken Johnson



Joined: 23 Mar 2006
Posts: 197
Location: Lewisburg, WV

View user's profile Send private message

PostPosted: Mon May 12, 2008 11:16 am     Reply with quote

watchdog timer?

gets me every time :(

Ken
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