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 13 matches
CCS Forum Index
Author Message
  Topic: Info for creating TCPIP 24FJ256GA110_registers.h type file
custom_elect

Replies: 5
Views: 18573

PostForum: General CCS C Discussion   Posted: Thu Aug 05, 2021 10:59 am   Subject: Info for creating TCPIP 24FJ256GA110_registers.h type file
Many thanks to all - You Rock!
  Topic: Info for creating TCPIP 24FJ256GA110_registers.h type file
custom_elect

Replies: 5
Views: 18573

PostForum: General CCS C Discussion   Posted: Thu Aug 05, 2021 8:32 am   Subject: Info for creating TCPIP 24FJ256GA110_registers.h type file
Thanks for the responses - I only have the command line compilers - is there a way of generating this file without the IDE?
  Topic: Info for creating TCPIP 24FJ256GA110_registers.h type file
custom_elect

Replies: 5
Views: 18573

PostForum: General CCS C Discussion   Posted: Thu Aug 05, 2021 3:25 am   Subject: Info for creating TCPIP 24FJ256GA110_registers.h type file
I am trying to build the tcpip stack for use with 24FJ256GA106 and my question is:
Can I just copy the contents of the 24FJ256GA110_registers.h file to make my new file 24FJ256GA106_registers.h (as t ...
  Topic: Trouble building TCPIP stack with PCD compiler?
custom_elect

Replies: 2
Views: 12704

PostForum: General CCS C Discussion   Posted: Mon Aug 02, 2021 7:47 am   Subject: Trouble building TCPIP stack with PCD compiler?
Does this build without changes? - I am getting hundreds of errors thrown up by "GenericTypeDefs.h" to do with simple identifiers and declarations.

Example:
Executing: "C:\Program f ...
  Topic: EX_STISR Pic24 and PCD - Fix?
custom_elect

Replies: 0
Views: 2870

PostForum: General CCS C Discussion   Posted: Mon Apr 23, 2012 2:41 pm   Subject: EX_STISR Pic24 and PCD - Fix?
This example only seems to transmit the first character when compiled with PCD for Pic24.
Its as though INT_TBE never gets fired again.
Anyone seen a fix for this?
  Topic: Hardware SPI in 18F2620 ?
custom_elect

Replies: 1
Views: 4121

PostForum: General CCS C Discussion   Posted: Fri Mar 28, 2008 3:33 pm   Subject: Hardware SPI in 18F2620 ?
Im just moving some working code from 16F877A PCM C 4.06
to:
18F2620 using PCH 4.069

It complains that:
#use spi (SPI1, MASTER)
is "Option invalid Not valid for H/W"

Yet 18F2620 ...
  Topic: SPI byte order inconsistent between software and hardware
custom_elect

Replies: 4
Views: 5911

PostForum: General CCS C Discussion   Posted: Wed Jan 23, 2008 12:11 pm   Subject: SPI byte order inconsistent between software and hardware
The PIC is 16F877A
The compiler "CCS PCM C Compiler, Version 4.063, 41607"
The platform is "PICDEM 2 Plus"
  Topic: SPI byte order inconsistent between software and hardware
custom_elect

Replies: 4
Views: 5911

PostForum: General CCS C Discussion   Posted: Sat Jan 19, 2008 6:19 pm   Subject: SPI byte order inconsistent between software and hardware
Im just moving some working code from a software SPI:
#use spi (MASTER, DI=PIN_C4, DO=PIN_C5, CLK=PIN_C3, BITS=16)
to use the internal hardware SPI:
#use spi(SPI1, MASTER, BAUD=1000000, BITS=1 ...
  Topic: #USE SPI(...) - Confusion
custom_elect

Replies: 4
Views: 7338

PostForum: General CCS C Discussion   Posted: Fri Dec 28, 2007 6:28 am   Subject: #USE SPI(...) - Confusion
Im a bit confused about the use of this directive, as you seem to be able to use SPI without it. (For example, most of the SPI samples Ive seen here dont use it).

Am I right in thinking that if you ...
  Topic: 1-wire RS232
custom_elect

Replies: 17
Views: 15492

PostForum: General CCS C Discussion   Posted: Fri Dec 28, 2007 6:07 am   Subject: 1-wire RS232
But you have to be real careful about what happens when the power goes off one device - you dont want it to jam up the whole comms bus. Opto isolators are the answer.
  Topic: 1-wire RS232
custom_elect

Replies: 17
Views: 15492

PostForum: General CCS C Discussion   Posted: Thu Dec 27, 2007 6:45 pm   Subject: 1-wire RS232
Yes - I am an old dude.
But over 30 years ago - Intersil published a great 1 wire addressable half-duplex opto-isolated data aquisition network, the basis of which was used in many a good remote proc ...
  Topic: getenv("DATA_EEPROM") on 16F877A on PicDem2plus
custom_elect

Replies: 2
Views: 4017

PostForum: General CCS C Discussion   Posted: Sat Dec 15, 2007 1:24 pm   Subject: getenv("DATA_EEPROM") on 16F877A on PicDem2plus
Many Thanks

I was using %d and only seeing 0 as the LSByte - Doh!
  Topic: getenv("DATA_EEPROM") on 16F877A on PicDem2plus
custom_elect

Replies: 2
Views: 4017

PostForum: General CCS C Discussion   Posted: Sat Dec 15, 2007 11:30 am   Subject: getenv("DATA_EEPROM") on 16F877A on PicDem2plus
This function is returning 0 but there are supposed to be 256 bytes onboard this device.

Any Ideas?

Also how do you tell the difference between a 0 returned because getenv doesnt recognise the k ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group