Author |
Message |
Topic: PIC24F compiler problem |
pic_user
Replies: 14
Views: 21678
|
Forum: General CCS C Discussion Posted: Mon Aug 16, 2010 2:51 pm Subject: PIC24F compiler problem |
One rule of thumb: Complex expressions, particularly involving int32 and pointers have still a high likelyhood to reveal PCD bugs.
I don't know whether you are formally educated or not, but poi ... |
Topic: PIC24F compiler problem |
pic_user
Replies: 14
Views: 21678
|
Forum: General CCS C Discussion Posted: Fri Aug 13, 2010 9:48 am Subject: PIC24F compiler problem |
This is the second bug I reported since I bought PCD a week ago.
Quite frankly I am not impressed, and I feel I was defrauded since I paid for a product that is unusable. Surely the inability to u ... |
Topic: PIC24F compiler problem |
pic_user
Replies: 14
Views: 21678
|
Forum: General CCS C Discussion Posted: Thu Aug 12, 2010 12:42 pm Subject: PIC24F compiler problem |
I have been running a program for the PIC18F for a long while. I need to use the PIC24F so I bought the PCD compiler. I have had problems with it.
The test case is a small program that defines a RO ... |
Topic: Difference between V4.107 and V4.109 |
pic_user
Replies: 5
Views: 8086
|
Forum: General CCS C Discussion Posted: Sat Jul 24, 2010 4:40 pm Subject: Difference between V4.107 and V4.109 |
Thanks for the help.
Following your lead, I tried other devices, and sure enough they compile and simulate properly.
What is looks like is that the 64K ROM parts in the PIC18F46J11 are showing t ... |
Topic: Difference between V4.107 and V4.109 |
pic_user
Replies: 5
Views: 8086
|
Forum: General CCS C Discussion Posted: Fri Jul 23, 2010 11:34 pm Subject: Difference between V4.107 and V4.109 |
I tried removing the & operator previously, as an experiment, and saw that it compiled without producing an error message. But when I used MPLAB SIM, I did not get the address in the ROM, where th ... |
Topic: Difference between V4.107 and V4.109 |
pic_user
Replies: 5
Views: 8086
|
Forum: General CCS C Discussion Posted: Fri Jul 23, 2010 5:02 pm Subject: Difference between V4.107 and V4.109 |
I have successfully compiled a program in V4.107 but it fails in V4.109
The reduced version which shows the problem is:
#include <18lf26j11.h>
typedef struct menu ... |
Topic: What is wrong with my code: A numeric expression must appear |
pic_user
Replies: 3
Views: 5197
|
Forum: General CCS C Discussion Posted: Sun Oct 25, 2009 4:46 pm Subject: What is wrong with my code: A numeric expression must appear |
Ttelmah, bungee
Thanks for pointing out my mistake. |
Topic: What is wrong with my code: A numeric expression must appear |
pic_user
Replies: 3
Views: 5197
|
Forum: General CCS C Discussion Posted: Sun Oct 25, 2009 3:39 pm Subject: What is wrong with my code: A numeric expression must appear |
I get a compiler error message that states:A numeric expression must appear here. It is associated with the statement: timer_ctl = timer_on;
#include <16f887.h>
#bit timer_ctl ... |
Topic: device file not recognized in PCW |
pic_user
Replies: 5
Views: 9428
|
Forum: General CCS C Discussion Posted: Mon Sep 14, 2009 2:05 pm Subject: device file not recognized in PCW |
Thank you very much. |
Topic: device file not recognized in PCW |
pic_user
Replies: 5
Views: 9428
|
Forum: General CCS C Discussion Posted: Mon Sep 14, 2009 1:43 pm Subject: device file not recognized in PCW |
Specifically it says "File can not be opened" in response to:
#include <PIC18F45K20.h> |
Topic: device file not recognized in PCW |
pic_user
Replies: 5
Views: 9428
|
Forum: General CCS C Discussion Posted: Mon Sep 14, 2009 1:40 pm Subject: device file not recognized in PCW |
I am using :
CCS PCH C Compiler, Version 4.064, |
Topic: device file not recognized in PCW |
pic_user
Replies: 5
Views: 9428
|
Forum: General CCS C Discussion Posted: Mon Sep 14, 2009 1:30 pm Subject: device file not recognized in PCW |
I am using an older version of the compiler. I can compile a design for 18F4550, but when I change to device to 18F45K20 the error message says the device file cannot be found. However, the .h file i ... |
Topic: How do I format a message to fit within a box? |
pic_user
Replies: 4
Views: 7483
|
Forum: General CCS C Discussion Posted: Sat Aug 27, 2005 8:26 pm Subject: How do I format a message to fit within a box? |
I noticed posters here creating boxes with code in it, with the label CODE just above it.
I have highlighted some code, for example, and applied the "Code" button in the editor but it doesn't crea ... |
Topic: What is wrong with a nested while loop |
pic_user
Replies: 5
Views: 9097
|
Forum: General CCS C Discussion Posted: Fri Aug 26, 2005 7:37 pm Subject: What is wrong with a nested while loop |
Mark,
Yes I agree. But wouldn't the same apply to the first while:
0022 1D03 00339 BTFSS 03.2
0023 282B 00340 GOTO 02B
In other words shouldn't this be BTFSC also? It seems ... |
Topic: What is wrong with a nested while loop |
pic_user
Replies: 5
Views: 9097
|
Forum: General CCS C Discussion Posted: Fri Aug 26, 2005 7:12 pm Subject: Isn't it still wrong? |
Here is your code:
----------------------------------------------------------------
0000 00336 ... while (!valid_key)
0000 00337 ... {
0021 08A1 003 ... |
|