Author |
Message |
Topic: U40 driver install in XP |
john cutler
Replies: 3
Views: 14784
|
Forum: General CCS C Discussion Posted: Sun Dec 28, 2003 11:00 am Subject: U40 driver install in XP |
The only problem I've had is that when running my target while debugging, both the ICDS and the newer ICDU-40 take 100% of the CPU. After a short while, the fan on my laptop comes on. Unfortunately, ... |
Topic: Setting Up Internal Oscilator Block for PIC16F87 |
john cutler
Replies: 7
Views: 20652
|
Forum: General CCS C Discussion Posted: Mon Sep 15, 2003 4:51 pm Subject: Setting Up Internal Oscilator Block for PIC16F87 |
Well, I just checked and CCS posted a new version of the compiler 3.177 which insludes an udpataed header file for the 16F87/88. Now, INTRC and INTRC_IO are listed.
Try it out.
jc |
Topic: Setting Up Internal Oscilator Block for PIC16F87 |
john cutler
Replies: 7
Views: 20652
|
Forum: General CCS C Discussion Posted: Mon Sep 15, 2003 1:04 pm Subject: Setting Up Internal Oscilator Block for PIC16F87 |
Well, what I did was to set the CCS #fuses directive the way I wanted (except for oscillator)
#fuses HS, NOWDT, NOLVP, NOMCLR
then I compiled the code and looked at the .lst output file on the b ... |
Topic: Setting Up Internal Oscilator Block for PIC16F87 |
john cutler
Replies: 7
Views: 20652
|
Forum: General CCS C Discussion Posted: Mon Sep 15, 2003 9:26 am Subject: Setting Up Internal Oscilator Block for PIC16F87 |
I found that the CCS header for the 16F88 was missing the internal osc settings. I wrote CCS and the person there replied saying that this would be corrected in the next compiler release. Meanwhile, ... |
Topic: NEED HELP with STRUCT!!!!! |
john cutler
Replies: 4
Views: 17705
|
Forum: General CCS C Discussion Posted: Mon Sep 08, 2003 2:57 pm Subject: NEED HELP with STRUCT!!!!! |
This worked for me....
typedef struct {
byte addr_to; //destination address
byte addr_from; //origination address
byte serv_req; //service request flag
... |
Topic: ICD 2 and MPLAB debug problem |
john cutler
Replies: 13
Views: 37224
|
Forum: General CCS C Discussion Posted: Sat Aug 02, 2003 9:49 am Subject: Re: ICD 2 and MPLAB debug problem |
Did you look at Project build options and check the "compile for ICD box"? ___________________________ This message was ported from CCS's old forum Original Post ID: 144516595 |
Topic: Replicate I2C in PIC 16F628 mcu |
john cutler
Replies: 2
Views: 15562
|
Forum: General CCS C Discussion Posted: Mon Jul 28, 2003 9:54 pm Subject: Re: Replicate I2C in PIC 16F628 mcu |
YES!! I'm doing that with an 18F1320, using the UART for RS232.
You just need to set it up just like if you did have hardware I2C. Specify the xmit and receive pin, master mode, speed.
Check out ... |
Topic: Dodgy 12F675? |
john cutler
Replies: 4
Views: 17396
|
Forum: General CCS C Discussion Posted: Mon Jul 28, 2003 8:52 am Subject: Re: Dodgy 12F675? |
Are you setting CMCON to 0x07? I had output level wierdness with forgetting to set the comparators off when not using them. It was a while ago, so I can't remember the exact specifics, but it's wort ... |
Topic: PCB Layout Software |
john cutler
Replies: 5
Views: 21185
|
Forum: General CCS C Discussion Posted: Sun Jul 27, 2003 12:27 pm Subject: PCB Layout Software |
I'm looking to get a good and affordable(?) schematic/pcb program. I downloaded autoTRAX EDA and while it has lots of features, and there's a special on for $95 for the package, it's pretty buggy - ... |
Topic: Unidentified identifier in Watches tab (debugger) |
john cutler
Replies: 3
Views: 15474
|
Forum: General CCS C Discussion Posted: Sun Jul 20, 2003 9:39 am Subject: Re: Unidentified identifier in Watches tab (debugger) |
:=Well, that seemed to be the problem. := :=Thanks, :=Duane
I guess, if one thinks about it, it makes sense. The non-global variables have not yet been assigned memory locations because they haven't ... |
Topic: Unidentified identifier in Watches tab (debugger) |
john cutler
Replies: 3
Views: 15474
|
Forum: General CCS C Discussion Posted: Sat Jul 19, 2003 10:36 pm Subject: Re: Unidentified identifier in Watches tab (debugger) |
I just experimented with this, and before I run my target program, I get that error for all non global variables. After I run the program and hit "stop" from the debugger (or a breakpoint) the error ... |
Topic: LCD multiple Bar Graph Display |
john cutler
Replies: 1
Views: 12734
|
Forum: General CCS C Discussion Posted: Wed Jul 16, 2003 4:18 pm Subject: LCD multiple Bar Graph Display |
Does anyone have any recommendations for a small LCD display that could display 8 or 10 vertical low resolution bar graphs? It needs to work in darkness with a backlight and also outside in sunlight. ... |
Topic: ICD-S and 12F675 |
john cutler
Replies: 3
Views: 16478
|
Forum: General CCS C Discussion Posted: Sat Jul 12, 2003 11:57 pm Subject: Re: ICD-S and 12F675 |
Are you sure you haven't inadverntently erased the calibration constant? If you look at CCS initialization code, right near the beginning, it does a call 3ff - which has a retlw statement and a byte ... |
Topic: Placing arrays in ROM, instead of RAM? |
john cutler
Replies: 3
Views: 17210
|
Forum: General CCS C Discussion Posted: Sat Jul 12, 2003 9:07 am Subject: Re: Placing arrays in ROM, instead of RAM? |
look at page 214 of the current manual ! ___________________________ This message was ported from CCS's old forum Original Post ID: 144515907 |
Topic: 18F452 4xPLL |
john cutler
Replies: 3
Views: 15615
|
Forum: General CCS C Discussion Posted: Fri Jul 11, 2003 8:48 am Subject: Re: 18F452 4xPLL |
:=I recently started using the 18F452 for a design I'm working on. This part has the ability to run at 40MHz using a 10MHz source, along with the 4xPLL enabled. How do I setup the #use delay at the ... |
|