<?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のトピックRe: LPC11U2x winth non-Windows OS</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11U2x-winth-non-Windows-OS/m-p/527647#M9439</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Zoltan on Wed Jun 20 15:01:05 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I have not tried it, considering that the data sheet repeatedly emphasises that it works only work with Windows.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;However, I found an entry on mbed, &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fmbed.org%2Fforum%2Fmbed%2Ftopic%2F3573%2F" rel="nofollow" target="_blank"&gt;http://mbed.org/forum/mbed/topic/3573/&lt;/A&gt;&lt;SPAN&gt; in which a poster says that he tried &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;it with OS-X and it does not work while with Windows it does. He didn't try Linux. The post is only a week old.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My sentiment was like yours, if it's a mass storage profile, it should work with any OS, because the profile&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;specification is OS agnostic. Apparently NXP managed to make it Windows specific.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 19:28:35 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T19:28:35Z</dc:date>
    <item>
      <title>LPC11U2x winth non-Windows OS</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11U2x-winth-non-Windows-OS/m-p/527645#M9437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Zoltan on Sun Jun 17 04:24:17 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;The datasheet says that the LPC11U2x ISP presents itself as an USB mass storage device. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Then it warns the reader several times that it works with Windows only.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As far as I know the USB mass storage device class is pretty much standard and everybody supports it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Including OS-X, Linux, BSD and about a zillion embedded devices.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, does anyone know what how NXP managed to turn a platform agnostic, standardised device profile to a &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Windows-only, undocumented, proprietary protocol?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:28:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11U2x-winth-non-Windows-OS/m-p/527645#M9437</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:28:33Z</dc:date>
    </item>
    <item>
      <title>Re: LPC11U2x winth non-Windows OS</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11U2x-winth-non-Windows-OS/m-p/527646#M9438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by drs on Wed Jun 20 10:30:24 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;It should work with other operating systems. Have you seen otherwise?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:28:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11U2x-winth-non-Windows-OS/m-p/527646#M9438</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:28:34Z</dc:date>
    </item>
    <item>
      <title>Re: LPC11U2x winth non-Windows OS</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11U2x-winth-non-Windows-OS/m-p/527647#M9439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Zoltan on Wed Jun 20 15:01:05 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I have not tried it, considering that the data sheet repeatedly emphasises that it works only work with Windows.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;However, I found an entry on mbed, &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fmbed.org%2Fforum%2Fmbed%2Ftopic%2F3573%2F" rel="nofollow" target="_blank"&gt;http://mbed.org/forum/mbed/topic/3573/&lt;/A&gt;&lt;SPAN&gt; in which a poster says that he tried &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;it with OS-X and it does not work while with Windows it does. He didn't try Linux. The post is only a week old.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My sentiment was like yours, if it's a mass storage profile, it should work with any OS, because the profile&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;specification is OS agnostic. Apparently NXP managed to make it Windows specific.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:28:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11U2x-winth-non-Windows-OS/m-p/527647#M9439</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:28:35Z</dc:date>
    </item>
    <item>
      <title>Re: LPC11U2x winth non-Windows OS</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11U2x-winth-non-Windows-OS/m-p/527648#M9440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Martin on Sun Aug 19 18:52:07 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I can confirm that it works correctly in OS Linux. I have tried it on PC with Ubuntu and Fedora distributions.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:28:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11U2x-winth-non-Windows-OS/m-p/527648#M9440</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:28:36Z</dc:date>
    </item>
    <item>
      <title>Re: LPC11U2x winth non-Windows OS</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11U2x-winth-non-Windows-OS/m-p/527649#M9441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by DiligentMinds.com on Fri Aug 24 15:51:08 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Zoltan,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Unlike Windows (which writes file data in sequential sector order), Linux and all of the *BSD's (including Apple OS/X, which is based on OpenBSD) write files in random sector order on MS-DOS formatted file systems.&amp;nbsp; I forgot why this is, but it may have something to do with security or performance (or ???).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, if you are trying to write to an LPC that has a built-in USB ISP driver, and you are using a non-Windows system, it will probably work if you *DO NOT* first delete the file-- (ie.-- just drag-n-drop the file on top of "firmware.bin"-- to write directly on-top of "firmware.bin" without first erasing it).&amp;nbsp; This way, your non-Windows system will simply use the block numbers already present in the (simulated) FAT on the device-- in the sequential order in which they appear.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you make the mistake of first ERASING the file, and then try to write the firmware.bin file back with a non-Windows system, then your flash code is going to be scrambled on the chip, because the non-Windows system *WILL* write the (simulated) "sectors" in random order on the device.&amp;nbsp; You *CAN* recover from such a situation by re-writing the file from a Windows system, or (if your repository has it) you can install "mtools"-- and write the file using that (which writes the sectors in sequential order just like Windows does).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I use Ubuntu Linux on my workstation, and I use mtools for this-- but I also run Windows-XP in VMware Player, so I can also program the device using that also.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, to summarize, if you have a non-Windows system, NEVER DELETE the "firmware.bin" file on the (simulated) LPC drive-- just write on-top of it-- (ie.-- open it for writing, and copy the new file sector-for-sector over the top of the old one, thus "modifying" the original file)-- Alternatively, you can use mtools, which will allow you to erase the file and write a new one (without even "mounting" the drive, because mtools works directly with the device-- not with a mounted file system).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In YOUR case, it probably worked, because you didn't first erase the file (like the NXP ap-notes recommend).&amp;nbsp; If you ever did erase the file, then you would either have to install and use mtools, or find a Windows system to recover.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you dig deep enough, I'm betting NXP (or someone else) has an ap-note about this on the Internet.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I hope that helps!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:28:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11U2x-winth-non-Windows-OS/m-p/527649#M9441</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:28:36Z</dc:date>
    </item>
  </channel>
</rss>

