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 28 matches
CCS Forum Index
Author Message
  Topic: USB Serial port communication for pic18f2550
nando88

Replies: 6
Views: 13926

PostForum: General CCS C Discussion   Posted: Fri Dec 26, 2014 6:26 pm   Subject: Problem fixed
The problem I had was with the os. It did not allow me to install any drivers.
I just fixed the problem and got my app working thanks to you guys.
  Topic: USB Serial port communication for pic18f2550
nando88

Replies: 6
Views: 13926

PostForum: General CCS C Discussion   Posted: Fri Dec 26, 2014 10:37 am   Subject: Changes made with no success
I made the changes you suggested, but I still get the error, when installing the driver provided by ccs.
I get error code 28.
Here is the code:
http://www.mediafire.com/download/8ib2nz7tzq97wgt/Pic ...
  Topic: USB Serial port communication for pic18f2550
nando88

Replies: 6
Views: 13926

PostForum: General CCS C Discussion   Posted: Thu Dec 25, 2014 6:50 pm   Subject: Working code
I know what you mean, when you say there is no include in the main file, but the thing is that it worked fine with the pic18f4550 dev board. I think its because I'm importing the usb_desc_cdc, and the ...
  Topic: USB Serial port communication for pic18f2550
nando88

Replies: 6
Views: 13926

PostForum: General CCS C Discussion   Posted: Thu Dec 25, 2014 6:04 pm   Subject: USB Serial port communication for pic18f2550
I was able to make my application work with the help I received in this forum, but that was when I was using the pic 18f4550.
Now I'm using a dev board with the pic18f2550, and I changed the include ...
  Topic: USB HID
nando88

Replies: 1
Views: 5876

PostForum: General CCS C Discussion   Posted: Fri Dec 19, 2014 3:33 pm   Subject: USB HID
I was wondering if someone could please tell me can I turn on/off a led with 1/0, while using a pic as an hid device.
Can you please give me some code, so I can start my project, since I'm still lear ...
  Topic: USB HID PIC18F4550
nando88

Replies: 4
Views: 9550

PostForum: General CCS C Discussion   Posted: Tue Nov 11, 2014 2:37 pm   Subject: USB HID PIC18F4550
I want to use ccs to make an HID circuit, in which I can turn on/off a led by sending 1 or 0. I already have this circuit working, but through serial port, now I want to make it HID, and I want it to ...
  Topic: Read a byte[] sent through usb to dev board
nando88

Replies: 3
Views: 7524

PostForum: General CCS C Discussion   Posted: Wed Sep 03, 2014 7:06 pm   Subject: Read a byte[] sent through usb to dev board
I changed my code in the desktop application, to:

ComPort.Write(BitConverter.GetBytes('0'),0,4);
ComPort.Write(BitConverter.GetBytes('1'),0,4);

This is because I ...
  Topic: Read a byte[] sent through usb to dev board
nando88

Replies: 3
Views: 7524

PostForum: General CCS C Discussion   Posted: Wed Sep 03, 2014 1:06 pm   Subject: Read a byte[] sent through usb to dev board
I have a pic18f4550 dev board, and have successfully connected it to my laptop. I'm sending a byte
#include <ex_usb_common.h>
#include <usb_desc_cdc.h>
#include <usb_cdc.h>

...
  Topic: Turn Led on - USB PIC
nando88

Replies: 47
Views: 75967

PostForum: General CCS C Discussion   Posted: Mon Aug 18, 2014 6:31 am   Subject: Values
I just don't understand, what values should I send. In the original application, the values that where being read where 127 & 126. If you see the example, those are the values that are being used. ...
  Topic: Turn Led on - USB PIC
nando88

Replies: 47
Views: 75967

PostForum: General CCS C Discussion   Posted: Sun Aug 17, 2014 8:37 am   Subject: Pic + Java
I finally got it working with tera term, but now I would like to get it working with Java.
I'm using netbeans, and I found this page that's in english:
http://www.tecnohobby.net/ppal/index.php/elect ...
  Topic: Turn Led on - USB PIC
nando88

Replies: 47
Views: 75967

PostForum: General CCS C Discussion   Posted: Sun Aug 17, 2014 7:56 am   Subject: Fix
I finally got it working with tera term.
I created a blank source file, and pasted the code provided, but I changed the pin that's being used.
I used tera term terminal, found in setup to send the 1 ...
  Topic: Turn Led on - USB PIC
nando88

Replies: 47
Views: 75967

PostForum: General CCS C Discussion   Posted: Sat Aug 16, 2014 9:53 am   Subject: Tera Term Error
I started tera term, but I can't send the 1 & the 0 to the pic.
I uploaded a video, so you can see what I mean.
In the video, the pic is listed as com 5.
https://www.mediafire.com/?jog4g92830em ...
  Topic: Turn Led on - USB PIC
nando88

Replies: 47
Views: 75967

PostForum: General CCS C Discussion   Posted: Fri Aug 15, 2014 10:22 am   Subject: Tera Term
How do I send the 1 and the 0 using Tera Term?
Can someone please help me?
Thanks!
  Topic: Turn Led on - USB PIC
nando88

Replies: 47
Views: 75967

PostForum: General CCS C Discussion   Posted: Wed Aug 13, 2014 5:48 pm   Subject: Crystal Frequency
I use a 20 mhz crystal, but for the app to work correctly, I used a delay(clock=5000000). I changed the delay, and the pic worked faster, and before it seemed to work 4 times slower.
  Topic: Turn Led on - USB PIC
nando88

Replies: 47
Views: 75967

PostForum: General CCS C Discussion   Posted: Wed Aug 13, 2014 2:51 pm   Subject: Solution
I just figured out what was the problem. I checked the files I was using, and for some strange reason it was using a different directory than the one in which the project resides in. I just closed the ...
 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group