• AVR Freaks

PIC USB related web sites

Page: < 12345 > Showing page 2 of 5
Author
pantoine
New Member
  • Total Posts : 14
  • Reward points : 0
  • Joined: 2007/04/18 07:37:44
  • Location: 0
  • Status: offline
RE: PIC USB related web sites 2007/08/13 18:36:08 (permalink)
0
I found the USB Bit Whacker site of great use:

http://greta.dhs.org/UBW/index.html

Units can be purchased from Sparkfun:

http://www.sparkfun.com

Who run an 18F series USB-focussed forum for the UBW:

http://forum.sparkfun.com/viewforum.php?f=19

Disclosure: I built a UBW, and am a happy customer of Sparkfun.

Regards,
Paul Antoine
#21
xiaofan
Super Member
  • Total Posts : 6247
  • Reward points : 0
  • Joined: 2005/04/14 07:05:25
  • Location: Singapore
  • Status: offline
RE: PIC USB related web sites 2007/09/07 19:51:21 (permalink)
0
USB Composite device related thread:

USB Composite Device Operation
http://forum.microchip.com/tm.aspx?m=189607

Multiple USB devices in a single 18f -- using 18F4550 to emulate FDTI2232 dual com port
http://forum.microchip.com/tm.aspx?m=261649

Composite Device with 2 interfaces -keyboard+mouse  
http://forum.microchip.com/tm.aspx?m=270791

Reference from Cygnal forum:
http://www.cygnal.org/ubb/Forum9/HTML/001050.html

Added on 15-March-2008
Composite device (HID + MSD) with PIC18F4550

Composite Device with 2 interfaces -keyboard+mouse 

Composite CDC + HID

USB PIC24 with 4 CDC + HID
http://www.microchip.com/forums/tm.aspx?m=418885

post edited by xiaofan - 2009/04/27 05:41:51

  USB_Links and libusb
#22
xiaofan
Super Member
  • Total Posts : 6247
  • Reward points : 0
  • Joined: 2005/04/14 07:05:25
  • Location: Singapore
  • Status: offline
RE: PIC USB related web sites 2007/09/07 20:02:26 (permalink)
0
USB audio related threads:

(BTW, Stack v2.6 and later also got USB Audio examples: USB Speaker and USB Midi).

USB Audio Device using PIC18F4550
http://forum.microchip.com/tm.aspx?m=231496

Mike Zoran has put his USB soundcard project mentioned in the thread online (USB audio and WinUSB composite device):
http://home.comcast.net/~armag1234/soundcard.html (dead link now)
http://www.raccoonrezcats.com/soundcard.html (new link)

USB Midi device
http://forum.microchip.com/tm.aspx?m=278062

pic18f4550 with MIDI
http://forum.microchip.com/tm.aspx?m=278366

EUSART bug and MIDI
http://forum.microchip.com/tm.aspx?m=85120

USB Midi
http://www.ucapps.de/
http://www.midibox.org/

Sc6po has some good comments here about USB audio device here:
http://forum.microchip.com/tm.aspx?m=270049

Another USB midi example from Tsuneo
http://forum.microchip.com/tm.aspx?m=371796

USB Midi Project from raichea
http://www.microchip.com/forums/tm.aspx?m=409051

Getting better Audio Quality
http://www.microchip.com/forums/tm.aspx?m=319342

USB MP3 Audio Streamer
http://www.microchip.com/forums/tm.aspx?m=434166

post edited by xiaofan - 2010/03/15 03:58:25

  USB_Links and libusb
#23
xiaofan
Super Member
  • Total Posts : 6247
  • Reward points : 0
  • Joined: 2005/04/14 07:05:25
  • Location: Singapore
  • Status: offline
RE: PIC USB related web sites 2007/09/09 04:55:01 (permalink)
0
USB CDC related links:

Dual Com port emulation of FTDI2232
http://forum.microchip.com/tm.aspx?m=261649

CDC and Composite Device
http://forum.microchip.com/tm.aspx?m=189607

USB Bit Whacker,  CDC Vista INF file download
http://greta.dhs.org/UBW/index.html

