Author |
Message |
Topic: Using[pseudo] Classes in CCS |
Gary Smithson
Replies: 7
Views: 59812
|
Forum: Code Library Posted: Fri Nov 19, 2010 9:31 pm Subject: Using[pseudo] Classes in CCS |
Michael,
Speaking of your class driver for UART; what is your preferred method for tying the class to the specific UART peripheral? In other words, if the class is defined as uart1, how do you ca ... |
Topic: Using[pseudo] Classes in CCS |
Gary Smithson
Replies: 7
Views: 59812
|
Forum: Code Library Posted: Fri Nov 19, 2010 1:39 pm Subject: Using[pseudo] Classes in CCS |
Michael,
I wanted to let you know that I find your pseudo class concept very clever and that I have now used it for the first time. It works well for modifying function and variable names thus cl ... |
Topic: PIC24F compiler problem |
Gary Smithson
Replies: 14
Views: 19965
|
Forum: General CCS C Discussion Posted: Thu Aug 12, 2010 7:12 pm Subject: PIC24F compiler problem |
I have ported about 4 projects from PIC18 to PIC24 and each and every one of them were, and still are, excruciatingly painful.
For example I reported 7 bugs yesterday just after 4.110 was released. ... |
Topic: Declaring Variables Directly into External EEPROM |
Gary Smithson
Replies: 2
Views: 4219
|
Forum: General CCS C Discussion Posted: Sun Aug 08, 2010 11:50 am Subject: Declaring Variables Directly into External EEPROM |
Look into the function addressmod. It is made specifically for this purpose. |
Topic: Write to 0x00 erases memory? |
Gary Smithson
Replies: 7
Views: 9941
|
Forum: General CCS C Discussion Posted: Thu Jun 03, 2010 10:52 am Subject: Write to 0x00 erases memory? |
Welcome to the downside of using CCS compilers.
This is likely a CCS "bug" that needs reporting. The function should be available at compile time, it should work as advertised, it should ... |
Topic: Write to 0x00 erases memory? |
Gary Smithson
Replies: 7
Views: 9941
|
Forum: General CCS C Discussion Posted: Wed Jun 02, 2010 10:40 am Subject: Write to 0x00 erases memory? |
Remember that write_program_memory () automatically erases blocks when the first address of that block is written to. This is described in the compiler help file. Address 0x0000 would be the begin ... |
Topic: PCD Hex has offset? |
Gary Smithson
Replies: 13
Views: 15407
|
Forum: General CCS C Discussion Posted: Tue May 25, 2010 8:49 am Subject: PCD Hex has offset? |
If you were to observe other addresses randomly in the HEX file you would find that it is not an offset of 0x200. The HEX address is = PIC address * 2. Take the address from the HEX file and divide ... |
Topic: PCD Hex has offset? |
Gary Smithson
Replies: 13
Views: 15407
|
Forum: General CCS C Discussion Posted: Mon May 24, 2010 11:07 pm Subject: PCD Hex has offset? |
Ttelmah is correct. What you're seeing is the difference between the HEX file, which is always in terms of byte address, and the PIC24 which is in terms of word address.
I've just finished a PIC24 ... |
Topic: PCD putc() help |
Gary Smithson
Replies: 13
Views: 18130
|
Forum: General CCS C Discussion Posted: Wed May 12, 2010 12:41 am Subject: PCD putc() help |
CCS probably has a bug. If possible I would first try the test as RS232 instead of RS485. In other words remove the enable parameter from #use rs232.
If the PC really does have an RS485 connectio ... |
Topic: PCD putc() help |
Gary Smithson
Replies: 13
Views: 18130
|
Forum: General CCS C Discussion Posted: Tue May 11, 2010 10:35 am Subject: PCD putc() help |
The way you have main() written, the PIC is going to sleep before the character is shifted out the shift register. Remember that CCS places a sleep instruction just after main() and if you allow it t ... |
Topic: Odd update dates |
Gary Smithson
Replies: 8
Views: 7845
|
Forum: General CCS C Discussion Posted: Sun Apr 25, 2010 2:23 pm Subject: Odd update dates |
You probably already know this but in Download Manager you can check the box beside CAN Examples and when you click Next it will download them.
However, since you seem to have a newer version than ... |
Topic: Odd update dates |
Gary Smithson
Replies: 8
Views: 7845
|
Forum: General CCS C Discussion Posted: Sun Apr 25, 2010 11:42 am Subject: Odd update dates |
The only other way that I know of to get updates is manually through the download page at the website. Even then there have been cases where the version displayed shows no indication of a newer vers ... |
Topic: Odd update dates |
Gary Smithson
Replies: 8
Views: 7845
|
Forum: General CCS C Discussion Posted: Fri Apr 23, 2010 1:21 am Subject: Odd update dates |
Oh yes. The Download Manager is really quite bad. I have asked them many times to fix things but... I'm still waiting.
I can also tell you that IDEUTILS has been modified since 2005.
In the pa ... |
Topic: ICD Debug bug driving me nuts! |
Gary Smithson
Replies: 6
Views: 7559
|
Forum: General CCS C Discussion Posted: Mon Mar 29, 2010 2:20 pm Subject: ICD Debug bug driving me nuts! |
I think I can speak for the rest of us when I say; It's not you.
CCS is really bad about leaving bugs unattended for months and months and fixing something in a version only to have the next versio ... |
Topic: PCD - ready for prime time yet OR C18 to C30? |
Gary Smithson
Replies: 2
Views: 2998
|
Forum: General CCS C Discussion Posted: Tue Oct 06, 2009 10:41 am Subject: PCD - ready for prime time yet OR C18 to C30? |
I am doing a PCD project that has a USB composite HID mouse/keyboard and a few PWM channels as its major features. I might also mention it makes use of Peripheral Pin Select and Master I2C.
With t ... |
|