Author |
Message |
Topic: Interrupts not working w/ new interrupt and reset vectors |
johnjohn7188
Replies: 5
Views: 4503
|
Forum: General CCS C Discussion Posted: Mon Jan 12, 2009 2:21 pm Subject: Interrupts not working w/ new interrupt and reset vectors |
Thanks for the responses!
I read ckielstra's comments, but he does not mention the interrupt vectors not working after relocating them. He states that more memory is used/wasted, though, which is ... |
Topic: Interrupts not working w/ new interrupt and reset vectors |
johnjohn7188
Replies: 5
Views: 4503
|
Forum: General CCS C Discussion Posted: Mon Jan 12, 2009 11:56 am Subject: Interrupts not working w/ new interrupt and reset vectors |
I'm using a PIC18F2480. I enabled the CAN Rx interrupts in order to receive messages as soon as they arrive (somewhat different from CCS's sample code). The interrupts work great. However, when i move ... |
Topic: A simple way to make datalogging in the kilobyte range. |
johnjohn7188
Replies: 15
Views: 16643
|
Forum: General CCS C Discussion Posted: Thu Oct 30, 2008 2:17 pm Subject: A simple way to make datalogging in the kilobyte range. |
Why don't you look into NAND Flash? I've written code to drive NAND Flash with a PIC24H. It writes VERY fast and costs very little. You have to write PAGES and erase BLOCKS with NAND Flash. Just make ... |
Topic: PCD Compiler 4.081 Breaks strlen() function |
johnjohn7188
Replies: 7
Views: 7504
|
Forum: General CCS C Discussion Posted: Thu Oct 30, 2008 2:14 pm Subject: PCD Compiler 4.081 Breaks strlen() function |
I've also considered changing compilers due to the large number of bugs in the CCS compilers. However, like you, I am almost done with my project, so moving over would require a lot more development t ... |
Topic: PCD Compiler 4.081 Breaks strlen() function |
johnjohn7188
Replies: 7
Views: 7504
|
Forum: General CCS C Discussion Posted: Wed Oct 29, 2008 5:35 pm Subject: PCD Compiler 4.081 Breaks strlen() function |
Well, my project is about 9000 lines long....
I wrote a library for an LCD that utilizes strlen() to determine how many bytes of a string to print to the LCD. I already reported it to CCS. I'll just ... |
Topic: PCD Compiler 4.081 Breaks strlen() function |
johnjohn7188
Replies: 7
Views: 7504
|
Forum: General CCS C Discussion Posted: Wed Oct 29, 2008 4:54 pm Subject: PCD Compiler 4.081 Breaks strlen() function |
I see a correct GOTO in this instruction with PCD V4.081. But it may be a position dependent error. Do you see the same behaviour with a minimal test program?
It works with a simple program. Any ... |
Topic: PCD Compiler 4.081 Breaks strlen() function |
johnjohn7188
Replies: 7
Views: 7504
|
Forum: General CCS C Discussion Posted: Wed Oct 29, 2008 4:40 pm Subject: PCD Compiler 4.081 Breaks strlen() function |
I'll try it out right now. |
Topic: PCD Compiler 4.081 Breaks strlen() function |
johnjohn7188
Replies: 7
Views: 7504
|
Forum: General CCS C Discussion Posted: Wed Oct 29, 2008 3:29 pm Subject: PCD Compiler 4.081 Breaks strlen() function |
PCD Compiler has broken the strlen() function. The loop that iterates through the values in the string loops to an unknown address. See instruction below at address 135A.
Anybody else having this p ... |
|