View previous topic :: View next topic |
Author |
Message |
ChrisL
Joined: 16 Apr 2007 Posts: 26 Location: Arizona
|
PCD with dsPIC30F6014A... Getting better... |
Posted: Sat Dec 08, 2007 4:44 pm |
|
|
We purchased the PCD compiler yesterday, bad choice. Writing the simplest program possible, setting the fuses and declaring 1 int variable, was too much for the compiler. It is impossible to use any oscillator fuse except the internal “FRC” fuse and the 1 variable is un-usable because the compiler says that it is “Reserved Memory” or “Restricted Memory”; it changes it’s mind for reasons I can’t imagine. What is the point of putting a product like this on the market; it is basically useless.
We tried 4 versions of MP-LAB all running under XP-SP2 and nothing changed. We tried using an ICD-2 and Real-ICE and nothing changed. The only thing that works is the C30 compiler from Microchip. How sad… _________________ Thank you,
Chris
Last edited by ChrisL on Mon Dec 10, 2007 9:41 pm; edited 1 time in total |
|
|
Ken Johnson
Joined: 23 Mar 2006 Posts: 197 Location: Lewisburg, WV
|
|
Posted: Mon Dec 10, 2007 7:28 am |
|
|
Agreed :(
I bought PCD when first released, and have yet to get anything but the very simplest program to run on Microchips dsPIC 6010A development board.
Maybe before I retire . . .
Ken |
|
|
ChrisL
Joined: 16 Apr 2007 Posts: 26 Location: Arizona
|
|
Posted: Mon Dec 10, 2007 9:41 pm |
|
|
CCS has been very responsive in clearing up what the issues are. We had our answers by the end of the day today.
The oscillator issue is corrected by adding the PR switch to the fuse info
Code: | #fuses HS,PR, NOWDT, NOPROTECT |
The un-usable variables was corrected by directly telling the compiler that the "ICD" was there, we use RealIce and it worked as well. So use
and all is well with the Watch Window once again
We are testing the UART(s), PWM(s) and if pointers work with Unions and Arrays. If that is all good, then we are good to go...
I will update this thread with how the testing goes. _________________ Thank you,
Chris |
|
|
|