This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

I am wrighting a fitmware on arm7 to export its functionalities to usb.

I want someone to help me from where i can study the firmware part. Also the sample code with explanation a simple code to just display the charecters to lcd would be enough.
Also i am going to wright the linux drivers for the same functionalities which i would be exporting.

Parents Reply Children
  • "BTW: the word is "write""

    Wright.

    By the way - there are no such program in existence, so you can't request someone to post it.

    You will have to define a large number of commands, and then implement a firmware that decodes the received data and processes commands and parameter data.

    For the prcessing of commands, it doesn't matter much if the commands are received through a serial port or through USB. A serial port sends data a character at a time and requires you to define some framing for breaking the data into individual commands. USB sends messages. But that difference is marginal from your point of view.

  • To the OP:

    Since you said that, you are capable to write the Linux drivers, I assume you are familiar with GNU Tool-chain. And you said the MCU is LPC2148. Then I think LPCUSB project is good for you.

    Check this:

    LPC214x USB stack

    sourceforge.net/.../

    lpcusb is a USB core stack for the built-in USB device of LPC214x microcontrollers. It handles the hardware interface and USB enumeration/configuration. Included are usage examples like USB joystick HID, USB virtual COM port and USB mass storage on SD-ca

    ( Don't know how to contact the authors of LPCUSB. )

  • To the OP:

    Sample Code Bundle for LPC213x/LPC214x Peripherals using Keil's µVision (Dec 18, 2008)

    ics.nxp.com/.../code.bundle.lpc213x.lpc214x.uvision.zip