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 8 matches
CCS Forum Index
Author Message
  Topic: Configuration bits in MPLAB vs CCS
jameshdx80

Replies: 4
Views: 12082

PostForum: General CCS C Discussion   Posted: Wed May 17, 2017 1:10 pm   Subject: Configuration bits in MPLAB vs CCS
Awesome! Solved in 2 minutes... Thank you very much PCM programmer, temtronic and Ttelmah!

Fuses directives were not complete as pointed by Ttelmah and after checking .LST as suggested by PCM Progr ...
  Topic: Configuration bits in MPLAB vs CCS
jameshdx80

Replies: 4
Views: 12082

PostForum: General CCS C Discussion   Posted: Tue May 16, 2017 1:22 pm   Subject: Configuration bits in MPLAB vs CCS
Hi!

I am using MPLAB 8.83 and PCWHD Compiler CCS 4.130 in a PIC18F4550 and everything is working fine. I was using MPLAB to set the configuration bits, but I decided to set in code.

The attached ...
  Topic: USB loses connection randomly (PIC18F USB CDC Virtual COM)
jameshdx80

Replies: 13
Views: 26002

PostForum: General CCS C Discussion   Posted: Tue Mar 28, 2017 8:14 am   Subject: USB loses connection randomly (PIC18F USB CDC Virtual COM)
Thanks Ttelmah! I have reimplemented and tested the new firmware without using Timer3 and problem seems to be solved. Although I just call usb_task() once at initialization. Besides, the idea of havin ...
  Topic: USB loses connection randomly (PIC18F USB CDC Virtual COM)
jameshdx80

Replies: 13
Views: 26002

PostForum: General CCS C Discussion   Posted: Wed Mar 22, 2017 12:54 pm   Subject: USB loses connection randomly (PIC18F USB CDC Virtual COM)
The full reset though would be a problem however you implement the device...

First thing to check is what does the listing show for stack use?.
The compiler should warn if the stack is potent ...
  Topic: USB loses connection randomly (PIC18F USB CDC Virtual COM)
jameshdx80

Replies: 13
Views: 26002

PostForum: General CCS C Discussion   Posted: Tue Mar 21, 2017 3:29 pm   Subject: USB loses connection randomly (PIC18F USB CDC Virtual COM)
I have NEVER used PIC VCOM features.
they are too program memory intensive
and use too much PIC "instruction resource"
for the sort of work i do.

I have ALWAYS used FTDI FT232 c ...
  Topic: USB loses connection randomly (PIC18F USB CDC Virtual COM)
jameshdx80

Replies: 13
Views: 26002

PostForum: General CCS C Discussion   Posted: Tue Mar 21, 2017 2:46 pm   Subject: USB loses connection randomly (PIC18F USB CDC Virtual COM)
usb_cdc_get_discard();
Thanks!

After spending a couple of hours, I noticed that the problem is not that USB disconnects but rather PIC resets... :( which seems worse to me.

Now I have an unend ...
  Topic: USB loses connection randomly (PIC18F USB CDC Virtual COM)
jameshdx80

Replies: 13
Views: 26002

PostForum: General CCS C Discussion   Posted: Mon Mar 20, 2017 10:36 am   Subject: USB loses connection randomly (PIC18F USB CDC Virtual COM)
I would like to thank Ttelmah and asmboy for their help. Probably I did not let things clear about how to recover my previous source code versions. Fortunately, I use a Version Control Software (SVN) ...
  Topic: USB loses connection randomly (PIC18F USB CDC Virtual COM)
jameshdx80

Replies: 13
Views: 26002

PostForum: General CCS C Discussion   Posted: Fri Mar 17, 2017 1:01 pm   Subject: USB loses connection randomly (PIC18F USB CDC Virtual COM)
Hi,

I have a project that implements a Virtual COM (USB CDC) with a PIC18F4550. The project consists of reading a servo drive data and sending it to the PC through COM Port. Everything was working ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group