<?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>HardwareのトピックLPC1754  usb mass storage</title>
    <link>https://community.nxp.com/t5/Hardware/LPC1754-usb-mass-storage/m-p/2258626#M169</link>
    <description>&lt;P&gt;I have designed a board with LPC1754 and connected a nor flash W25Q64 to it via spi. As the nor flash is not formatable to FAT16&amp;nbsp; with cmsis FileSystem, I used chan's FatFs in my project and added keil mdk usb device mass storage with cmsis driver. While connecting to pc shows device descriptor correctly and Ii is recognized as a mass storage device but windows can not specify number of disk sectors correctly. Formating and exploring it is not possible.&lt;/P&gt;&lt;P&gt;I have formatted it within a firmware with f_mkfs function and I am almost sure that chan's FatFs works correctly in my project.&lt;/P&gt;&lt;P&gt;I wonder to know if someone have any related experience?&lt;/P&gt;</description>
    <pubDate>Wed, 10 Dec 2025 05:04:51 GMT</pubDate>
    <dc:creator>jalilisahar</dc:creator>
    <dc:date>2025-12-10T05:04:51Z</dc:date>
    <item>
      <title>LPC1754  usb mass storage</title>
      <link>https://community.nxp.com/t5/Hardware/LPC1754-usb-mass-storage/m-p/2258626#M169</link>
      <description>&lt;P&gt;I have designed a board with LPC1754 and connected a nor flash W25Q64 to it via spi. As the nor flash is not formatable to FAT16&amp;nbsp; with cmsis FileSystem, I used chan's FatFs in my project and added keil mdk usb device mass storage with cmsis driver. While connecting to pc shows device descriptor correctly and Ii is recognized as a mass storage device but windows can not specify number of disk sectors correctly. Formating and exploring it is not possible.&lt;/P&gt;&lt;P&gt;I have formatted it within a firmware with f_mkfs function and I am almost sure that chan's FatFs works correctly in my project.&lt;/P&gt;&lt;P&gt;I wonder to know if someone have any related experience?&lt;/P&gt;</description>
      <pubDate>Wed, 10 Dec 2025 05:04:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Hardware/LPC1754-usb-mass-storage/m-p/2258626#M169</guid>
      <dc:creator>jalilisahar</dc:creator>
      <dc:date>2025-12-10T05:04:51Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1754  usb mass storage</title>
      <link>https://community.nxp.com/t5/Hardware/LPC1754-usb-mass-storage/m-p/2259622#M170</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/253152"&gt;@jalilisahar&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;Maybe the following is one possible reason. Please check.&lt;/DIV&gt;
&lt;P&gt;&lt;SPAN&gt;Windows USB Mass Storage Class (MSC) expects the logical block size to be 512 bytes by default.&lt;/SPAN&gt;&lt;/P&gt;
&lt;DIV&gt;
&lt;P&gt;Your W25Q64 is a NOR Flash (64 Mbit = 8 MB) with the following physical characteristics:&lt;/P&gt;
&lt;P&gt;Page = 256 bytes&amp;nbsp; &amp;nbsp; Erase Sector = 4 KB&lt;/P&gt;
&lt;P&gt;If the SCSI &lt;CODE&gt;READ CAPACITY (10)&lt;/CODE&gt; command in USB MSC does not return a block length of 512 bytes, or if the FatFs &lt;CODE&gt;diskio&lt;/CODE&gt; layer does not abstract the media as 512-byte sectors, Windows will not be able to calculate the total number of disk sectors correctly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Alice&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 11 Dec 2025 03:51:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Hardware/LPC1754-usb-mass-storage/m-p/2259622#M170</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2025-12-11T03:51:06Z</dc:date>
    </item>
  </channel>
</rss>

