Hello everyone,
I have got my new EASYPIC7 board with Mikroc pro. I have a problem with running a HID device with PIC18F4550.
I want to try the HID Read Write interrupt example for ME , i programmed the original HEX file ( NOT RECOMPILING) in the PIC18f4550 , i placed the jumper J12 in the right (USB) position. but my PC not recognize the device.
I have an elitebook hp 6930p with WIN7 64 bits.
Any help please.
Best regards salah.
USB HID problem with EASYPIC7
USB HID problem with EASYPIC7
- Attachments
-
- HID Read Write Interrupt.rar
- (13.92 KiB) Downloaded 152 times
Re: USB HID problem with EASYPIC7
Have you tried other examples and all of them are working correctly?
Free Microcontroller Tutorials & Projects for Hobbyists and students from beginners to advanced.
Website: https://www.studentcompanion.co.za/cate ... o-for-pic/
Youtube Tutorials: https://www.youtube.com/user/StudentCompanionSA
Website: https://www.studentcompanion.co.za/cate ... o-for-pic/
Youtube Tutorials: https://www.youtube.com/user/StudentCompanionSA
- Aleksandar.Mitrovic
- mikroElektronika team
- Posts: 1697
- Joined: 11 Mar 2015 12:48
Re: USB HID problem with EASYPIC7
Hi Salahd,
Can you please tell me which clock settings do you use for this PIC?
Also please take a look at this post:
http://www.mikroe.com/forum/viewtopic.p ... id#p256516
Best regards,
Aleksandar
Can you please tell me which clock settings do you use for this PIC?
Also please take a look at this post:
http://www.mikroe.com/forum/viewtopic.p ... id#p256516
Best regards,
Aleksandar
-
- Posts: 1543
- Joined: 24 Jun 2007 19:27
- Location: 01800 St Maurice de Gourdans France
- Contact:
Re: USB HID problem with EASYPIC7
hello,
Could you confirm, or disagree
if the mikro bootloader must be installed on a StartUSB 18F2550
to be able to use HID terminal ?
I tested it, without mikro bootloader , without succes..
i reinstaled the bootloader,
then HID terminal was reconized ..
Could you confirm, or disagree
if the mikro bootloader must be installed on a StartUSB 18F2550
to be able to use HID terminal ?
I tested it, without mikro bootloader , without succes..
i reinstaled the bootloader,
then HID terminal was reconized ..
- Aleksandar.Mitrovic
- mikroElektronika team
- Posts: 1697
- Joined: 11 Mar 2015 12:48
Re: USB HID problem with EASYPIC7
Hi,
You should be able to use HID terminal without bootloader.
Only you need drivers and HID example for test.
I suggest you to update HID drivers in you Device Manager. Problem can be in Windows.
Best regards,
Aleksandar
You should be able to use HID terminal without bootloader.
Only you need drivers and HID example for test.
I suggest you to update HID drivers in you Device Manager. Problem can be in Windows.
Best regards,
Aleksandar
Re: USB HID problem with EASYPIC7
Hi
Thanks mr Aleksandar;
thanks mr keshena;
I have not powered my card, I thought that the USB is sufficient
now all is ok in simulation with PROTEUS and in real hardware.
But now I need a VB6 or Vb dot Net a basic application to communicate with the laptop to understand how to manage the interface or through the laptop.
Thanks a lot
Best regards
salah
Thanks mr Aleksandar;
thanks mr keshena;
I have not powered my card, I thought that the USB is sufficient
now all is ok in simulation with PROTEUS and in real hardware.
But now I need a VB6 or Vb dot Net a basic application to communicate with the laptop to understand how to manage the interface or through the laptop.
Thanks a lot
Best regards
salah
- Aleksandar.Mitrovic
- mikroElektronika team
- Posts: 1697
- Joined: 11 Mar 2015 12:48
Re: USB HID problem with EASYPIC7
Hi Salah,
Your welcome.
Good luck with your project.
Best regards,
Aleksandar
Your welcome.
Good luck with your project.
Best regards,
Aleksandar
-
- Posts: 1543
- Joined: 24 Jun 2007 19:27
- Location: 01800 St Maurice de Gourdans France
- Contact:
Re: USB HID problem with EASYPIC7
Hello,
Thank's for your answer
my probleme was config bit problem..
i used pickit3 ICSP link to retrive the Hex from my 18F2550
when working OK with Bootloader + Test HID terminal program
and i see tha config bit was not the same as mine ,in the HID terminal program..
It means bootloader Overwrite some config bit , or not allow to change some of them..
So, i copy the result comming from Pickit3 into a new config bits
via the Edit project ..and my HID terminal test.
I erased all the PIC , to remove the bootloader
and load HID Test program (*.hex) via ICSP Pickit3 link.
=> and get a good result..
Works OK , without bootloader .
Thank's for your answer
Youre are right ..Aleksandar.Mitrovic wrote:Hi,
You should be able to use HID terminal without bootloader.
my probleme was config bit problem..
i used pickit3 ICSP link to retrive the Hex from my 18F2550
when working OK with Bootloader + Test HID terminal program
and i see tha config bit was not the same as mine ,in the HID terminal program..
It means bootloader Overwrite some config bit , or not allow to change some of them..
So, i copy the result comming from Pickit3 into a new config bits
via the Edit project ..and my HID terminal test.
I erased all the PIC , to remove the bootloader
and load HID Test program (*.hex) via ICSP Pickit3 link.
=> and get a good result..
Works OK , without bootloader .
- Aleksandar.Mitrovic
- mikroElektronika team
- Posts: 1697
- Joined: 11 Mar 2015 12:48
Re: USB HID problem with EASYPIC7
Hi Paul,
I'm glad that you make it work.
Regards,
Aleksandar
I'm glad that you make it work.
Regards,
Aleksandar