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 40 matches
CCS Forum Index
Author Message
  Topic: Strange code in FAT_spi.c
eskimobob

Replies: 5
Views: 7949

PostForum: General CCS C Discussion   Posted: Wed Mar 14, 2012 4:07 pm   Subject: Strange code in FAT_spi.c
Because CCS C isn't able to detect it as dead code, you should comment it.

I'm not actually using it ;-) I was experimenting with the CCS web dev kit back when I first posted this 3 years ago.

...
  Topic: Strange code in FAT_spi.c
eskimobob

Replies: 5
Views: 7949

PostForum: General CCS C Discussion   Posted: Wed Mar 14, 2012 8:41 am   Subject: Strange code in FAT_spi.c
It's the standard CCS code so you will already have it - I can't post it here anyway ;-)

This thread is over 3 years old so it may well have been modified in the latest CCS code - have a look 8-)
...
  Topic: problem with arrays in structs V4.129
eskimobob

Replies: 2
Views: 4986

PostForum: General CCS C Discussion   Posted: Fri Feb 24, 2012 2:20 am   Subject: problem with arrays in structs V4.129
Hi FvM,

Thanks for your reply

P.S.: I see, that the problem is by design. The write function is stopping byte write purposeful after address 63, so it's only writing 4 of 7 bytes.

It is suppo ...
  Topic: problem with arrays in structs V4.129
eskimobob

Replies: 2
Views: 4986

PostForum: General CCS C Discussion   Posted: Thu Feb 23, 2012 5:22 pm   Subject: problem with arrays in structs V4.129
Compiler V4.129

Working example program below. I've tried to keep this very simple - the code is taken from a very large program but only enough is shown here to describe my problem.

Probably f ...
  Topic: Anyone used CCS with DSPICDEM MCSM stepper motor dev kit
eskimobob

Replies: 0
Views: 2496

PostForum: General CCS C Discussion   Posted: Tue Dec 13, 2011 5:50 am   Subject: Anyone used CCS with DSPICDEM MCSM stepper motor dev kit
I'm considering purchasing the microchip DM330022 dev board and upgrading my PCWH to PCDIDE but I am not confident that CCS is up to the job...

Does anyone have experience of using CCS with the d ...
  Topic: Implementing general call addressing
eskimobob

Replies: 12
Views: 23474

PostForum: General CCS C Discussion   Posted: Tue Nov 16, 2010 9:08 am   Subject: Implementing general call addressing
If so, here's some code that will emulate it.
Call the my_i2c_isr_state() function
at the start of the isr. The value returned by the function is as
described in the current CCS manual.


I ...
  Topic: timer/counter3 issue
eskimobob

Replies: 4
Views: 5463

PostForum: General CCS C Discussion   Posted: Tue Mar 30, 2010 8:22 am   Subject: timer/counter3 issue
Hmmm - that solution did not work for me however I was able to use Timer0 instead and all works properly. The problem with Timer3 seems to be related to reading the two bytes as a 16 bit value - insp ...
  Topic: Code protect not working
eskimobob

Replies: 5
Views: 15272

PostForum: General CCS C Discussion   Posted: Mon Jan 04, 2010 5:43 am   Subject: Code protect not working
Also, make sure you're not trying to compile code for the ICD debugger.
If you do that, the compiler will automatically disable any fuses that
conflict with the debugger operation.

Thank you P ...
  Topic: Code protect not working
eskimobob

Replies: 5
Views: 15272

PostForum: General CCS C Discussion   Posted: Tue Dec 15, 2009 7:13 am   Subject: Code protect not working
Using an 18F6622.

For some reason I cannot get this to work:

#FUSES PROTECT //Code protected from reads

It simply does not generate the right config code to protect the memory from reads. I ...
  Topic: static ROM problem
eskimobob

Replies: 3
Views: 4068

PostForum: General CCS C Discussion   Posted: Tue Nov 24, 2009 12:34 pm   Subject: static ROM problem
Thanks guys. I thought the simplest thing was to change it to the following:


WORD DDNS_SERVICE_PORTS_DYNDNS_ORG = 80; //DYNDNS_ORG
WORD DDNS_SERVICE_PORTS_NO_IP_COM = 80; //NO_IP_COM
...
  Topic: static ROM problem
eskimobob

Replies: 3
Views: 4068

PostForum: General CCS C Discussion   Posted: Tue Nov 24, 2009 5:49 am   Subject: static ROM problem
Last year I was in the process of porting the Microchip DDNS code to work with CCS - I got it compiling and working 90%. I've just decided to have a play with the code again to see if I can nail the ...
  Topic: data sheets are nothing for ccs c programmer.
eskimobob

Replies: 14
Views: 15737

PostForum: General CCS C Discussion   Posted: Sat Nov 07, 2009 4:34 am   Subject: data sheets are nothing for ccs c programmer.
Probably the best thing to do is find one of the CCS examples that has something relating to what you need to do then examine it and figure out how it works. Cool
  Topic: CCS C Subversions?
eskimobob

Replies: 9
Views: 10915

PostForum: General CCS C Discussion   Posted: Sat Nov 07, 2009 4:31 am   Subject: CCS C Subversions?
It might also have to do something with the v4.100 release being announced for introduction last June.


Mmmm - I have been waiting for this 4.100 release since they announced it in May. I think ...
  Topic: CCS TCP/IP stack bug?
eskimobob

Replies: 15
Views: 17757

PostForum: General CCS C Discussion   Posted: Sat Feb 21, 2009 10:54 am   Subject: CCS TCP/IP stack bug?
Looking at my code, the MYTCP_STATE_FORCE_DISCONNECT should be changing the state to MYTCP_STATE_LISTENING not MYTCP_STATE_NEW. In any case, I only call TCPListen on each socket once at startup, and n ...
  Topic: SD card not working on CCS Dev board
eskimobob

Replies: 8
Views: 10721

PostForum: General CCS C Discussion   Posted: Sat Feb 21, 2009 8:35 am   Subject: SD card not working on CCS Dev board
You are only using a card with 30MB capacity. This is why Windows is not you the option to format it to FAT32.

FAT32 should be a last resort - it performs much slower than FAT16 on a PIC.

The dr ...
 
Page 1 of 3 Goto page 1, 2, 3  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group