Open source code for USB on ARM uC.

Discussion in 'Embedded Systems and Microcontrollers' started by Douglas House, Nov 11, 2010.

  1. Douglas House

    Thread Starter New Member

    Nov 10, 2010
    Greetings all.
    I hope to get some advice about resources for adding a USB facility to a new datalogger which I am designing.

    To date I have designed HW and SW for dataloggers using the MSP430 microcontrollers and C language. For USB I have used FTDI FT232R chips.

    For a new project I am evaluating the STMicroelectronics ARM Cortex M3 STM32F103 microcontroller. I have the STM32-SK evaluation board with IAR Kickstart IDE.
    My new board will be a USB peripheral with no master facility.

    I would like to find open source software to implement USB device facility on the ARM uC using it's integrated USB hardware peripheral. The IAR Kickstart kit has USB libraries, but they have to be licenced and even then the runtime libraries seem to be binary only. I would like to have the flexibility that open source offers.

    My questions:
    Is there open source USB SW available for this uC?
    Is there open source USB SW available for other uC that could be ported?
    How difficult is it to implement a solution from open source SW compared to using commercial SW configured specially for the user's uC*

    *My experience consists of writing code in C and assembly for MSP430 based products. I have written much of my code using the MSPGCC suite on Linux.

    It would be good to get the advice of experienced users about the complexity of this task and what pitfalls and difficulties to expect.

    Help gratefully appreciated.