View previous topic :: View next topic |
Author |
Message |
SuMa
Joined: 02 Mar 2006 Posts: 11
|
Changing from 3.120 to 3.249 version |
Posted: Mon Jun 12, 2006 8:07 am |
|
|
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
|
|
Posted: Mon Jun 12, 2006 8:21 am |
|
|
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
|
|
Posted: Mon Jun 12, 2006 8:40 am |
|
|
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
|
|
Posted: Mon Jun 12, 2006 9:27 am |
|
|
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
|
|
Posted: Mon Jun 12, 2006 10:30 am |
|
|
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! |
|
|
|