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 11 matches
CCS Forum Index
Author Message
  Topic: USB CDC restarts my PIC
Damaso

Replies: 5
Views: 6678

PostForum: General CCS C Discussion   Posted: Tue Feb 19, 2013 9:42 am   Subject: USB CDC restarts my PIC
I'm only doing usb_cdc_putc() and no printf, but I guess the stack could fill as well. I've never debugged the stack, how could I see the amount of stack used at a precise moment using the pickit3 deb ...
  Topic: USB CDC restarts my PIC
Damaso

Replies: 5
Views: 6678

PostForum: General CCS C Discussion   Posted: Tue Feb 19, 2013 2:11 am   Subject: USB CDC restarts my PIC
I don't know how the pc could force the pic to reset during a usb communication. I used a usb sniffer and I didn't noticed timeouts or anything similar. Suddenly the pics resets and then the pc side s ...
  Topic: USB CDC restarts my PIC
Damaso

Replies: 5
Views: 6678

PostForum: General CCS C Discussion   Posted: Mon Feb 18, 2013 1:15 pm   Subject: USB CDC restarts my PIC
I'm using a PIC24FJ128GB106 to implement a controller for some complex electrochemical analysis. For that I need to use one of its timers, a usb cdc conection and plenty of its I/O pins. My problem is ...
  Topic: Random data corruption with USB CDC communication
Damaso

Replies: 6
Views: 11872

PostForum: General CCS C Discussion   Posted: Mon Feb 18, 2013 8:34 am   Subject: Random data corruption with USB CDC communication
Hi, I'm also running an USB application in a PIC24FJ128GB106 and I found similar problems. I get corrupted data and also the PIC will reset randomly. I'm sure that the capacitors used are correct and ...
  Topic: Problem with PIC24FJ timers
Damaso

Replies: 4
Views: 8735

PostForum: General CCS C Discussion   Posted: Tue Jan 15, 2013 9:02 am   Subject: Problem with PIC24FJ timers
So, by default, the setup_timer1() sets a 0xFF period and that's why the interrupts happens every 1.6s, isn't it?
In my application I need to change the interrupt frequency during execution, and tha ...
  Topic: Problem with PIC24FJ timers
Damaso

Replies: 4
Views: 8735

PostForum: General CCS C Discussion   Posted: Tue Jan 15, 2013 5:01 am   Subject: Problem with PIC24FJ timers
I changed the #use delay to:

#use delay(clock=20MHz, xtal=20MHz)

and the blinking period changed to 1.6s. That is the exact period for when the timer goes from 0x0000 to 0xFFFF with the ...
  Topic: Problem with PIC24FJ timers
Damaso

Replies: 4
Views: 8735

PostForum: General CCS C Discussion   Posted: Tue Jan 15, 2013 4:16 am   Subject: Problem with PIC24FJ timers
I'm using a PIC24FJ128GB106 with USB support and a external 20MHz crystal. I used these fuses and the USB works flawlessly:

#FUSES NOWDT //No Watch Dog Timer
#FUSES ICSP2 ...
  Topic: PIC24FJ USB FUSES
Damaso

Replies: 2
Views: 4431

PostForum: General CCS C Discussion   Posted: Mon Dec 17, 2012 6:35 am   Subject: PIC24FJ USB FUSES
With that additional fuse, does the code run at 20MHz? And does the USB module works correctly?
  Topic: PIC24FJ USB FUSES
Damaso

Replies: 2
Views: 4431

PostForum: General CCS C Discussion   Posted: Fri Dec 14, 2012 6:06 am   Subject: PIC24FJ USB FUSES
I'm starting a simple project using a PIC24FJ128GB106 with USB support and I'm a little lost on which fuses should I use and why. I'm going to use an external 20MHz crystal, so I suppose I need to div ...
  Topic: Pic24F USB bootloader
Damaso

Replies: 3
Views: 9802

PostForum: General CCS C Discussion   Posted: Wed Nov 07, 2012 7:21 am   Subject: Pic24F USB bootloader
I've seen in your code that you are mapping 2 UARTs:
#define IRDA_RCV PIN_D14
#define IRDA_XMIT PIN_D15
#define TEST_RCV PIN_D12
#define TEST_XMIT PIN_D8
// Maps UART1 ...
  Topic: Pic24F USB bootloader
Damaso

Replies: 3
Views: 9802

PostForum: General CCS C Discussion   Posted: Wed Nov 07, 2012 5:02 am   Subject: Pic24F USB bootloader
I'm not sure if this has been answered before but I couldn't find a topic about this question. I'm working with a PIC24FJ128GB106 and I need to program a USB bootloader for it.
Does anyone have a va ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group