Author |
Message |
Topic: Windows 7 |
thomasb
Replies: 5
Views: 7312
|
Forum: 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
|
Forum: 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
|
Forum: 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
|
Forum: 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
|
Forum: 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
|
Forum: 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
|
Forum: 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 ... |
|