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 22 matches
CCS Forum Index
Author Message
  Topic: pointer arrays
eaton

Replies: 1
Views: 3568

PostForum: General CCS C Discussion   Posted: Sat Sep 02, 2006 6:15 am   Subject: pointer arrays
does CCS fully support arrays of pointers to structures.

Thanks
  Topic: structure pointers
eaton

Replies: 1
Views: 3117

PostForum: General CCS C Discussion   Posted: Fri Sep 01, 2006 6:44 pm   Subject: structure pointers
does the -> notation work in CCS. I can't seem to make it work.

(*struct_pointer).field will work but
struct_pointer->field doesn't work right.

any help would be greatly appreciated ...
  Topic: long pointer into byte data stream
eaton

Replies: 4
Views: 6137

PostForum: General CCS C Discussion   Posted: Mon Jun 05, 2006 6:25 pm   Subject: long pointer into byte data stream
I have a stream of 8 bit values coming in. after capturing these 10 bytes in a buffer I want to assign a long pointer to the 2 bytes of interest and interpret them as a 16 bit value. This works fine e ...
  Topic: PWM
eaton

Replies: 4
Views: 7553

PostForum: General CCS C Discussion   Posted: Mon Apr 10, 2006 8:56 am   Subject: PWM
I'm trying to communicate to a car using the SAE J1850 PWM protocol.
each bit is 24us long. a 1 is high for 8us and low for 16us while a zero is high for 16us and low for 8us. This sounded like a job ...
  Topic: PWM
eaton

Replies: 4
Views: 7553

PostForum: General CCS C Discussion   Posted: Sat Apr 08, 2006 6:45 am   Subject: PWM
Hello,
I was wondering if anybody had a link to better explanation of using the compare module to output a PWM string of pulses for communication.
microchips AN594 tries to explain it but the co ...
  Topic: ID locations
eaton

Replies: 2
Views: 10924

PostForum: General CCS C Discussion   Posted: Thu Mar 02, 2006 1:10 pm   Subject: ID locations
thanks,
As is usually the case I figured out what I was doing wrong after I posted the question

regards
  Topic: ID locations
eaton

Replies: 2
Views: 10924

PostForum: General CCS C Discussion   Posted: Thu Mar 02, 2006 7:33 am   Subject: ID locations
Hello,
When using th #ID preprocessor directive is there a way to read these values using MPLAB after code protecting. I want to be able to read ID's on any returned products. The product itself ...
  Topic: reset supervisor
eaton

Replies: 14
Views: 13676

PostForum: General CCS C Discussion   Posted: Sat Jan 07, 2006 7:17 am   Subject: reset supervisor
I'm still unclear on the connection of Rpu in fig.2 of TB087. if Vpp is applied here during programming and this resistor is 'normally' connected to Vdd then Vdd will rise to the Vpp level during prog ...
  Topic: reset supervisor
eaton

Replies: 14
Views: 13676

PostForum: General CCS C Discussion   Posted: Fri Jan 06, 2006 6:47 pm   Subject: reset supervisor
thank you all,

I think the diode isolation shown in fig 5 of TB087 is the way to go.
  Topic: reset supervisor
eaton

Replies: 14
Views: 13676

PostForum: General CCS C Discussion   Posted: Fri Jan 06, 2006 5:58 am   Subject: reset supervisor
Has anyone used a MCP111 voltage supervisor? I need to maintain the ICSP capability of my chip (18F252) but I don't understand the circuit shown in the data sheet. It shows the connection to pin 1(MCL ...
  Topic: function pointers
eaton

Replies: 1
Views: 3702

PostForum: General CCS C Discussion   Posted: Tue Oct 25, 2005 9:08 am   Subject: function pointers
I have ver 3.232 of PCH. are function pointers supported?

if so what is the proper declaration of such in CCS. any examples would surely be appreciated.

int test_func1(void)
{
int j=0;
retu ...
  Topic: structure array size limit
eaton

Replies: 2
Views: 5218

PostForum: General CCS C Discussion   Posted: Sun Aug 14, 2005 5:53 am   Subject: structure array size limit
Hello,
I have a structure that uses 18 bytes. I need an array of these. if the array size is greater than 14 it doesn't work. A 15 element array takes 270 bytes. 14 elements takes 252. Is there an ...
  Topic: interrupt issue
eaton

Replies: 3
Views: 5335

PostForum: General CCS C Discussion   Posted: Sat Aug 06, 2005 8:59 am   Subject: interrupt issue
Hi,
What does this warning mean.


: Interrupts disabled during call to prevent re-entrancy: malloc


any help,as always is greatly appreciated

Thanks
  Topic: wake from sleep with timer3 overflow intterupt
eaton

Replies: 1
Views: 4600

PostForum: General CCS C Discussion   Posted: Sat Jun 11, 2005 7:06 am   Subject: wake from sleep with timer3 overflow intterupt
Hi,
I'm trying to periodically check a value when the timer3 overflows. I want the PIC18 to sleep while waiting. I can't seem to wake up. before executing the sleep instruction I set timer3 to z ...
  Topic: code protection
eaton

Replies: 2
Views: 7398

PostForum: General CCS C Discussion   Posted: Sun Mar 13, 2005 7:01 am   Subject: code protection
hello,
I inadvertently programmed a 18f252 with CPD(code protect on). Is it possible to erase this device and re-program? I thought a full erase would bring the chip back to being usable but it do ...
 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group