Search found 8 matches

by kb501x
24 Aug 2020 03:33
Forum: mikroC PRO for PIC General
Topic: USB_Dev Library- Issue Bulk Stalling
Replies: 1
Views: 752

Re: USB_Dev Library- Issue Bulk Stalling

Hello; Just an update despite no reply here. :( The stalling error is not related to silicon but it is related to the USB stack. I ported the project to MPLAB and used their USB stack and everything is working as it should. I am reaching speeds of 256k/sec using bulk and ping-pong. I Hope you guys w...
by kb501x
23 Jul 2020 17:44
Forum: mikroC PRO for PIC General
Topic: USB_Dev Library- Issue Bulk Stalling
Replies: 1
Views: 752

USB_Dev Library- Issue Bulk Stalling

Hi members; Sorry did not want to revive an old post in the forum https://forum.mikroe.com/viewtopic.php?f=88&t=69791 I working on a project (an old one that finally got some time to work on it) using MikroC Pro 7.6, trying to get bulk transfer working at higher transfer rates. Here is the issue: 18...
by kb501x
05 Apr 2017 21:31
Forum: mikroC PRO for PIC General
Topic: USB Question
Replies: 2
Views: 5852

Re: USB Question

Danilo; Thanks for the reply. I do know that there are examples when the library is installed and I am actually performed some modifications on "CDCDevice_Pic18F.c" to be able to include MS OS handling for driver-less WinUSB. So far working enumeration and transactions (64bytes). If I am sending a b...
by kb501x
22 Mar 2017 18:49
Forum: mikroC PRO for PIC General
Topic: USB Question
Replies: 2
Views: 5852

USB Question

Hello All; I am working on USB device based on "USB device library" + examples for use with Winusb for bulk transfer. I am able to do some transfers but I am facing with an issue where the IN endpoint stalls frequently whenever a request large data from the device is issued. Host: issue winsub_Read ...
by kb501x
02 Sep 2016 19:35
Forum: mikroC PRO for PIC General
Topic: USB Bulk Example
Replies: 3
Views: 1783

Re: USB Bulk Example

Nadir;
Thanks for the reply. I tried searching within the forum for an example but with no avail.
Would you please point me to a post, through a link, that you know where I can find an example? It does not matter the compiler used as far as it is written based on USB device library.

Thanks a lot.
by kb501x
29 Aug 2016 03:21
Forum: mikroC PRO for PIC General
Topic: USB Bulk Example
Replies: 3
Views: 1783

USB Bulk Example

Hi forum members; I am doing some experiments on 18f4550 trying to implement USB bulk transfer. The USB MSC example in the library, includes a lot of dependencies on mass storage. The library specifically specify bulk transfer for mass storage but I am looking to implement bulk transfer only and not...
by kb501x
06 Jun 2016 15:48
Forum: mikroC PRO for PIC General
Topic: usb bootloader pic18f25k50
Replies: 3
Views: 1865

Re: usb bootloader pic18f25k50

Dear all; Any solution to the bootloader example not working? I am trying to get the bootloader working with 18F25k50 but with no avail. What have been done: - Changed the configuration bits to the same on as a project that is working fine. - Added few line in the iniconfig to have the controller us...
by kb501x
05 Jan 2015 04:39
Forum: Libstock Discussion
Topic: New USB Device Library Released!
Replies: 59
Views: 738713

Re: New USB Device Library Released!

Hello Members; I am not sure what I am doing wrong. I am trying to use "USB device library" with 18f4550 but could not pass enumeration? Tried both hardware and using isis gave same result. I successfully used legacy HID class without issues both hardware and with Proteus. This is with MiroC Pro and...

Go to advanced search