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

Changing from 3.120 to 3.249 version

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



Joined: 02 Mar 2006
Posts: 11

View user's profile Send private message

Changing from 3.120 to 3.249 version
PostPosted: Mon Jun 12, 2006 8:07 am     Reply with quote

I have some problems with my new version of PCW. I get the latest one: PCW 3.249.
I don't have any problems to compile xxx.c that were working with the previous version. But when I download the code into the PIC, the PIC doesnt work. And I have used exactly the same document xxx.c I dont know why it works when I use it in the older version and not with the new one.
Could anyone give me a hand?
Thanks JP
rnielsen



Joined: 23 Sep 2003
Posts: 852
Location: Utah

View user's profile Send private message

PostPosted: Mon Jun 12, 2006 8:21 am     Reply with quote

Well, this is kind of like somebody coming up to you and saying that their foot hurts and asks what's wrong with it.

Detail... detail...

What's not working??? Is it not sending/receiveing serial characters? Is the I2C not functioning? Do the I/O ports not change?

Describe what's Not working, then we can give some suggestions.

Ronald
SuMa



Joined: 02 Mar 2006
Posts: 11

View user's profile Send private message

PostPosted: Mon Jun 12, 2006 8:40 am     Reply with quote

Thanks Rnielsen, for your interest.
My program analice a serial input. The serial data has: (an special header//the data itself//and the ending with a checksum bit). To analice the data the program measure the pulsewidth of each bit that is sent. Cheking if it is the proper header or not and cheking all the data sent and the checksum bit at the end.
Using the .hex file generated by the old version it works, but using the .hex file generated from the same .c by the new version it doesnt work.
sjbaxter



Joined: 26 Jan 2006
Posts: 141
Location: Cheshire, UK

View user's profile Send private message Visit poster's website

PostPosted: Mon Jun 12, 2006 9:27 am     Reply with quote

You either need to post the bit of code that is behaving differently or you need to spend some time yourself and do some debugging and pin-point where the code is going wrong.

You question is like me asking "My car worked on Friday, but today it doesn't work. Can you tell me what is wrong with it !!!"

It could be a complier problem. It could be your code !!! As rnielsen says, if you don't provide us with the information you have (i.e. code and specific symtoms), then you won't get any answers.

Post an example of source code that works ok when you compile it in the old version and doesn't in 3.249. Then we'll look at it.
_________________
Regards,
Simon.
rwyoung



Joined: 12 Nov 2003
Posts: 563
Location: Lawrence, KS USA

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

PostPosted: Mon Jun 12, 2006 10:30 am     Reply with quote

Compare LST files too.
_________________
Rob Young
The Screw-Up Fairy may just visit you but he has crashed on my couch for the last month!
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