Author |
Message |
Topic: CCS USB code won't print an int32 long signed or unsigned |
lindermat
Replies: 11
Views: 12179
|
Forum: General CCS C Discussion Posted: Fri Feb 03, 2012 10:37 am Subject: CCS USB code won't print an int32 long signed or unsigned |
Yes, that was it! It works now. (I also got the same reply from the official CCS support) Thank you everyone for your prompt replies! |
Topic: CCS USB code won't print an int32 long signed or unsigned |
lindermat
Replies: 11
Views: 12179
|
Forum: General CCS C Discussion Posted: Thu Feb 02, 2012 2:01 pm Subject: CCS USB code won't print an int32 long signed or unsigned |
Good idea, I thought that might work, but no luck.
It still locks up on %Lu but %X is ok. |
Topic: CCS USB code won't print an int32 long signed or unsigned |
lindermat
Replies: 11
Views: 12179
|
Forum: General CCS C Discussion Posted: Thu Feb 02, 2012 12:54 pm Subject: CCS USB code won't print an int32 long signed or unsigned |
I can't really post it since has a lot of company information, (and it's in many different files), but the parts you asked for are below:
#include <24FJ256GB210.h>
//#device ICD=2
//#fuse ... |
Topic: CCS USB code won't print an int32 long signed or unsigned |
lindermat
Replies: 11
Views: 12179
|
Forum: General CCS C Discussion Posted: Thu Feb 02, 2012 11:03 am Subject: CCS USB code won't print an int32 long signed or unsigned |
Hi all,
I'm using the CCS supplied USB CDC software functions along with the driver on my PC and everything works fine except it crashes when printing an int32. (signed or unsigned) I've tried %L ... |
Topic: PIC24 Extended Data Space through SPI |
lindermat
Replies: 3
Views: 5611
|
Forum: General CCS C Discussion Posted: Wed Jan 25, 2012 1:20 pm Subject: PIC24 Extended Data Space through SPI |
I would like to use the SRAM buffers in my external serial flash memory directly rather than copy data into the internal memory of the PIC.
The flash memory is connected by SPI and works fine, but ... |
Topic: RTCC counts seconds only |
lindermat
Replies: 2
Views: 4200
|
Forum: General CCS C Discussion Posted: Wed Jan 11, 2012 3:29 pm Subject: RTCC counts seconds only |
Is there anyway to get the RTCC to count in seconds only? I need to calculate elapsed time and total times, and adding seconds and rolling over to minutes is a PITA.
A 32 bit variable can count sec ... |
Topic: PIC24F secondary oscillator |
lindermat
Replies: 8
Views: 14754
|
Forum: General CCS C Discussion Posted: Mon Dec 19, 2011 2:51 pm Subject: PIC24F secondary oscillator |
OK, I'll use timer 1 with the external crystal, but I need to start and stop the timer. In the datasheet there is a bit called TON that it looks like I can use to do this, but I can't see how to contr ... |
Topic: PIC24F secondary oscillator |
lindermat
Replies: 8
Views: 14754
|
Forum: General CCS C Discussion Posted: Mon Dec 19, 2011 9:56 am Subject: PIC24F secondary oscillator |
Thanks for the input, I think my problem is that I'm trying to use timer4 and I don't think it can be configured to use the secondary oscillator, only an external pin, or the internal main oscillator. ... |
Topic: PIC24F secondary oscillator |
lindermat
Replies: 8
Views: 14754
|
Forum: General CCS C Discussion Posted: Sat Dec 17, 2011 7:43 pm Subject: PIC24F secondary oscillator |
Hi all,
I've searched the forum and can't seem to find an answer to my problem. In my design using a PIC24FJ256GB210 and are using both the primary and secondary oscillator. The primary oscillato ... |
Topic: 24FJ256GB210 |
lindermat
Replies: 4
Views: 5632
|
Forum: General CCS C Discussion Posted: Tue Nov 22, 2011 12:33 pm Subject: wrong fuses in hex file solved |
Just in case anyone else is having this issue, here is the reply from CCS:
"Your chip stores the configuration words in memory in the reverse order from other chips. The CCSLOAD viewer did no ... |
Topic: 24FJ256GB210 |
lindermat
Replies: 4
Views: 5632
|
Forum: General CCS C Discussion Posted: Mon Nov 21, 2011 12:43 pm Subject: CCS LOAD not erasing PIC24FJ256GB210 |
Hello all,
I know this may have been answered, but I have searched and can't find an answer. In my design I'm using a PIC24FJ256GB210 and I connect using the ICD1 set of pins and an ICD-U64 USB.
... |
|