Author |
Message |
Topic: PCD manual error? |
akohlsmith
Replies: 5
Views: 10168
|
Forum: General CCS C Discussion Posted: Fri Oct 04, 2013 11:30 am Subject: PCD manual error? |
Excellent, thank you for the verification. |
Topic: PCD manual error? |
akohlsmith
Replies: 5
Views: 10168
|
Forum: General CCS C Discussion Posted: Fri Oct 04, 2013 10:47 am Subject: PCD manual error? |
I'm looking at the September 2013 PCD manual. It states that the standard C type 'int' is mapped to 'int8' for PCD.
I have "int ticks" in my code and the compiler is most definitely using ... |
Topic: [solved] code gen bug - uses local var for function param? |
akohlsmith
Replies: 3
Views: 5736
|
Forum: General CCS C Discussion Posted: Wed Sep 11, 2013 8:46 am Subject: [solved] code gen bug - uses local var for function param? |
Looking at yout listing it seems that you declared the array mid code. Change it to beginning of function and check lst file. It has been mentioned here on the forum that sometimes this mid code decla ... |
Topic: [solved] code gen bug - uses local var for function param? |
akohlsmith
Replies: 3
Views: 5736
|
Forum: General CCS C Discussion Posted: Wed Sep 11, 2013 8:12 am Subject: [solved] code gen bug - uses local var for function param? |
I've got an odd little code generation bug. I have allocated 10 bytes for local storage. I use that local storage and call a function with a single parameter. The last local storage byte gets overwri ... |
Topic: CCS 4 -> CCS 5, fuse name changes |
akohlsmith
Replies: 7
Views: 11810
|
Forum: General CCS C Discussion Posted: Tue Apr 23, 2013 6:24 am Subject: CCS 4 -> CCS 5, fuse name changes |
So its somewhat premature for anyone to expect us to support V5 in any way at this stage. I must also stress that we are not CCS, we are a user self-help community without any direct connection to CCS ... |
Topic: CCS 4 -> CCS 5, fuse name changes |
akohlsmith
Replies: 7
Views: 11810
|
Forum: General CCS C Discussion Posted: Tue Apr 23, 2013 6:18 am Subject: CCS 4 -> CCS 5, fuse name changes |
Wow, I didn't know v5 is already out there!
How did you get it?
It was what the download link had. I have no elite site hacking skills. :-)
Yes, on the CCS website is a change log.
I've been ... |
Topic: CCS 4 -> CCS 5, fuse name changes |
akohlsmith
Replies: 7
Views: 11810
|
Forum: General CCS C Discussion Posted: Mon Apr 22, 2013 10:25 pm Subject: CCS 4 -> CCS 5, fuse name changes |
Are the fuse name changes for each release documented anywhere? The manual on the website has not been updated for CCS 5 and the program that lists the valid fuses seems to also have gone missing with ... |
Topic: [solved] 24F32KA304 RA3 and RA4 stuck low? |
akohlsmith
Replies: 4
Views: 7165
|
Forum: General CCS C Discussion Posted: Fri Aug 24, 2012 2:09 pm Subject: [solved] 24F32KA304 RA3 and RA4 stuck low? |
And for the final bit of info I've learned:
#fuses NOIESO
#fuses SOSC_DIGITAL
Is most certainly required to enable RA3/RA4. #use delay() sets up the PLL/drive strength/osc configuration correct ... |
Topic: [solved] PIC24F32KA304 eeprom_write() addresses off by one? |
akohlsmith
Replies: 1
Views: 4355
|
Forum: General CCS C Discussion Posted: Wed Aug 22, 2012 5:49 pm Subject: [solved] PIC24F32KA304 eeprom_write() addresses off by one? |
tl;dr version:
DON'T USE WRITE_EEPROM=noint!!
I'm using CCS 4.135 and MPLAB 8.84. I'm writing to the on-board EEPROM with the following little test:
/* tried without this line as well, no c ... |
Topic: PIC24F32KA304 oscillator init, ext 8MHz osc with 4x PLL? |
akohlsmith
Replies: 8
Views: 10837
|
Forum: General CCS C Discussion Posted: Wed Aug 22, 2012 11:43 am Subject: PIC24F32KA304 oscillator init, ext 8MHz osc with 4x PLL? |
Just a followup.
24F32KA304, 8MHz oscillator connected to OSCI/CLKI (pin 30 on my particular package).
#fuses EC,PR_PLL,POSCFREQ_M,NOCKSFSM
#fuses OSCIO,NOIESO,SOSC_DIGITAL
#fuses NOPROTECT, ... |
Topic: [solved] 24F32KA304 RA3 and RA4 stuck low? |
akohlsmith
Replies: 4
Views: 7165
|
Forum: General CCS C Discussion Posted: Wed Aug 22, 2012 11:38 am Subject: [solved] 24F32KA304 RA3 and RA4 stuck low? |
Sorry for the late update. I feel it's important to "close" the thread so that others may find some help in the future.
It appears that set_adc_channel() and/or read_adc() will override t ... |
Topic: [solved] 24F32KA304 RA3 and RA4 stuck low? |
akohlsmith
Replies: 4
Views: 7165
|
Forum: General CCS C Discussion Posted: Wed Aug 15, 2012 3:13 pm Subject: [solved] 24F32KA304 RA3 and RA4 stuck low? |
Another question regarding this device... I have most of the GPIO working, and the peripherals (ADC, SPI, UART) are also working. RA3 and RA4 are being used for GPIO but I don't seem to be able to ge ... |
Topic: PIC24F32KA304 oscillator init, ext 8MHz osc with 4x PLL? |
akohlsmith
Replies: 8
Views: 10837
|
Forum: General CCS C Discussion Posted: Wed Aug 15, 2012 3:04 pm Subject: PIC24F32KA304 oscillator init, ext 8MHz osc with 4x PLL? |
Nice. As you suspected, I had NOOSCIO and OSCIO mixed up. I'll also give that enhanced delay line a shot, as that would explain why there is no way to configure the PLL. Giving the source and output c ... |
Topic: PIC24F32KA304 oscillator init, ext 8MHz osc with 4x PLL? |
akohlsmith
Replies: 8
Views: 10837
|
Forum: General CCS C Discussion Posted: Tue Aug 14, 2012 4:37 pm Subject: PIC24F32KA304 oscillator init, ext 8MHz osc with 4x PLL? |
I only listed the ones from the first list that existed in the header file. There are of course a LOT more in the header file, but none pertaining to the primary oscillator config.
I'm getting ther ... |
Topic: PIC24F32KA304 oscillator init, ext 8MHz osc with 4x PLL? |
akohlsmith
Replies: 8
Views: 10837
|
Forum: General CCS C Discussion Posted: Tue Aug 14, 2012 3:51 pm Subject: PIC24F32KA304 oscillator init, ext 8MHz osc with 4x PLL? |
I think I got it figured out. boo-urns for needing to run a program (PCW) in order to see the valid #fuses bits. That still doesn't seem to be completely documented but it's a step up from zero.
#d ... |
|