I can't run the USB Device library Examples

Beta Testing discussion on mikroC PRO for PIC.
Post Reply
Author
Message
katela
Posts: 13
Joined: 08 Jul 2013 11:01
Location: South Africa
Contact:

I can't run the USB Device library Examples

#1 Post by katela » 30 Nov 2013 22:43

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.
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

User avatar
milos.vicentijevic
Posts: 965
Joined: 23 Apr 2013 08:09

Re: I can't run the USB Device library Examples

#2 Post by milos.vicentijevic » 02 Dec 2013 13:51

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

katela
Posts: 13
Joined: 08 Jul 2013 11:01
Location: South Africa
Contact:

Re: I can't run the USB Device library Examples

#3 Post by katela » 02 Dec 2013 21:42

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.
Attachments
USB Communication Proteus.zip
Proteus file
(15.53 KiB) Downloaded 398 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

User avatar
milos.vicentijevic
Posts: 965
Joined: 23 Apr 2013 08:09

Re: I can't run the USB Device library Examples

#4 Post by milos.vicentijevic » 03 Dec 2013 09:51

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

katela
Posts: 13
Joined: 08 Jul 2013 11:01
Location: South Africa
Contact:

Re: I can't run the USB Device library Examples

#5 Post by katela » 03 Dec 2013 10:55

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.
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

pro.engr
Posts: 1
Joined: 24 Feb 2012 16:42

Re: I can't run the USB Device library Examples

#6 Post by pro.engr » 26 Jun 2014 03:11

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..

User avatar
filip
mikroElektronika team
Posts: 11874
Joined: 25 Jan 2008 09:56

Re: I can't run the USB Device library Examples

#7 Post by filip » 27 Jun 2014 16:11

Hi,

Currently, no simulation environments are fully supported.
The best way to test is to make a bread board circuit.

Regards,
Filip.

Post Reply

Return to “mikroC PRO for PIC Beta Testing”