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 CCS Technical Support

Search found 7 matches
CCS Forum Index
Author Message
  Topic: Windows 7
thomasb

Replies: 5
Views: 7312

PostForum: General CCS C Discussion   Posted: Fri Apr 23, 2010 11:42 pm   Subject: Windows 7
I use the MPLAB IDE with an older version of CCS PCW (V3.234). I recently upgraded to a new WIN7-32 box. I discovered today that compiling results in a build failure on all my existing projects.

Fo ...
  Topic: PIC12x509 CONST Table Read Problems
thomasb

Replies: 3
Views: 4924

PostForum: General CCS C Discussion   Posted: Sat Feb 23, 2008 10:50 pm   Subject: PIC12x509 CONST Table Read Problems
Update:

I found the problem. I was a bad boy when I placed the ROM table at the high end of the code page. I moved it to within the first 255 words on Page-1 and now it works with the variable base ...
  Topic: PIC12x509 CONST Table Read Problems
thomasb

Replies: 3
Views: 4924

PostForum: General CCS C Discussion   Posted: Sat Feb 23, 2008 10:14 pm   Subject: PIC12x509 CONST Table Read Problems
Post a complete test program (short) that will compile.

Thanks for any help you can give.

Well, I created a tiny test program (see below) and looked at the list file. The code section that used ...
  Topic: PIC12x509 CONST Table Read Problems
thomasb

Replies: 3
Views: 4924

PostForum: General CCS C Discussion   Posted: Sat Feb 23, 2008 7:23 pm   Subject: PIC12x509 CONST Table Read Problems
I have a data table that I want to place near the top of ROM on a PIC12x509. This table will be edited during chip burning, so putting it at a known place is needed.

The table's code is as follows ...
  Topic: asm syntax for int16 variables
thomasb

Replies: 10
Views: 8524

PostForum: General CCS C Discussion   Posted: Tue Mar 27, 2007 5:04 pm   Subject: asm syntax for int16 variables
.... and this also works
Code:
#define ByteOf(addr,n) (&((int8)addr)+n)
movwf ByteOf(acount,2) //w -> acount+2


Thanks, it works great! I was scratching my head trying to figure ...
  Topic: PIC12F509 Oscal Init Issue
thomasb

Replies: 2
Views: 9917

PostForum: General CCS C Discussion   Posted: Sun Mar 13, 2005 3:12 pm   Subject: PIC12F509 Oscal Init Issue
MCLR is disabled (used as an input). The power supply is not burdened with slow rise times -- the only cap is a single .1uF mono ceramic across the PIC (short leads). The leads to the power supply are ...
  Topic: PIC12F509 Oscal Init Issue
thomasb

Replies: 2
Views: 9917

PostForum: General CCS C Discussion   Posted: Sat Mar 12, 2005 5:45 pm   Subject: PIC12F509 Oscal Init Issue
Re: PIC12F509

I discovered that at power up, the OSCAL value is not correctly loaded. It gets random data. I have confirmed that the PCB C Compiler, Version 3.221, is correctly generating the "MOVW ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group