|
|
View previous topic :: View next topic |
Author |
Message |
Rocky Guest
|
Pic16/Pic18/PIC24/dsPIC compiler |
Posted: Fri Apr 24, 2009 11:36 pm |
|
|
I was ready to buy the compilers for all the pic families but I read a lot about problems with the compiler on this list.
Questions:
-Are those problems (bugs) still not fixed?
-Are the problems across the CCS line of compilers for the PIC processor families?
Thank you. |
|
|
FvM
Joined: 27 Aug 2008 Posts: 2337 Location: Germany
|
|
Posted: Sat Apr 25, 2009 1:35 am |
|
|
I'm only aware of PCD issues. PCD is continuously improving, but some bugs related to complex int32 expressions and int8 arithmetics are still continued during the last iterations. I would be also surprized, if all built-in functions related to specific PIC24 hardware, e.g. ADC or CRC unit had become 100% error-free now. Some problems are also related to non obvious restrictions of the Microchip hardware.
When you compare PCD to competitors, particularly C30, the built-in functions part is unrivaled anyway. So if some manual programming is necessary here, it wouldn't be a problem to my opinion. The bad thing is of course, if a function is said to work correctly, but it doesn't. Examples from the last weeks forum discussion (related to previous PCD version bugs, that have been fixed) are e.g. a #pin_select accessing the wrong register. Truely bad, if you just trust the compiler.
For the arithmetic bugs, I unintentionally found the MD5 code (a simple cryptographic application) as a test case. It took me some effort, to find workarounds for all bugs in V4.081. They are almost removed until one. If the original code (from the respective RFC) compiles correctly, I'll issue an update to my post http://www.ccsinfo.com/forum/viewtopic.php?t=36359. |
|
|
Rocky
Joined: 26 Apr 2009 Posts: 22 Location: USA
|
|
Posted: Sun Apr 26, 2009 7:28 pm |
|
|
Thank you FvM, it makes me feel better.
I don't like to change between compilers when changing processors of the same supplier. Bad enough to have to change from one supplier to the other.
If I order the PCWHD with its own IDE, I assume that I can still use the compilers with MPLAB the same way as I would use the commmand line versions. Is this a correct assumption? _________________ PERSEVERANCE IS THE KEY TO SUCCESS |
|
|
|
|
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
|