CDC with 18F2450, CDC Vista INF file
http://www.obddiag.net/pic2450.html
http://forum.microchip.com/tm.aspx?m=225938

Interrupt driven CDC
http://forum.microchip.com/tm.aspx?m=135226
http://forum.microchip.com/tm.aspx?m=123533
http://forum.microchip.com/tm.aspx?m=326417


Detecting Virtual COM port
http://forum.microchip.com/tm.aspx?m=234674
http://forum.microchip.com/tm.aspx?m=277467

CDC speed discussion
http://forum.microchip.com/tm.aspx?m=264065

Fast CDC firmware from Ostry
http://ostry.w.szu.pl/index.php?stan=fastPICCDC

usbser.sys from Windows XP SP3 caused BSOD, replace it with SP2's usbser.sys solved the problem
http://www.microchip.com/forums/tm.aspx?m=469465
post edited by xiaofan - 2010/01/29 20:54:11

  USB_Links and libusb
#24
xiaofan
Super Member
  • Total Posts : 6247
  • Reward points : 0
  • Joined: 2005/04/14 07:05:25
  • Location: Singapore
  • Status: offline
xiaofan
Super Member
  • Total Posts : 6247
  • Reward points : 0
  • Joined: 2005/04/14 07:05:25
  • Location: Singapore
  • Status: offline
RE: PIC USB related web sites 2007/09/13 05:41:55 (permalink)
0
How to get USB faster?? PingPong??

How to use bulk transfers with Microchip Custom Driver
http://forum.microchip.com/tm.aspx?m=94120

How to make USB faster with 18F4550?
http://forum.microchip.com/tm.aspx?m=165751

Getting USB faster with CDC or alternative driver
http://forum.microchip.com/tm.aspx?m=173421
http://forum.microchip.com/tm.aspx?m=264065

Using Ping Pong
http://forum.microchip.com/tm.aspx?m=147075

1023 bytes/ mSec from PIC to PC using Isochronous mode of transfer and SPP
http://forum.microchip.com/tm.aspx?m=251449

PingPong
http://forum.microchip.com/tm.aspx?m=273995
http://forum.microchip.com/tm.aspx?m=318741

Olin Lathrop's Assembly based USB firmware stack with Ping Pong and triple software buffer
http://www.embedinc.com/pic/usb.htm

Bulk transfer speed record for USB PICs with PIC32 , MAX USB Bulk Transfer Speed
http://www.microchip.com/forums/tm.aspx?m=417509
post edited by xiaofan - 2010/01/21 07:52:44
#26
xiaofan
Super Member
  • Total Posts : 6247
  • Reward points : 0
  • Joined: 2005/04/14 07:05:25
  • Location: Singapore
  • Status: offline
RE: PIC USB related web sites 2007/09/16 00:58:17 (permalink)
0
Some more interesting URLs not from the Forum.

Many USB examples with CCS USB code, including USB scope
http://www.semifluid.com/ 

USB CNC G-code interpreter
http://www.cncdudez.com/

USB CNC
http://burger-web.com/Projects/PIC18F4550USB/de_PIC18UsbBoard.htm.de

Interesting discussion on USB audio
http://www.qth.com/pipermail/flexradio_flex-radio.biz/2005-November/003707.html

