<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Advice needed on implementation strategy (mainly protocol) in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Advice-needed-on-implementation-strategy-mainly-protocol/m-p/523290#M5926</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by MarcVonWindscooting on Fri Jun 27 05:48:43 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Are you implementing this from scratch? I'm interested in your progress and the code&amp;nbsp; ;-)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've started learning USB a few days ago (LPC176x/5x device) and use libusb-1.0 (Linux, |USB host) to get a feeling for it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Marc&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 16:43:01 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T16:43:01Z</dc:date>
    <item>
      <title>Advice needed on implementation strategy (mainly protocol)</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Advice-needed-on-implementation-strategy-mainly-protocol/m-p/523285#M5921</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Pacman on Fri Jun 13 17:22:57 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm thinking about making a small device, which is plugged into a computer's USB-port like a USB-stick.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It has a couple of output wires.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The job of the device would be to receive a text-file, parse it, and output a bitstream.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm imagining that it will work like copying a file from the computer onto a USB-stick; the difference is just that the storage is "limitless", and the file is not "saved".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In other words, it would behave like a "write-only" device, something similar to /dev/null ;)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How would you suggest to implement this the best way ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-I'm completely new to USB (I've always avoided it, because I thought it was overwhelming), but I've read a bit about it, so I know there are different types of protocols, but I don't know which would suit my needs the best.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I wonder if it's best to "identify" as a storage device.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I haven't seen anyone do this before. What would be the right way to do something like this ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Note: I'll probably be using a Cortex-M3 based device, perhaps the LPC134x or LPC175x/6x, maybe even a Cortex-M0; but definitely a Cortex-M device with USB support.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 16:42:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Advice-needed-on-implementation-strategy-mainly-protocol/m-p/523285#M5921</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T16:42:58Z</dc:date>
    </item>
    <item>
      <title>Re: Advice needed on implementation strategy (mainly protocol)</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Advice-needed-on-implementation-strategy-mainly-protocol/m-p/523286#M5922</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by TheFallGuy on Sat Jun 14 01:30:30 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Sounds like a serial device (tty) and nothing like a mass storage device. NXP provide an example for a USB serial device (CDC - communications device class). Look at LPCOpen for the device you are going to use.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 16:42:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Advice-needed-on-implementation-strategy-mainly-protocol/m-p/523286#M5922</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T16:42:59Z</dc:date>
    </item>
    <item>
      <title>Re: Advice needed on implementation strategy (mainly protocol)</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Advice-needed-on-implementation-strategy-mainly-protocol/m-p/523287#M5923</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Pacman on Sat Jun 14 05:18:23 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you for the quick reply. :)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I will have a look at the CDC example.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Would such a USB serial device allow me to insert the device as a USB-stick, without writing a driver for the host computer and then drag a file onto it ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 16:42:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Advice-needed-on-implementation-strategy-mainly-protocol/m-p/523287#M5923</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T16:42:59Z</dc:date>
    </item>
    <item>
      <title>Re: Advice needed on implementation strategy (mainly protocol)</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Advice-needed-on-implementation-strategy-mainly-protocol/m-p/523288#M5924</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by TheFallGuy on Sat Jun 14 05:24:19 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;No, it is a serial device, not a mass storage device. You would use copy or cp to copy a file to the device, just like you would with the null device.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 16:43:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Advice-needed-on-implementation-strategy-mainly-protocol/m-p/523288#M5924</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T16:43:00Z</dc:date>
    </item>
    <item>
      <title>Re: Advice needed on implementation strategy (mainly protocol)</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Advice-needed-on-implementation-strategy-mainly-protocol/m-p/523289#M5925</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Pacman on Sat Jun 14 05:27:41 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you very much for this information. You've just saved me a lot of time. :)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 16:43:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Advice-needed-on-implementation-strategy-mainly-protocol/m-p/523289#M5925</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T16:43:01Z</dc:date>
    </item>
    <item>
      <title>Re: Advice needed on implementation strategy (mainly protocol)</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Advice-needed-on-implementation-strategy-mainly-protocol/m-p/523290#M5926</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by MarcVonWindscooting on Fri Jun 27 05:48:43 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Are you implementing this from scratch? I'm interested in your progress and the code&amp;nbsp; ;-)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've started learning USB a few days ago (LPC176x/5x device) and use libusb-1.0 (Linux, |USB host) to get a feeling for it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Marc&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 16:43:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Advice-needed-on-implementation-strategy-mainly-protocol/m-p/523290#M5926</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T16:43:01Z</dc:date>
    </item>
  </channel>
</rss>

