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

3.249 odd behaviour with 18F6720 ???

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



Joined: 29 May 2006
Posts: 1
Location: Buenos Aires - Argentina

View user's profile Send private message

3.249 odd behaviour with 18F6720 ???
PostPosted: Thu Jun 01, 2006 9:18 am     Reply with quote

Hi there,

We bought this version some weeks ago and honestly I'm surprised of its "random" compilations...

Our project is pretty simple, just communications with a couple of serial devices (GSM module and a GPS receiver) and have not interrupts nor anything special, just reading the devices answers and sending AT commands to the GSM module.

With every single compilation (and minor changes, but not relevants to the whole program structure nor logic) the behaviour of the uploaded hex file is absolutelly random... i.e. at startup we send several AT commands to the GSM module (via fprintf and a stream defined with #use rs232) and we parse the response (obtained byte to byte or with fgets), but sometimes 3 of seven commands are sent and then hungs, sometimes everything works, some time just hungs at startup, and not to mention if we change the #opt level...

This is not related to hardware because it happens with several boards we have, and some other "test" programs we wrote works perfectly and the problem is not related to a specific part of code or function, it does appears to be a kind of "size" problem or something like that because the odd behaviour appears not only communicating with the GSM module, some times when it "appears to work" is internally clearing (or overwriting?) some program variables, making the resulting hex an useless chunk of bytes...

Well, if someone has any clue for us in order to start using this product without this kind of crazy problems, will be welcome!

Thanks in advance,

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