18F4550 based MP3 player with
  • VS1011b/e MP3 decorer chip
  • PIC18F4550 with USB 2.0 support
  • SD/MMC for MP3 storage
  • Nokia 6610i Color 128×128 LCD
  • 5 way Trackball
  •  using mikroPascal from mikroElektronika
    http://riecktron.co.za/en/pic-projects/sdmmc-mp3-player-v30/
    post edited by xiaofan - 2007/09/16 01:00:55
  • #27
    Elisandra
    Starting Member
    • Total Posts : 83
    • Reward points : 0
    • Joined: 2007/08/10 12:55:45
    • Location: Brazil
    • Status: offline
    RE: PIC USB related web sites 2007/09/17 09:59:32 (permalink)
    0
    ORIGINAL: xiaofan

    yts has posted a lot of useful examples. I will try to collect the examples here:
    ...
    Interrupt driven mouse_demo
    http://forum.microchip.com/tm.aspx?m=134529

    ...



    Hi!
    I would like to see this interrupt driven HID, but the link is broken... I'm using Microchip's framework (poolled) but I'm having some trouble when I enable interrupts. I think it might help to see diferent implementations. In the worst case I could learn a bit more about USB grin
    Maybe yts could post the attachement again, or someone coud send it me by mail elisandrapl AT gmail.com
    Thanks!!
    Elisandra
    #28
    xiaofan
    Super Member
    • Total Posts : 6247
    • Reward points : 0
    • Joined: 2005/04/14 07:05:25
    • Location: Singapore
    • Status: offline
    RE: PIC USB related web sites 2007/09/20 05:33:48 (permalink)
    0
    I happened to have the file. I will upload the code. I have not tested it yet.
    Next time if you need the file you can always send an email to yts and he is always very helpful.

    post edited by xiaofan - 2007/09/20 05:40:21
    #29
    mzoran
    Super Member
    • Total Posts : 683
    • Reward points : 0
    • Status: offline
    RE: PIC USB related web sites 2007/09/21 13:51:25 (permalink)
    0
    The open source USB stack appears to be vaperware.  Even though it has over 2,000 downloads the tar files only consists of two source files each about 50 lines long.  
     
    C:\pic18fusb>dir *.c /S

     Volume in drive C has no label.
     Volume Serial Number is C467-3F8B
     Directory of C:\pic18fusb\src
     
    06/09/2006  08:48 PM             2,374 main.c
    05/23/2006  11:39 AM             1,879 start.c
                   2 File(s)          4,253 bytes
         Total Files Listed:
                   2 File(s)          4,253 bytes
                   0 Dir(s)  262,993,285,120 bytes free
    #30
    xiaofan
    Super Member
    • Total Posts : 6247
    • Reward points : 0
    • Joined: 2005/04/14 07:05:25
    • Location: Singapore
    • Status: offline
    RE: PIC USB related web sites 2007/09/21 16:07:10 (permalink)
    0
    No it is not a vaporware. The source is mainly in the "h" directroy.

    I am running a Linux session now. So the following prompt is from Linux.

    mcuee@ubuntu:~/Desktop/pic18fusb/src$ ls
    CVS h main.c start.c
    mcuee@ubuntu:~/Desktop/pic18fusb/src$ cd h
    mcuee@ubuntu:~/Desktop/pic18fusb/src/h$ ls -la
    total 112
    drwxr-xr-x 3 mcuee mcuee 4096 2006-06-10 10:16 .
    drwxr-xr-x 4 mcuee mcuee 4096 2006-06-10 10:13 ..
    drwxr-xr-x 2 mcuee mcuee 4096 2006-06-10 10:13 CVS
    -rw-r--r-- 1 mcuee mcuee 3266 2006-05-06 04:46 descriptors.h
    -rw-r--r-- 1 mcuee mcuee 5049 2006-06-09 06:22 interrupts.h
    -rw-r--r-- 1 mcuee mcuee 1127 2006-06-10 11:48 msd_data.h
    -rw-r--r-- 1 mcuee mcuee 1925 2006-05-06 04:46 msd_datatypes.h
    -rw-r--r-- 1 mcuee mcuee 9562 2006-06-10 10:16 msd.h
    -rw-r--r-- 1 mcuee mcuee 9769 2006-06-10 11:52 msd.h~
    -rw-r--r-- 1 mcuee mcuee 30161 2006-06-09 06:22 p18f4550.h
    -rw-r--r-- 1 mcuee mcuee 2158 2006-05-06 04:46 system.h
    -rw-r--r-- 1 mcuee mcuee 1409 2006-05-06 04:46 typedefs.h
    -rw-r--r-- 1 mcuee mcuee 4862 2006-05-24 02:39 usbcntrl.h
    -rw-r--r-- 1 mcuee mcuee 4413 2006-06-10 11:48 usb.h
    #31
    Olin Lathrop
    Super Member
    • Total Posts : 7463
    • Reward points : 0
    • Joined: 2004/02/26 17:59:01
    • Location: Littleton Massachusetts
    • Status: offline
    RE: PIC USB related web sites 2007/09/22 17:11:02 (permalink)
    0
    I just want to add to this thread that our open source USB framework is available, see http://www.embedinc.com/pic/usb.htm.  It seems to be one of the few out there that uses ping pong buffering.  In fact it uses triple buffering, with two buffers being owned by the PIC hardware and the other one available to the software to drain or fill.  The USB framework comes with host library and example program, including source code.
    #32
    FunnyNYPD
    Super Member
    • Total Posts : 1553
    • Reward points : 0
    • Joined: 2007/09/28 20:06:59
    • Location: USA & Canada
    • Status: offline
    RE: PIC USB related web sites 2007/09/29 11:49:20 (permalink)
    0
    oh, man, too many post. HOw many time it will take just go over all these. You guys are killing me. Funny NYPD
    #33
    Marctwo
    Super Member
    • Total Posts : 346
    • Reward points : 0
    • Joined: 2007/11/16 07:58:32
    • Status: offline
    RE: PIC USB related web sites 2007/11/28 19:04:09 (permalink)
    0
    Just thought I'd bump this thread with the suggestion that maybe it should be sticky.
    #34
    Mitchell
    Starting Member
    • Total Posts : 26
    • Reward points : 0
    • Joined: 2008/01/14 18:09:03
    • Location: MI USA
    • Status: offline
    RE: PIC USB related web sites 2008/01/21 14:31:08 (permalink)
    0
    JIM - Nice work on the C# project.  I have been looking all over for documentation on the API - Is there any?  I have the PDF that covers the firmware (PIC) side, but can find nothing about the DLL exported functions (PC side).

    Mitchell
    #35
    Neiwiertz
    Super Member
    • Total Posts : 2094
    • Reward points : 0
    • Joined: 2004/09/01 02:58:52
    • Status: offline
    RE: PIC USB related web sites 2008/01/21 14:49:12 (permalink)
    0
    mpusbapi.dll:

    [DllImport("MPUSBAPI.dll")] extern "C" HANDLE MPUSBOpen(DWORD instance,    //  Input
                                                               PCHAR pVID_PID,    // Input
                                                               PCHAR pEP,        // Input
                                                               DWORD dwDir,        // Input
                                                               DWORD dwReserved);// Input

       [DllImport("MPUSBAPI.dll")] extern "C" BOOL MPUSBClose(HANDLE handle);        //Input
       [DllImport("MPUSBAPI.dll")] extern "C" DWORD MPUSBRead(HANDLE handle,        // Input
                                                               PVOID pData,            // Output
                                                               DWORD dwLen,            // Input
                                                               PDWORD pLength,        // Output
                                                               DWORD dwMilliseconds);// Input

       [DllImport("MPUSBAPI.dll")] extern "C" DWORD MPUSBWrite(HANDLE handle,        // Input
                                                               PVOID pData,            // Output
                                                               DWORD dwLen,            // Input
                                                               PDWORD pLength,        // Output
                                                               DWORD dwMilliseconds);// Input
       [DllImport("MPUSBAPI.dll")] extern "C" DWORD MPUSBReadInt(HANDLE handle,        // Input
                                                               PVOID pData,            // Output
                                                               DWORD dwLen,            // Input
                                                               PDWORD pLength,        // Output
                                                               DWORD dwMilliseconds);// Input

    [DllImport("MPUSBAPI.dll")] extern "C" DWORD MPUSBGetDLLVersion(void);
    [DllImport("MPUSBAPI.dll")] extern "C" DWORD MPUSBGetDeviceCount(PCHAR pVID_PID);

    http://members.ee.net/brey/boots.txt
    http://members.ee.net/brey/tech.htm
    http://www.comvcon.com/Using%20MPUSBAPI%20CPP.html
    http://www.comvcon.com/PICUSBDLLDemoFirmware.html
    http://msdn2.microsoft.com/nl-nl/express/aa700755(en-us).aspx
    #36
    xiaofan
    Super Member
    • Total Posts : 6247
    • Reward points : 0
    • Joined: 2005/04/14 07:05:25
    • Location: Singapore
    • Status: offline
    RE: PIC USB related web sites 2008/03/15 08:07:33 (permalink)
    0
    Add some more links to USB Composite Device examples and Ping Pong.

      USB_Links and libusb
    #37
    xiaofan
    Super Member
    • Total Posts : 6247
    • Reward points : 0
    • Joined: 2005/04/14 07:05:25
    • Location: Singapore
    • Status: offline
    RE: PIC USB related web sites 2008/03/22 04:18:39 (permalink)
    0
    SPP related posts and Isochronous transfer
    (using PICyahoo http://adpm.homeip.net/picyahoo.html):

    1. SPP-ISO very strange problem
    http://forum.microchip.com/tm.aspx?m=292224

    2.1023 bytes/ mSec from PIC to PC using Isochronous transfer and SPP.
    http://forum.microchip.com/tm.aspx?m=251449

    3. Other posts
    http://forum.microchip.com/tm.aspx?m=323785

    4. Bare Minimum Isochronous Transfer using SPP
    http://forum.microchip.com/tm.aspx?m=372725
    post edited by xiaofan - 2009/02/01 03:27:51
    #38
    xiaofan
    Super Member
    • Total Posts : 6247
    • Reward points : 0
    • Joined: 2005/04/14 07:05:25
    • Location: Singapore
    • Status: offline
    RE: PIC USB related web sites 2008/03/22 04:35:25 (permalink)
    0
    More HID related posts:

    USB to PS/2 Keyboard using 18F2450
    http://forum.microchip.com/tm.aspx?m=280680
    http://bowling-center-weimar.de/pic/keyboard_2450.zip

    Adding Out Endpoint to HID Joystick
    http://forum.microchip.com/tm.aspx?m=319419

    Supporting Feature Report
    http://forum.microchip.com/tm.aspx?m=321613

    USB multimedia hot key support
    http://forum.microchip.com/tm.aspx?m=226997

    Of course the HID central is a good resource
    http://www.lvr.com/hidpage.htm

    HID related composite device
    HID+MSD:
    http://forum.microchip.com/tm.aspx?m=245903

    HID Keyboard + Mouse with 2 interfaces
    http://forum.microchip.com/tm.aspx?m=270791
    http://potyo.extra.hu/ps2_2_usb.rar
     
    Joysticks for PIC18F4550
    http://forum.microchip.com/tm.aspx?m=133291



    post edited by xiaofan - 2008/06/01 04:40:58

      USB_Links and libusb
    #39
    xiaofan
    Super Member
    • Total Posts : 6247
    • Reward points : 0
    • Joined: 2005/04/14 07:05:25
    • Location: Singapore
    • Status: offline
    RE: PIC USB related web sites 2008/05/03 22:32:07 (permalink)
    0
    Microsoft Vista related issues:
     
    inf file for bootloader under Vista
    http://forum.microchip.com/tm.aspx?m=327176
     
    Problem with USB under Vista (fixed in V2.1 stack)
    http://forum.microchip.com/tm.aspx?m=325039
     
    USB PICDEM (PIC18F4550) 997 Error for the demo or the bootloader
    http://forum.microchip.com/tm.aspx?m=304787
    http://forum.microchip.com/tm.aspx?m=291976
     
    Vista and PICDEM FS USB bootloader and demo problem (fixed by V1.3 stack)
    http://forum.microchip.com/tm.aspx?m=241830
    http://forum.microchip.com/tm.aspx?m=222432 
    http://forum.microchip.com/tm.aspx?m=302575
    http://forum.microchip.com/tm.aspx?m=205019 
    http://forum.microchip.com/tm.aspx?m=311522
     
     

      USB_Links and libusb
    #40
    Page: < 12345 > Showing page 2 of 5
    Jump to:
    © 2019 APG vNext Commercial Version 4.5