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 support@ccsinfo.com

PCD with dsPIC30F6014A... Getting better...

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



Joined: 16 Apr 2007
Posts: 26
Location: Arizona

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

PCD with dsPIC30F6014A... Getting better...
PostPosted: Sat Dec 08, 2007 4:44 pm     Reply with quote

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

View user's profile Send private message

PostPosted: Mon Dec 10, 2007 7:28 am     Reply with quote

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

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

PostPosted: Mon Dec 10, 2007 9:41 pm     Reply with quote

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

Code:
#device ICD=TRUE


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
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