View previous topic :: View next topic |
Author |
Message |
hundil Guest
|
no error but code crashed after one float variable defined |
Posted: Tue Oct 18, 2005 8:40 am |
|
|
Hiiii everybody !...
Please help !!!
I am in trouble badly.
I have a code working perfectly on PIC18F452.
But, If I add (define) a float variable to the code,
My code is crashed.
My CCS ver is 3.203 (not bad I think)
No error messages.
The Compile is OK
Memory use is about %25 for ROM, %30 for RAM.
Any urgent help will be appreciated...
hundil |
|
|
Mark
Joined: 07 Sep 2003 Posts: 2838 Location: Atlanta, GA
|
|
Posted: Tue Oct 18, 2005 8:55 am |
|
|
Could be a buffer overrun problem and adding the float exposes it. |
|
|
hundil Guest
|
added float prblem |
Posted: Wed Oct 19, 2005 3:46 am |
|
|
thanks a lot for your opinion
but, what to do any more !...
hundil |
|
|
asmallri
Joined: 12 Aug 2004 Posts: 1635 Location: Perth, Australia
|
|
Posted: Wed Oct 19, 2005 4:25 am |
|
|
Are you using a bootloader? If so which one? _________________ Regards, Andrew
http://www.brushelectronics.com/software
Home of Ethernet, SD card and Encrypted Serial Bootloaders for PICs!! |
|
|
hundil Guest
|
|
Posted: Wed Oct 19, 2005 6:56 am |
|
|
No I am not...
hundil |
|
|
Mark
Joined: 07 Sep 2003 Posts: 2838 Location: Atlanta, GA
|
|
Posted: Wed Oct 19, 2005 9:34 am |
|
|
How can we help when you haven't posted any code! |
|
|
ckielstra
Joined: 18 Mar 2004 Posts: 3680 Location: The Netherlands
|
|
Posted: Wed Oct 19, 2005 4:26 pm |
|
|
Besides all the remarks of the people above I was triggered by the following:
Quote: | My CCS ver is 3.203 (not bad I think) | Do you have a special reason for using this version? The early v3.20x versions have new optimized code for the PIC18 processors but were very unreliable. The first version I dared to try was v3.216. If you don't have access to the newer versions I suggest you revert to the stable v3.191. |
|
|
|