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 35 matches
CCS Forum Index
Author Message
  Topic: cdc usb locks up after a while
gfbankston

Replies: 8
Views: 12927

PostForum: General CCS C Discussion   Posted: Fri Feb 06, 2015 1:24 pm   Subject: usb lockup
I use NO delay loops in the software anywhere. Everything is interrupt driven. The same code is also on the usart port in case the user wants to use serial instead of usb, and it does not lock up.
...
  Topic: cdc usb locks up after a while
gfbankston

Replies: 8
Views: 12927

PostForum: General CCS C Discussion   Posted: Fri Feb 06, 2015 1:17 pm   Subject: cap
I was told by Microchip to use a 1uf low ESR cap. I am using a 1uf but not sure about the ESR rating.

I would have thought that I would also have problems on rx as well.

It is ALMOST repeatable ...
  Topic: cdc usb locks up after a while
gfbankston

Replies: 8
Views: 12927

PostForum: General CCS C Discussion   Posted: Fri Feb 06, 2015 1:11 pm   Subject: usb locking up
Hello,

The compiler is actually version 5.026, and the Programmer Control Software is 5.009.

It is weird because the USBDRIVERS shows CurrentVersion = 30-Nov-09 and Local Version = 24-May-11

...
  Topic: cdc usb locks up after a while
gfbankston

Replies: 8
Views: 12927

PostForum: General CCS C Discussion   Posted: Thu Feb 05, 2015 12:22 pm   Subject: cdc lock up
I have noticed, now, that I am getting a FALSE from usb_cdc_puts(*str)
when it locks up. Incoming packets are still coming through, but it
will not let me send packets out.

It is acting like the ...
  Topic: cdc usb locks up after a while
gfbankston

Replies: 8
Views: 12927

PostForum: General CCS C Discussion   Posted: Thu Feb 05, 2015 8:39 am   Subject: cdc usb locks up after a while
Hello,

Using PIC18F45K50 and library routines. USB works well for up to 15 minutes or so, then it seems that the PC no longer gets the
usb_cdc_puts(*str) data. We put a debug feature on the lcd ...
  Topic: ccs_bootloader.exe
gfbankston

Replies: 1
Views: 4919

PostForum: General CCS C Discussion   Posted: Fri Nov 14, 2014 10:30 am   Subject: ccs_bootloader.exe
Hello,

Compiled and programmed ccs ex_bootloader (serial) in my 45K50.

Using a terminal program, it signs on.

Question: the ccs_bootloader.exe comes up with a window for a file name, and no o ...
  Topic: loadable hex file
gfbankston

Replies: 1
Views: 4967

PostForum: General CCS C Discussion   Posted: Tue Nov 11, 2014 9:34 am   Subject: loadable hex file
Hello,

XC8 has an option to make the hex output file "loadable" by organizing
the hex bytes into 16 bytes per line.

I see the PICC does not do this on the first couple lines. Is ther ...
  Topic: global variables
gfbankston

Replies: 8
Views: 13292

PostForum: General CCS C Discussion   Posted: Fri Sep 12, 2014 6:24 am   Subject: global variables
Well taken, the point about the watchdog...but, I assume that when the watchdog fires, it resets the cpu. I would have seen repeated sign-on messages on the LCD.

Also, the code is over 4000 lines, ...
  Topic: global variables
gfbankston

Replies: 8
Views: 13292

PostForum: General CCS C Discussion   Posted: Thu Sep 11, 2014 1:16 pm   Subject: compiler
Sorry, latest version of the compiler for a 18F45K50 chip
  Topic: global variables
gfbankston

Replies: 8
Views: 13292

PostForum: General CCS C Discussion   Posted: Thu Sep 11, 2014 1:15 pm   Subject: global variables
Hello,

I just encountered something strange with a variable defined outside of
main{}

Every compiler I have ever used made all storage and variables outside
of main GLOBAL.

I just caught th ...
  Topic: cdc bootloader code
gfbankston

Replies: 0
Views: 4757

PostForum: General CCS C Discussion   Posted: Tue Sep 09, 2014 7:48 am   Subject: cdc bootloader code
Hello,

Are you guys using the cdc routines that are in low memory for the boot loader ALSO for your application up high?

The only difference I see in the boot loader has a different ID string.. ...
  Topic: USB malfunction
gfbankston

Replies: 9
Views: 15053

PostForum: General CCS C Discussion   Posted: Thu Sep 04, 2014 2:07 pm   Subject: speed
I searched the data sheet and 96Mhz is not in the document. 48Mhz is the
highest speed listed or mentioned in the data sheet.

#use delay(clock=24000000,internal=48000000,USB_FULL,ACT=USB)

is o ...
  Topic: USB malfunction
gfbankston

Replies: 9
Views: 15053

PostForum: General CCS C Discussion   Posted: Thu Sep 04, 2014 10:37 am   Subject: max speed
This chip 45k50 and the 25K50, which I am also using, have a 16Mhz internal osc. x3 yields 48Mhz (the clock necessary for USB full speed) and DIV2 yields
24Mhz which gives me a 6Mhz instruction cycl ...
  Topic: USB malfunction
gfbankston

Replies: 9
Views: 15053

PostForum: General CCS C Discussion   Posted: Thu Sep 04, 2014 7:27 am   Subject: fuses
I did not find anything wrong with the fuses:
/*
Configuration Fuses:
Word 1: C82B PLL3X PLLEN CPUDIV2 LS48MHZ INTRC_IO PRIMARY_SW FCMEN IESO
Word 2: 2059 NOPUT NOBROWNOUT BORV19 NOLPB ...
  Topic: USB malfunction
gfbankston

Replies: 9
Views: 15053

PostForum: General CCS C Discussion   Posted: Wed Sep 03, 2014 6:34 pm   Subject: compiler
latest version of the compiler...
 
Page 1 of 3 Goto page 1, 2, 3  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group