Hi
Im using a pic18f2550 usb port to communicate with a mobile usb....
But im having some difficulties...
Does the usb of the pic need to be in "master mode" to communicate with useb of the mobile phone...Please need some guidance
Hi
Im using a pic18f2550 usb port to communicate with a mobile usb....
But im having some difficulties...
Does the usb of the pic need to be in "master mode" to communicate with useb of the mobile phone...Please need some guidance
Bruce,
Would it be possible to get a copy of the C18 files for this firmware please. I have an application that has LEDs on a different port and just want to move them - shouldn't be that hard for me to muddle through.
With Thanks,
bill.
Hi Bill,
The USB framework has gone through several changes since I posted the modified loader above. Grab the newest v2.3 C18 files here;
http://www.microchip.com/stellent/id...cName=en537044
After you install it, Look in C:\Microchip Solutions\USB Device - Bootloaders\HID - Bootloader\HID Bootloader - Firmware for PIC18 Non-J Devices for io_cfg.h. That's the configuration header you'll need to modifiy to move your LEDs to another port.
If you get stuck let me know. I'll help you modify it.
Cool, thanks Bruce.
Downloading it now. I have an older version that I got when installing the PICDEM FS Usb board.
Interesting its the HID bootloader, but your version appears as a custom USB device that I can program with the PICDEM FS Demo application, rather than an HID device. Maybe this newer version is a built different.
bill.
Hi Bruce,
Having some issues - Sent you a Message - you might need to log into your User Panel to see it - can't see the Private Message option on the forum anymore..
Might be MPLAB crosseye-ness though !
bill
I am a very happy chappie !
I managed to recompile the bootloader to use alternative LED pins. One thing to be aware of is that there are now two bootloader codebases that Microchip provide. One is the HID bootloader, the other is one that will work with the MPUSB application.
I tried the HID bootloader, but got some weird results, so instead modified the MPUSB bootloader which uses the custom Microchip driver. This allows me to continue to use the PICDEM FS Demo Board application to bootload my code.
All good ! Also learned more about MPLAB and C coding than I think I ever wanted to know...
bill.
Bookmarks