Author |
Message |
Topic: USB Power - Request more current |
DragonPIC
Replies: 3
Views: 6033
|
Forum: General CCS C Discussion Posted: Wed Aug 03, 2011 12:51 pm Subject: Thanks |
Thanks. Is there a way to tell if the request was made successfully? I think I seen a snoopy program on one of the forum posts.
-Matt |
Topic: USB Power - Request more current |
DragonPIC
Replies: 3
Views: 6033
|
Forum: General CCS C Discussion Posted: Wed Aug 03, 2011 8:50 am Subject: USB Power - Request more current |
Been looking over some articles about USB 2.0 and found that a host will supply 500mA of current to connected devices. It also says that this current may be requested by a "high-power" devi ... |
Topic: PIC18F26J50 WPFP |
DragonPIC
Replies: 0
Views: 3244
|
Forum: General CCS C Discussion Posted: Mon Nov 08, 2010 1:42 pm Subject: PIC18F26J50 WPFP |
How can I configure the WPFP besides just using WPFP or NOWPFP? I only want to write protect the beginning blocks of flash. I am using the following code to allocate a flash location for reading and ... |
Topic: USB using too much RAM |
DragonPIC
Replies: 6
Views: 7160
|
Forum: General CCS C Discussion Posted: Wed May 19, 2010 2:41 pm Subject: USB using too much RAM |
Haha, you know when I was trying to get a program to post for you I was trying that out. I was using the ex_usb_serial.c file itself and the device used in that example must have less RAM. It worked ... |
Topic: USB using too much RAM |
DragonPIC
Replies: 6
Views: 7160
|
Forum: General CCS C Discussion Posted: Wed May 19, 2010 1:33 pm Subject: USB using too much RAM |
Here you go. Based on the ex_usb_serial.c code.
#include <18F26J50.h>
#device adc=10
#FUSES NODEBUG
#FUSES NOXINST
#FUSES STVREN
#FUSES PRI ... |
Topic: USB using too much RAM |
DragonPIC
Replies: 6
Views: 7160
|
Forum: General CCS C Discussion Posted: Wed May 19, 2010 12:13 pm Subject: USB using too much RAM |
Seriously, isn't there any documentation around with instructions on how to configure the USB? Or does CCS just expect you to use their default configurations? |
Topic: USB using too much RAM |
DragonPIC
Replies: 6
Views: 7160
|
Forum: General CCS C Discussion Posted: Wed May 19, 2010 10:22 am Subject: USB using too much RAM |
I need a 1024 array of 16-bit variables in my USB application with the PIC18F26J50. I am getting the "Not enough RAM for all variables" compile error. I tried modifying the PIC18F_usb.c fil ... |
Topic: USB on PIC18F26J50 |
DragonPIC
Replies: 4
Views: 8422
|
Forum: General CCS C Discussion Posted: Tue May 11, 2010 12:21 pm Subject: USB on PIC18F26J50 |
I got a chance to go back to a Windows 2000 32-bit computer and everything seems to be working fine on there if I use the low-speed configuration. There must be something wrong with the Windows 7 64- ... |
Topic: USB on PIC18F26J50 |
DragonPIC
Replies: 4
Views: 8422
|
Forum: General CCS C Discussion Posted: Mon May 10, 2010 4:40 pm Subject: Speed |
Yes, I seen someone mention the speed issue in another post. I figure I'd give it a shot since it was listed as an option in table 2-5.
Windows did seem to at least kind of recognize it thou ... |
Topic: USB on PIC18F26J50 |
DragonPIC
Replies: 4
Views: 8422
|
Forum: General CCS C Discussion Posted: Mon May 10, 2010 9:35 am Subject: USB on PIC18F26J50 |
Another look and the only difference between the high and low speed setting I listed above is that Windows device manager actually changed the name from SERIAL DEMO to "USB to UART" in low s ... |
Topic: USB on PIC18F26J50 |
DragonPIC
Replies: 4
Views: 8422
|
Forum: General CCS C Discussion Posted: Mon May 10, 2010 9:28 am Subject: USB on PIC18F26J50 |
Just put some code together to use USB on the PIC18F26J50. It is basically just the ex_usb_serial2.c example code included with PCWH, but without the debug code and eeprom. I get a connection with m ... |
Topic: ICD-U40 w/ PIC18F26J50 |
DragonPIC
Replies: 1
Views: 29902
|
Forum: CCS ICD / Mach X / Load-n-Go Posted: Fri Apr 23, 2010 4:13 pm Subject: ICD-U64 |
Just got a new ICD-U64 and all works good. For some reason the whole 3V-5V and 3V only thing is just a little confusing. Have no time to wait for a hardware Rev update. Unless it can be done myself ... |
Topic: ICD-U40 w/ PIC18F26J50 |
DragonPIC
Replies: 1
Views: 29902
|
Forum: CCS ICD / Mach X / Load-n-Go Posted: Wed Apr 21, 2010 9:21 am Subject: ICD-U40 w/ PIC18F26J50 |
Just tried to hook up the ICD-U40 up to a PIC18F26J40. Opened up CCSLOAD and found my part in the list and it failed to detect my part. I then disconnected the part and ran diags. VPP sits at 4V. ... |
Topic: Interrupts? |
DragonPIC
Replies: 13
Views: 14179
|
Forum: General CCS C Discussion Posted: Mon Feb 06, 2006 2:29 pm Subject: Customize |
Sounds like you are going to have to do a customized ISR for the RS232 that checks the CCP1 interrupt flag and then calls a math function from inside that ISR.
You might be able to check the CCP1 i ... |
Topic: ADC readings fault |
DragonPIC
Replies: 6
Views: 8334
|
Forum: General CCS C Discussion Posted: Tue Jan 03, 2006 2:36 pm Subject: ADC readings fault |
did you setup the ADC?
setup_adc_ports();
setup_adc(); |
|