Hi Guys
Please help me, i cant run any of the USB Device library ("http://www.libstock.com/projects/view/5 ... ce-library")examples: CDC, HID and Mass storage device.
Whenever i run these examples i get an error message saying: "Can't open include file "stdint.h"
I don't know where this file is.
Please assist me.
I can't run the USB Device library Examples
I can't run the USB Device library Examples
Free online Microcontroller Tutorials and Projects for Hobbyists and students. From beginners to advanced.
Website: https://www.studentcompanion.co.za
YouTube Tutorials: https://www.youtube.com/user/StudentCompanionSA
Website: https://www.studentcompanion.co.za
YouTube Tutorials: https://www.youtube.com/user/StudentCompanionSA
- milos.vicentijevic
- Posts: 965
- Joined: 23 Apr 2013 08:09
Re: I can't run the USB Device library Examples
Hello,
have you installed USB library with Package Manager ?
this file is regulary on the path ..\Mikroelektronika\mikroC PRO for PIC\Include .
If this file is there and you still have this problem please try to copy this file to your example project folder. Than you can add it to your project manually in Project Manager (Header files).
Best Regards,
Milos Vicentijevic
have you installed USB library with Package Manager ?
this file is regulary on the path ..\Mikroelektronika\mikroC PRO for PIC\Include .
If this file is there and you still have this problem please try to copy this file to your example project folder. Than you can add it to your project manually in Project Manager (Header files).
Best Regards,
Milos Vicentijevic
Re: I can't run the USB Device library Examples
Hi
Yes i installed it with the package manager.
I have copied that file manually, now i can run the program without any error.
The problem is my circuit still doesn't work, the proteus simulation generate an error: "USB device initialization failed" while if i use the normal USB HID from MikroC example folder it works fine.
Here is my circuit attached, please help.
Yes i installed it with the package manager.
I have copied that file manually, now i can run the program without any error.
The problem is my circuit still doesn't work, the proteus simulation generate an error: "USB device initialization failed" while if i use the normal USB HID from MikroC example folder it works fine.
Here is my circuit attached, please help.
- Attachments
-
- USB Communication Proteus.zip
- Proteus file
- (15.53 KiB) Downloaded 399 times
Free online Microcontroller Tutorials and Projects for Hobbyists and students. From beginners to advanced.
Website: https://www.studentcompanion.co.za
YouTube Tutorials: https://www.youtube.com/user/StudentCompanionSA
Website: https://www.studentcompanion.co.za
YouTube Tutorials: https://www.youtube.com/user/StudentCompanionSA
- milos.vicentijevic
- Posts: 965
- Joined: 23 Apr 2013 08:09
Re: I can't run the USB Device library Examples
Hello Katela,
Proteus is really not supported mikroElektronika certified environment on which your test can be performed. So, this is out of our support scope.
Thank you for your understanding.
Best Regards,
Milos Vicentijevic
Proteus is really not supported mikroElektronika certified environment on which your test can be performed. So, this is out of our support scope.
Thank you for your understanding.
Best Regards,
Milos Vicentijevic
Re: I can't run the USB Device library Examples
Thank you Milos for your reply.
I will try other options.
Which simulation test environment supported by Mikroelekronika.
It always good to simulate a product before building the actual hardware.
Thank you for your assistance.
I will try other options.
Which simulation test environment supported by Mikroelekronika.
It always good to simulate a product before building the actual hardware.
Thank you for your assistance.
Free online Microcontroller Tutorials and Projects for Hobbyists and students. From beginners to advanced.
Website: https://www.studentcompanion.co.za
YouTube Tutorials: https://www.youtube.com/user/StudentCompanionSA
Website: https://www.studentcompanion.co.za
YouTube Tutorials: https://www.youtube.com/user/StudentCompanionSA
Re: I can't run the USB Device library Examples
katela wrote:Thank you Milos for your reply.
I will try other options.
Which simulation test environment supported by Mikroelekronika.
It always good to simulate a product before building the actual hardware.
Thank you for your assistance.
BUMP....
Which simulation test environment supported by Mikroelekronika?
if non.. any suggestions on how can we test it before making the actual hardware..
Re: I can't run the USB Device library Examples
Hi,
Currently, no simulation environments are fully supported.
The best way to test is to make a bread board circuit.
Regards,
Filip.
Currently, no simulation environments are fully supported.
The best way to test is to make a bread board circuit.
Regards,
Filip.