Hi All,
I am currently battling with the PIC18F2550, PIC18F4550, PIC18F2553, PIC18F4553
I have used the HID project in the examples section and all I have added is a traditional led flashing routine. But would you believe it the PIC will not start up and the LED will not flash.
I have disabled the comparators, ADC, etc as with the code sample but no luck. The LED is flashingh on port B.0.
I don't suppose anyone has susch a simple working rountine that they can share to help me trouble shoot ie it must work on your dev board. I have tried the exaxt same code with all four devices above with the same result, the led just will not flash. I have tried the same code on a PIC16F887, and it works so it's not the programmer or the PCB
Programmer :PICKIT 2
MkroC version: MikroC Pro for PIC 5.01
Thanks in advance
Michael Havenga
USB Devices Fuse configuration
USB Devices Fuse configuration
ZarDynamix | Fidelis et fortis semper
An embedded solutions company
Site | http://www.zardynamix.com
An embedded solutions company
Site | http://www.zardynamix.com
Re: USB Devices Fuse configuration
Hi,
Here is a simple project that will toggle the PORTA LEDs whenever you send a string from the HID Terminal
Regards,
Filip.
Here is a simple project that will toggle the PORTA LEDs whenever you send a string from the HID Terminal
Regards,
Filip.
- Attachments
-
- proj.rar
- (9.74 KiB) Downloaded 165 times
Re: USB Devices Fuse configuration
Thankyou very much, appreciate it.
Regards
Michael
Regards
Michael
ZarDynamix | Fidelis et fortis semper
An embedded solutions company
Site | http://www.zardynamix.com
An embedded solutions company
Site | http://www.zardynamix.com
Re: USB Devices Fuse configuration
Hi Marko,
I am using windows 7 and for some reason the PC is not picking up the USB device. I know the following:
1) The pic is starting up and working as an LED toggle at the begining of the code works
2) The USB PORT on my PC is working as the MCP2200 device on my PCB enurmerates and runs correctly.
Q1: Is there a possibility that the include file is missing or is that part of the library now ?
Q2: Is there a possibility that I can verify if the USB UART Is not starting up - how ?
Q3: Does the capacitor i use matter ? I see You guys use 2 x 100 Nf in parrallerl and others use a 470nf Capacitor. The closest I had was a 47uF - is that perhaps the problem ?
Q4: Do I need some sort of HID driver for the PIC18F2550 ?
Regards
Michael
I am using windows 7 and for some reason the PC is not picking up the USB device. I know the following:
1) The pic is starting up and working as an LED toggle at the begining of the code works
2) The USB PORT on my PC is working as the MCP2200 device on my PCB enurmerates and runs correctly.
Q1: Is there a possibility that the include file is missing or is that part of the library now ?
Q2: Is there a possibility that I can verify if the USB UART Is not starting up - how ?
Q3: Does the capacitor i use matter ? I see You guys use 2 x 100 Nf in parrallerl and others use a 470nf Capacitor. The closest I had was a 47uF - is that perhaps the problem ?
Q4: Do I need some sort of HID driver for the PIC18F2550 ?
Regards
Michael
ZarDynamix | Fidelis et fortis semper
An embedded solutions company
Site | http://www.zardynamix.com
An embedded solutions company
Site | http://www.zardynamix.com
Re: USB Devices Fuse configuration
Hi Marko,
With regards to this post and this one PIC18F27J53 USB Problemhttp://www.mikroe.com/forum/viewtopic.p ... 9&e=164039, i was able to get the PIC working. I did not realise that when you switch processors the FUSE settings change; even if from the same family, which was the reason why it was not working on the PIC18F2550. When I tried the code on a PIC18F4550, works as expected.
Regards
Michael
With regards to this post and this one PIC18F27J53 USB Problemhttp://www.mikroe.com/forum/viewtopic.p ... 9&e=164039, i was able to get the PIC working. I did not realise that when you switch processors the FUSE settings change; even if from the same family, which was the reason why it was not working on the PIC18F2550. When I tried the code on a PIC18F4550, works as expected.
Regards
Michael
ZarDynamix | Fidelis et fortis semper
An embedded solutions company
Site | http://www.zardynamix.com
An embedded solutions company
Site | http://www.zardynamix.com