<?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>LPC MicrocontrollersのトピックHow to make MSC drive readonly?</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-make-MSC-drive-readonly/m-p/524172#M6808</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Muis on Wed Feb 12 02:58:01 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Using the previous generation of USB drivers it was very simple to make a Mass Storage drive appear read-only to Windows, by setting a flag in result to some SCSI command, but I can't figure out how to do the same using LPCOpen (and the USB ROM drivers). The only API functions that are available are:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;MSC_Read&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;MSC_Write&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;MSC_Verify&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;MSC_GetWriteBuf&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Which abstract away all SCSI commands, but the endresult is that I can't figure out a way to make the drive read-only.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a solution for this? For example, by overriding the endpoint-handler?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 16:48:24 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T16:48:24Z</dc:date>
    <item>
      <title>How to make MSC drive readonly?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-make-MSC-drive-readonly/m-p/524172#M6808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Muis on Wed Feb 12 02:58:01 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Using the previous generation of USB drivers it was very simple to make a Mass Storage drive appear read-only to Windows, by setting a flag in result to some SCSI command, but I can't figure out how to do the same using LPCOpen (and the USB ROM drivers). The only API functions that are available are:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;MSC_Read&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;MSC_Write&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;MSC_Verify&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;MSC_GetWriteBuf&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Which abstract away all SCSI commands, but the endresult is that I can't figure out a way to make the drive read-only.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a solution for this? For example, by overriding the endpoint-handler?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 16:48:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-make-MSC-drive-readonly/m-p/524172#M6808</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T16:48:24Z</dc:date>
    </item>
  </channel>
</rss>

