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 193 matches
CCS Forum Index
Author Message
  Topic: TCP/IP
Linuxbuilders

Replies: 7
Views: 19242

PostForum: General CCS C Discussion   Posted: Fri Sep 08, 2017 1:06 am   Subject: TCP/IP
New stack seem to be way more powerful to what was then, but it does not compile, there is many define functions to be done to get it going that without spending hours on decoding it is not easy to ge ...
  Topic: TCP/IP
Linuxbuilders

Replies: 7
Views: 19242

PostForum: General CCS C Discussion   Posted: Thu Sep 07, 2017 1:58 am   Subject: TCP/IP
Having recently done a LAN application with the CCS stack, I can concur with most of what you say. Yes, the CCS port is minimal: just enough to get you going and no more. Yes, I had to port in a numbe ...
  Topic: TCP/IP
Linuxbuilders

Replies: 7
Views: 19242

PostForum: General CCS C Discussion   Posted: Wed Sep 06, 2017 1:52 am   Subject: TCP/IP
What TCP/IP library have you actually got?.
The CCS library works, but is quite limited/old. Most people using TCP port the MicroChip stack. Quite a lot of the core code needs to be there, and it is ...
  Topic: TCP/IP
Linuxbuilders

Replies: 7
Views: 19242

PostForum: General CCS C Discussion   Posted: Tue Sep 05, 2017 2:24 am   Subject: TCP/IP
Good day,

Anybody with extensive experience in TCP/IP subject? I am slowly digesting the manuals but I guess I need some guidance before I grow old (oh, I am already old...). I need to make UART2TC ...
  Topic: IP bootloader
Linuxbuilders

Replies: 1
Views: 6888

PostForum: General CCS C Discussion   Posted: Thu Jun 08, 2017 4:08 am   Subject: IP bootloader
Good day,

I use CCS bootloader, the supplied free PC software is for serial only, do you know of any version of this program supporting IP?

It is going to be a bit painful task to reverse the ...
  Topic: #use
Linuxbuilders

Replies: 6
Views: 14612

PostForum: General CCS C Discussion   Posted: Fri Oct 28, 2016 1:56 am   Subject: #use
Thnx, i dig it and report
  Topic: #use
Linuxbuilders

Replies: 6
Views: 14612

PostForum: General CCS C Discussion   Posted: Fri Oct 28, 2016 1:43 am   Subject: #use
470
  Topic: #use
Linuxbuilders

Replies: 6
Views: 14612

PostForum: General CCS C Discussion   Posted: Fri Oct 28, 2016 1:32 am   Subject: #use
18F4620 pin RB1 which is INT1 and AN10, AN function is set to off so it can only be INT1 which I do not use. I do not declare pull ups, is it possible that pull up gets ON if fixed IO is not used? Thi ...
  Topic: #use
Linuxbuilders

Replies: 6
Views: 14612

PostForum: General CCS C Discussion   Posted: Fri Oct 28, 2016 12:47 am   Subject: #use
Good day,
Is it allowed and politically correct to use

#use fixed_io(X_outputs=outx)

inside the program to dynamically change definition of the ports?

I have noticed that once I do not decl ...
  Topic: timer basics
Linuxbuilders

Replies: 31
Views: 68605

PostForum: General CCS C Discussion   Posted: Wed Sep 14, 2016 2:30 pm   Subject: timer basics
Thnx, I agree. It is copy/paste from old program I have overlooked. So I agree but compiler could check device file and then indicate that current entries do not match the device file. This would hel ...
  Topic: timer basics
Linuxbuilders

Replies: 31
Views: 68605

PostForum: General CCS C Discussion   Posted: Wed Sep 14, 2016 1:42 am   Subject: timer basics
To make it easy (sort of):

http://marianlonga.com/pic-timers-with-blinking-led/


Tosc = 1/Fosc = 1/40000000 = 0.000000025s = 25ns a TICK => 4x25ns = 100ns an INSTRUCTION CYCLE => (Tpr ...
  Topic: timer basics
Linuxbuilders

Replies: 31
Views: 68605

PostForum: General CCS C Discussion   Posted: Fri Sep 09, 2016 3:09 am   Subject: timer basics
BINGO!


setup_timer_0 (RTCC_INTERNAL|RTCC_8_BIT|T0_DIV_1); //WRONG!!!

setup_timer_0 (T0_DIV_1); //CORRECT!!!


as per:


///////////////////////////////////////////////// ...
  Topic: timer basics
Linuxbuilders

Replies: 31
Views: 68605

PostForum: General CCS C Discussion   Posted: Fri Sep 09, 2016 2:15 am   Subject: timer basics
Default bare code out of wizard is ok. So there is something happening once I start adding IRQ, etc. I will find what does slow down the system and post later on. It will be some function or IRQ causi ...
  Topic: timer basics
Linuxbuilders

Replies: 31
Views: 68605

PostForum: General CCS C Discussion   Posted: Fri Sep 09, 2016 2:03 am   Subject: timer basics
1. Post the complete code of your current test program that is failing.
and ideally, for more help,
2. Post your board schematic.
3. Post a hi-res, in-focus photo of your board or test setup.
...
  Topic: timer basics
Linuxbuilders

Replies: 31
Views: 68605

PostForum: General CCS C Discussion   Posted: Fri Sep 09, 2016 1:57 am   Subject: timer basics
Is there any way to set this manually on registers? I would then ignore CCS compiler in this section and set the clock manually. I have no idea how to do it. If I would set registers manually to inter ...
 
Page 1 of 13 Goto page 1, 2, 3 ... 11, 12, 13  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group