PIC Embedded USB Engine

Discussion in 'Embedded Systems and Microcontrollers' started by Dawud Beale, Jan 20, 2014.

  1. Dawud Beale

    Thread Starter Member

    Feb 10, 2012
    275
    7
  2. 3v0

    Member

    Mar 26, 2009
    14
    3
    You did not say what compiler you were using.
     
    Dawud Beale likes this.
  3. Dawud Beale

    Thread Starter Member

    Feb 10, 2012
    275
    7
    The GUI I am using is MPLAB X with a C8 compiler
     
  4. 3v0

    Member

    Mar 26, 2009
    14
    3
    Need to see if microchip has ported the USB stack to XC8. I would hope so they have done that.

    EDIT: A brief search came up with
    http://www.microchip.com.edgekey.net/forums/m679588-print.aspx

    Does not look good. Looks bad.

    I would suggest going back to C18 and using one of the USB enabled processors it supports.
     
    Last edited: Jan 20, 2014
  5. nigelwright7557

    Senior Member

    May 10, 2008
    487
    71
    There is a complete USB project at www.waitingforfriday.com
    He provides circuit, PIC18F4550 code and PC code in C++ and C#.

    I have used it and it works straight out of the box.
    I have done 4 projects using it as a basis now.
     
  6. JohnInTX

    Moderator

    Jun 26, 2012
    2,347
    1,029
    I would not put too much stock in a post from 2012. XC8 has become much more refined (complete?) since then. That said, uCHIP has said in the past that C18 code may not all port well to XC8.. new code should not be a problem.

    The newer MLA approach should take care of most USB implementation issues.

    Good luck!
     
  7. 3v0

    Member

    Mar 26, 2009
    14
    3
    John thanks for the heads up. This is good news.
     
Loading...