<?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: USB mass storage device for arm lpc2388</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/USB-mass-storage-device-for-arm-lpc2388/m-p/894687#M35866</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I forget to tell about the hardware configuration of the board, my USB device is USB _D-2&amp;nbsp; and USB_D+2 which is pin37 and pin pin36. I can select the USB_D+2 P0(31). How do I select the pin 37 USB_D-2.&lt;/P&gt;&lt;P&gt;Please help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 06 May 2019 06:11:48 GMT</pubDate>
    <dc:creator>mohammadfaizan</dc:creator>
    <dc:date>2019-05-06T06:11:48Z</dc:date>
    <item>
      <title>USB mass storage device for arm lpc2388</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/USB-mass-storage-device-for-arm-lpc2388/m-p/894686#M35865</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-size: 12px;"&gt;I am trying to get the sd card which is connected to the SPI Port of my controller to be read as a mass storage device.&amp;nbsp; But before that I just try by using a USBMem code example from keil (original code for RAM). When I connect a usb cable to my pc, it shows usb device is not recognize but in usb controllers it shows unknown device. Can anyone please suggest what I am missing.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-size: 12px;"&gt;warm regards&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Apr 2019 04:54:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/USB-mass-storage-device-for-arm-lpc2388/m-p/894686#M35865</guid>
      <dc:creator>mohammadfaizan</dc:creator>
      <dc:date>2019-04-29T04:54:02Z</dc:date>
    </item>
    <item>
      <title>Re: USB mass storage device for arm lpc2388</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/USB-mass-storage-device-for-arm-lpc2388/m-p/894687#M35866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I forget to tell about the hardware configuration of the board, my USB device is USB _D-2&amp;nbsp; and USB_D+2 which is pin37 and pin pin36. I can select the USB_D+2 P0(31). How do I select the pin 37 USB_D-2.&lt;/P&gt;&lt;P&gt;Please help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 May 2019 06:11:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/USB-mass-storage-device-for-arm-lpc2388/m-p/894687#M35866</guid>
      <dc:creator>mohammadfaizan</dc:creator>
      <dc:date>2019-05-06T06:11:48Z</dc:date>
    </item>
    <item>
      <title>Re: USB mass storage device for arm lpc2388</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/USB-mass-storage-device-for-arm-lpc2388/m-p/894688#M35867</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Mohammad,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check the abstract that came with the LPC2368_USBMEM:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/---------------------------------------------------------------------/&lt;BR /&gt; - P2.0: LED_RD is on when USB Device is performing Read access&lt;BR /&gt; - P2.1: LED_WR is on when USB Device is performing Write access&lt;BR /&gt; - P2.4: LED_CFG is on when USB Device is configured&lt;BR /&gt; - P2.5: LED_SUSP is on when USB Device is suspended&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The USB Memory is automatically recognized by the host PC running Windows which will load a generic Mass Storage driver.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Memory program is available for the following targets: MCB2300 Board: configured for on-chip Flash ROM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: set jumper J5 to 1[2 3] (jumper towards JTAG connector) for USB soft connect&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;/---------------------------------------------------------------------/&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;As it says, if you had a driver that recognize USB mass storage, it should appear as this device automatically.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, the LPC2388 is no longer recommended for new designs. So I wil suggest to check the LPC54xxx family.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Alexis Andalon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 May 2019 14:10:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/USB-mass-storage-device-for-arm-lpc2388/m-p/894688#M35867</guid>
      <dc:creator>Alexis_A</dc:creator>
      <dc:date>2019-05-06T14:10:39Z</dc:date>
    </item>
    <item>
      <title>Re: USB mass storage device for arm lpc2388</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/USB-mass-storage-device-for-arm-lpc2388/m-p/894689#M35868</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Alexis,&lt;/P&gt;&lt;P&gt;But I have a different custom board designed for&amp;nbsp; this project. I have to configure U2,&lt;/P&gt;&lt;P&gt;In which P3.24 is VBUS, P0.31 is D+2, Pin 37 is D-2, P1.30 is USB_PWRD2, P1.31 is USB_OVRCR2.&lt;/P&gt;&lt;P&gt;In datasheet what does it means USB Port Select register (USBPortSel - 0xFFE0 C110 – LPC2378 only)&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;void USB_Init (void)&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt; &amp;nbsp;&amp;nbsp;PINSEL1 |= 0X40000000;//USB_D+2&lt;BR /&gt; &amp;nbsp;&amp;nbsp;PINSEL1 = (PINSEL1 &amp;amp; ~(1&amp;lt;&amp;lt;30))|(2&amp;lt;&amp;lt;30);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Don't know how to configure USB_D-2 Pin&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&amp;nbsp; PINSEL7 |= 0X00; // VBUS&lt;BR /&gt;&amp;nbsp; PCONP |= (1&amp;lt;&amp;lt;31);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; USBPortSel = 0X3; // the U2 port:USB_CONNECT2, USB_UP_LED2,&amp;nbsp; USB_D+2, USB_D-2.&lt;BR /&gt;&amp;nbsp; USBClkCtrl = 0x12; /* Dev clock, AHB clock enable */&lt;BR /&gt;&amp;nbsp; while ((USBClkSt &amp;amp; 0x12) != 0x12)&lt;BR /&gt; &lt;BR /&gt;&amp;nbsp;VICVectAddr22 = (unsigned long)USB_ISR; /* USB Interrupt -&amp;gt; Vector 22 */&lt;BR /&gt;&amp;nbsp; VICVectCntl22 = 0x01; /* USB Interrupt -&amp;gt; Priority 1 */&lt;BR /&gt;&amp;nbsp; VICIntEnable = 1 &amp;lt;&amp;lt; 22; /* Enable USB Interrupt */&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&amp;nbsp; USB_Reset();&lt;BR /&gt;&amp;nbsp; USB_SetAddress(0);&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;can you please suggest, what I am missing.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 May 2019 06:44:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/USB-mass-storage-device-for-arm-lpc2388/m-p/894689#M35868</guid>
      <dc:creator>mohammadfaizan</dc:creator>
      <dc:date>2019-05-08T06:44:23Z</dc:date>
    </item>
    <item>
      <title>Re: USB mass storage device for arm lpc2388</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/USB-mass-storage-device-for-arm-lpc2388/m-p/894690#M35869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Mohammad,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;T&lt;SPAN style="color: #000000;"&gt;he pin&lt;SPAN style="background-color: #ffffff;"&gt;&amp;nbsp;P3.24 can't be used as VBUS. This is the description of the pin P3.24&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #000000; "&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_4.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/80401i596FE09FAE1B42D5/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_4.png" alt="pastedImage_4.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #000000; "&gt;If you want to use VBUS you should connect it to the to P1.30&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #000000; "&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_5.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/80468i57F4F89D4E480C3A/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_5.png" alt="pastedImage_5.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #000000; "&gt;Or used it like the next schematic:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #000000; "&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_6.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/80509iD4C435E76C2AE9A3/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_6.png" alt="pastedImage_6.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #000000; "&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #000000; "&gt;Alexis Andalon&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 May 2019 16:35:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/USB-mass-storage-device-for-arm-lpc2388/m-p/894690#M35869</guid>
      <dc:creator>Alexis_A</dc:creator>
      <dc:date>2019-05-09T16:35:23Z</dc:date>
    </item>
    <item>
      <title>Re: USB mass storage device for arm lpc2388</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/USB-mass-storage-device-for-arm-lpc2388/m-p/894691#M35870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Alexis,&lt;/P&gt;&lt;P&gt;Yes I had configured the P1.30 as a VBUS,&lt;/P&gt;&lt;P&gt;And I also try to run the existing code USBMem on Olimex board (LPC2478),&lt;/P&gt;&lt;P&gt;which has a USB device U1. But still I am facing the problem. Is their some&lt;/P&gt;&lt;P&gt;other things that  I should need to  change in the code.&lt;/P&gt;&lt;P&gt;Please help&lt;/P&gt;&lt;P&gt;warm regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 May 2019 09:36:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/USB-mass-storage-device-for-arm-lpc2388/m-p/894691#M35870</guid>
      <dc:creator>mohammadfaizan</dc:creator>
      <dc:date>2019-05-10T09:36:34Z</dc:date>
    </item>
    <item>
      <title>Re: USB mass storage device for arm lpc2388</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/USB-mass-storage-device-for-arm-lpc2388/m-p/894692#M35871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Mohammad,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Trying this, I think this is more a pc problem that from the MCU.&lt;/P&gt;&lt;P&gt;Unfortunately,&amp;nbsp;the LPC2387 is now a legacy device, there is not available a specific driver for this device including signature.&lt;/P&gt;&lt;P&gt;In the Olimex webpage there's some software that maybe could be useful.&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.olimex.com/Products/ARM/NXP/LPC2478-STK/"&gt;https://www.olimex.com/Products/ARM/NXP/LPC2478-STK/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;BR /&gt;Alexis Andalon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 May 2019 15:48:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/USB-mass-storage-device-for-arm-lpc2388/m-p/894692#M35871</guid>
      <dc:creator>Alexis_A</dc:creator>
      <dc:date>2019-05-10T15:48:25Z</dc:date>
    </item>
    <item>
      <title>Re: USB mass storage device for arm lpc2388</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/USB-mass-storage-device-for-arm-lpc2388/m-p/894693#M35872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alexis,&lt;/P&gt;&lt;P&gt;It took me a long enough to detect the olimex board as a mass storage device. I had used the code keil USBMem(RAM). As my intention was to use the sdcard which is connected to the spi port will be read as a mass storage device. Can you please suggest what changes should I make in&amp;nbsp; USBMem code to get the sdcard as msd. It will be more helpful if I get some reference code.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Jun 2019 06:21:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/USB-mass-storage-device-for-arm-lpc2388/m-p/894693#M35872</guid>
      <dc:creator>mohammadfaizan</dc:creator>
      <dc:date>2019-06-13T06:21:53Z</dc:date>
    </item>
    <item>
      <title>Re: USB mass storage device for arm lpc2388</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/USB-mass-storage-device-for-arm-lpc2388/m-p/894694#M35873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Can you please tell me how to read the sdcard as a msd instead of RAM.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jun 2019 12:16:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/USB-mass-storage-device-for-arm-lpc2388/m-p/894694#M35873</guid>
      <dc:creator>mohammadfaizan</dc:creator>
      <dc:date>2019-06-14T12:16:30Z</dc:date>
    </item>
    <item>
      <title>Re: USB mass storage device for arm lpc2388</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/USB-mass-storage-device-for-arm-lpc2388/m-p/894695#M35874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Mohammad,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As I told you before, this MCU is not recommended anymore and the support is limited. I will strongly recommend you to change to other MCU.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt;"&gt;However, if you want to develop using LPC2300 you can take a look to the Sample Code Bundle for LPC23xx/24xx and from the link below:&lt;/P&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt;"&gt;&lt;A href="https://www.nxp.com/products/processors-and-microcontrollers/arm-based-processors-and-mcus/lpc-cortex-m-mcus/lpc2000-arm7-mcus/arm7-with-512-kb-flash-98-kb-sram-ethernet-usb-2.0-device-host-otg-can-and-10-bit-adc:LPC2388FBD144?tab=Design_Tools_Tab"&gt;https://www.nxp.com/products/processors-and-microcontrollers/arm-based-processors-and-mcus/lpc-cortex-m-mcus/lpc2000-arm7-mcus/arm7-with-512-kb-flash-98-kb-sram-ethernet-usb-2.0-device-host-otg-can-and-10-bit-adc:LPC2388FBD144?tab=Design_Tools_Tab&lt;/A&gt;&lt;/P&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Alexis Andalon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jun 2019 21:30:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/USB-mass-storage-device-for-arm-lpc2388/m-p/894695#M35874</guid>
      <dc:creator>Alexis_A</dc:creator>
      <dc:date>2019-06-17T21:30:30Z</dc:date>
    </item>
    <item>
      <title>Re: USB mass storage device for arm lpc2388</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/USB-mass-storage-device-for-arm-lpc2388/m-p/894696#M35875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I appreciate your suggestion, but it is a existing project which was&lt;/P&gt;&lt;P&gt;developed a years ago, and I had asked to add the usb msd in that existing&lt;/P&gt;&lt;P&gt;project. Otherwise I would love to use the cortex- m3 and other higher&lt;/P&gt;&lt;P&gt;version.&lt;/P&gt;&lt;P&gt;And USBMem (RAM) code is working on my board. I need to know that how to&lt;/P&gt;&lt;P&gt;read the sdcard (SPI) as a msd instead of RAM.&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jun 2019 08:23:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/USB-mass-storage-device-for-arm-lpc2388/m-p/894696#M35875</guid>
      <dc:creator>mohammadfaizan</dc:creator>
      <dc:date>2019-06-18T08:23:31Z</dc:date>
    </item>
    <item>
      <title>Re: USB mass storage device for arm lpc2388</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/USB-mass-storage-device-for-arm-lpc2388/m-p/894697#M35876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mohammad,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry for the inconveniences this may cause you but the information I already provided It's everything we have available. I would recommend you to migrate your project to a newer version as this part is not recommended for new designs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Alexis Andalon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jun 2019 22:54:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/USB-mass-storage-device-for-arm-lpc2388/m-p/894697#M35876</guid>
      <dc:creator>Alexis_A</dc:creator>
      <dc:date>2019-06-18T22:54:09Z</dc:date>
    </item>
  </channel>
</rss>

