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 10 matches
CCS Forum Index
Author Message
  Topic: USB CDC communication problem between PIC18F4550 and PC
alvin.ma

Replies: 0
Views: 3762

PostForum: General CCS C Discussion   Posted: Mon May 10, 2010 7:29 pm   Subject: USB CDC communication problem between PIC18F4550 and PC
Hi all,

I found that there is a missing byte found when receiving data from PIC18F4550 (in USB CDC).

Problem description:
When C# program is receiving data from 18F4550 in which firmware is wr ...
  Topic: interrupt priority problem on 18F4550
alvin.ma

Replies: 12
Views: 16947

PostForum: General CCS C Discussion   Posted: Mon Nov 16, 2009 7:47 pm   Subject: interrupt priority problem on 18F4550
HI PCM programmer,

From my program, I wrote the USB function base on the example "ex_usb_serial.c". In its content, it just call the "usb_cdc.h",
is the USB function called by ...
  Topic: interrupt priority problem on 18F4550
alvin.ma

Replies: 12
Views: 16947

PostForum: General CCS C Discussion   Posted: Sun Nov 15, 2009 10:30 am   Subject: interrupt priority problem on 18F4550
I got lost about the problem....
Is there any other problem in my program?
Please help~
thx
  Topic: interrupt priority problem on 18F4550
alvin.ma

Replies: 12
Views: 16947

PostForum: General CCS C Discussion   Posted: Fri Nov 13, 2009 10:20 pm   Subject: interrupt priority problem on 18F4550
I thought you needed a 24MHz oscillator for USB operation

Hi Andrew,

Can you tell me more about why should I need 24MHz oscillator for USB operation?
Thanks
  Topic: interrupt priority problem on 18F4550
alvin.ma

Replies: 12
Views: 16947

PostForum: General CCS C Discussion   Posted: Fri Nov 13, 2009 12:13 pm   Subject: interrupt priority problem on 18F4550

#include <18F4550.h>
#device HIGH_INTS=TRUE
#fuses HS, NOWDT, NOPROTECT, NOLVP, VREGEN, USBDIV, PLL5, CPUDIV1, NODEBUG
#use delay (clock=20000000)

#priority INT_TIMER3, INT_ ...
  Topic: interrupt priority problem on 18F4550
alvin.ma

Replies: 12
Views: 16947

PostForum: General CCS C Discussion   Posted: Tue Nov 10, 2009 7:45 pm   Subject: interrupt priority problem on 18F4550
Hi,

I am facing another problem now. The MCU will hang while
communicating with PC through USB, and I have tried to create a
watchdog counter by using timer interrupt for preventing the dead ...
  Topic: interrupt priority problem on 18F4550
alvin.ma

Replies: 12
Views: 16947

PostForum: General CCS C Discussion   Posted: Wed Oct 21, 2009 11:00 pm   Subject: interrupt priority problem on 18F4550
Hi

Thank you for reference.
I have read thought the threads, but I still cannot make clear about the USB interrupt.

However, I have narrowed the area of the problem that the timer1 interrupt is ...
  Topic: interrupt priority problem on 18F4550
alvin.ma

Replies: 12
Views: 16947

PostForum: General CCS C Discussion   Posted: Tue Oct 20, 2009 8:32 pm   Subject: interrupt priority problem on 18F4550
Hi all,

I am going to write a program with timer1 interrupt at highest priority, and use I2C and USB functions also.

I have set the priority as following:

#priority INT_TIMER1, INT_USB, INT_S ...
  Topic: 18F4550 USB control servo problems
alvin.ma

Replies: 3
Views: 7432

PostForum: General CCS C Discussion   Posted: Wed Sep 16, 2009 7:11 pm   Subject: 18F4550 USB control servo problems
Thank you, the problem is solved Smile
  Topic: 18F4550 USB control servo problems
alvin.ma

Replies: 3
Views: 7432

PostForum: General CCS C Discussion   Posted: Fri Sep 04, 2009 10:19 pm   Subject: 18F4550 USB control servo problems
Hi all,
I am going to use 18F4550 for controlling the two servo throught USB by enter command from PC.
In the beginning, I wrote the code for self controlling the servos, the result is ok.
Here is ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group