CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Search found 23 matches
CCS Forum Index
Author Message
  Topic: Multiple search results?
icefield

Replies: 0
Views: 7695

PostForum: General CCS C Discussion   Posted: Fri May 13, 2016 12:16 am   Subject: Multiple search results?
Is there any way to set the CCS IDE to retain more than the last search results? It's very frustrating, when working through code modifications, to have to repeat searches simply to switch back and fo ...
  Topic: File tabs in IDE
icefield

Replies: 1
Views: 4500

PostForum: General CCS C Discussion   Posted: Sun Mar 04, 2012 7:28 am   Subject: File tabs in IDE
I've been trying to figure out how/when the IDE (4.124 PCWHD) decides to save the tab positions. I spend time moving tabs so that the code/header pairs are next to each other (makes it easier for me t ...
  Topic: dsPIC: Trouble getting ASM load/modify/store working
icefield

Replies: 8
Views: 11615

PostForum: General CCS C Discussion   Posted: Fri Sep 10, 2010 3:33 pm   Subject: dsPIC: Trouble with ASM load/modify/store [resolved (sort of
Most excellent! It works.

Now, if CCS would just get their inline assembler to accept legal mnemonics, we'd be spared this bother! It boggles my mind that the compiler can generate the very instruc ...
  Topic: missing packets on RDA
icefield

Replies: 11
Views: 9959

PostForum: General CCS C Discussion   Posted: Fri Sep 10, 2010 3:15 pm   Subject: missing packets on RDA
For reliable comms, you need to first decide to use polling or interrupts. Your code is trying to mix the two and that is asking for problems.

If you use polling (kbhit/getc), then do not implement ...
  Topic: dsPIC: Trouble getting ASM load/modify/store working
icefield

Replies: 8
Views: 11615

PostForum: General CCS C Discussion   Posted: Thu Sep 09, 2010 10:13 am   Subject: dsPIC: Trouble getting ASM load/modify/store working
The C code below compiles to 6 or 11 instructions for a load/modify/store and this is a time-sensitive operation. Instead, I want to do it with 4 instructions in assembly. But, for some reason, I cann ...
  Topic: 1 quartz 3 pics
icefield

Replies: 6
Views: 5863

PostForum: General CCS C Discussion   Posted: Tue Sep 07, 2010 5:27 pm   Subject: 1 quartz 3 pics
As has already been mentioned, the oscillator drive circuit can drive the crystal and one or more external oscillator inputs (on your 2nd and 3rd PICs), but you will run into loading and capacitance i ...
  Topic: Bug in SPI setup for dsPIC?
icefield

Replies: 1
Views: 4078

PostForum: General CCS C Discussion   Posted: Tue Sep 07, 2010 4:52 pm   Subject: Bug in SPI setup for dsPIC?
Oh, I forgot. The last line:

setup_spi(SPI_SLAVE | SPI_SS_DISABLED);

actually disables the SPI, which is NOT what I asked for. It is possible to use the SPI bus in slave mode without SS ...
  Topic: Bug in SPI setup for dsPIC?
icefield

Replies: 1
Views: 4078

PostForum: General CCS C Discussion   Posted: Tue Sep 07, 2010 4:39 pm   Subject: Bug in SPI setup for dsPIC?
Is it my imagination, or is there a bug in the compiler (4.112)? The snippet below compiles as shown below...

#include <33FJ256GP506.h>

#use delay(clock=20000000)

void main( ...
  Topic: Can one turn off the PCW auto screen positioning?
icefield

Replies: 1
Views: 2863

PostForum: General CCS C Discussion   Posted: Fri Sep 03, 2010 9:51 am   Subject: Can one turn off the PCW auto screen positioning?
The PCW window likes to stick into corners when the window is moved around on the screen. However this is implemented, it does not play nicely with my multiple monitor manager. Is there a way to turn ...
  Topic: Target for ICD-U40 running at 5.4V
icefield

Replies: 0
Views: 15196

PostForum: CCS ICD / Mach X / Load-n-Go   Posted: Thu Aug 30, 2007 3:54 pm   Subject: Target for ICD-U40 running at 5.4V
Our target is running at Vdd of 5.4V (for a variety of reasons). I've noticed that the ICD-U40 causes the circuit to draw a larger supply current than normal (~20mA extra) as compared to another targe ...
  Topic: Reading back code from 18F6722 with code protect on
icefield

Replies: 3
Views: 3675

PostForum: General CCS C Discussion   Posted: Thu May 10, 2007 6:03 pm   Subject: Reading back code from 18F6722 with code protect on
I've been playing with code protection in order to understand it. I have all CPx bits clear (code-protected) as well as CPB clear. When reading the code back out with the CCS ICD-U40, most of the code ...
  Topic: Weird ICD-U40 behaviour
icefield

Replies: 3
Views: 26321

PostForum: CCS ICD / Mach X / Load-n-Go   Posted: Wed Apr 12, 2006 12:44 pm   Subject: Weird ICD-U40 behaviour
The problem with the USB port happens between the two physical ports on a laptop. There is no hub involved.

But, really this is just an annoyance (albeit something no other USB device I have has pr ...
  Topic: Weird ICD-U40 behaviour
icefield

Replies: 3
Views: 26321

PostForum: CCS ICD / Mach X / Load-n-Go   Posted: Wed Apr 12, 2006 12:08 pm   Subject: Weird ICD-U40 behaviour
Three weird things happen with the 2 ICD-U40's we have:

(1) You have to have the U40 plugged into the same USB port that it was in when the software was installed.

(2) Sometimes the PC "looses" ...
  Topic: division with 2 int
icefield

Replies: 11
Views: 11717

PostForum: General CCS C Discussion   Posted: Wed May 11, 2005 1:03 pm   Subject: division with 2 int
The default integer type is unsigned, so if you are doing integer math and want signed results, you have to say so. There's another thread going right now that discusses this: http://www.ccsinfo.com/f ...
  Topic: Need help with the MMC code
icefield

Replies: 34
Views: 38878

PostForum: General CCS C Discussion   Posted: Wed May 11, 2005 4:07 am   Subject: Re: Need help with the MMC code
Hi,
the MMC is powered by 3.3 volt. The PIC is powered by 5.0 volt. Since the voltage level for RC1, RC4 and RC3 is 5.0 volt. So I use voltage divider 3.3 K and 1.8 K Ohm in MOSI, CS, CLK to make su ...
 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group