Done!
Ok so first of THANK YOU to everyone.
I'm much further than I was a year ago already...which is a device windows enumerates....
Now for the problem
So i have a 2550. I commented out the old .inc file lines updated the ASM line to reflect the proper PBP version i have, implemented the corrected Fuse settings for the 20mhz crystal. and When I plug up the device to Windows I get "USBDemo" then it changes to two different things Hid compliant device and USB Human Interface Device. Then The HID compliant one disappears...then the USB Human Interface Device Gets an ! over it...
If i run the USB demo VB program the Device Manager Updates and sometimes It will remove teh USB device all together...or sometimes just change to a USB Unknown Device.
WTF?!
Earlier I plugged it in and the DEMO vb Recognized it and displayed the RX data for like...20 loops....then then everything stopped. it didnt recognize the usb device anymore as the Mister_E USBdemo that the program previously displayed...
Other than the ASM changes, "DEFINE OSC 20" and fuse changes ....i haven't changed anything software side. Hardware I have a .33uf because well...the store had a .47uf in 300volts size..and that was to large for the board..and kinda ridiculous. PBP version is 2.46
Is there a setting in MELABS programmer for the internal pull ups? I saw there was on in the code..but maybe it was being overwritten?
I've been toying for 3 days now...re reading the thread and looking at others...![]()
Also...I dont have a .BAL file...*.bal search turned up nothing.. GR....
Anyone?
Last edited by UnaKRon; - 7th June 2008 at 03:53.
Which are rather large changes considering you have to have the right freq for the USB to run right in the first place.
Don't know if it'll fix your problem or not, but there is a 2.46 patch, and a few updates for $25 that gets you up to PBP 2.50A. A few fixes for USB and PIC18F types. Might help, might not.PBP version is 2.46
Internal pullups on Port B are described in the datasheet for the particular PIC.Is there a setting in MELABS programmer for the internal pull ups?
And you won't unless you're using PBP 2.50A.Also...I dont have a .BAL file...*.bal search turned up nothing.. GR....
Hello..
I'm using 18F2550 and USB is working very well... I've been trying to increase the buffer size from 8 to 16 but it do not work.
On Pic's code, I've only changed this:
On VB's code, this:Code:BufferSize con 16 ' BufferSize con 8
Any idea of what is the problem?Code:Private Const BufferInSize = 16 ' Private Const BufferInSize = 8
Thanks!!
Sylvio,
The IN/OUT "Report" length is usually set in one of the easyHID dialogs.
Or it can be changed manually in the Descriptor file.
If you re-run easyHID for the same project, it will wipe out any changes you've made. So create a new project, set everything the way you want it in easyHID, then just copy the descriptor file to your existing project.
hth,
DT
Bookmarks