<?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: perihp_sdmmc LPC4337 example unable to write on sd card</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/perihp-sdmmc-LPC4337-example-unable-to-write-on-sd-card/m-p/616021#M24068</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Arvind Prasad,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Please check your sd hardware circuit at first, you can refer to this post:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/441365"&gt;LPC43S67 periph_sdmmc example error&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; This post is using OM13082 general purpose board , but that board have some error, you can refer to circuit, and do the modification, then test it again.&lt;/P&gt;&lt;P&gt;&amp;nbsp; I already test the periph_sdmmc code before, it works ok.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wish it helps you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Jan 2017 03:20:33 GMT</pubDate>
    <dc:creator>kerryzhou</dc:creator>
    <dc:date>2017-01-16T03:20:33Z</dc:date>
    <item>
      <title>perihp_sdmmc LPC4337 example unable to write on sd card</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/perihp-sdmmc-LPC4337-example-unable-to-write-on-sd-card/m-p/616020#M24067</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using LPC43s67 evaluation board.&lt;/P&gt;&lt;P&gt;I have a custom sd card addon which is connected through sdio interface.&lt;/P&gt;&lt;P&gt;The sd_cd pin is not available on my custom board.&lt;/P&gt;&lt;P&gt;I am using a 4GB SD card with FAT 32 format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I flash the periph_sdmmc code, but unable to create file or write any test on the sd card.&lt;/P&gt;&lt;P&gt;I am not getting proper output from disk_initialize function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have provided the VDD and i am getting proper voltage for SD card interface.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since i do not have the sd_cd pin I made the sdif_CardnDetect function return(0) manually.&lt;/P&gt;&lt;P&gt;Now hard error "Card Acquire Failed" is coming up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help to resolve the error?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jan 2017 10:01:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/perihp-sdmmc-LPC4337-example-unable-to-write-on-sd-card/m-p/616020#M24067</guid>
      <dc:creator>arvindprasad</dc:creator>
      <dc:date>2017-01-13T10:01:52Z</dc:date>
    </item>
    <item>
      <title>Re: perihp_sdmmc LPC4337 example unable to write on sd card</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/perihp-sdmmc-LPC4337-example-unable-to-write-on-sd-card/m-p/616021#M24068</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Arvind Prasad,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Please check your sd hardware circuit at first, you can refer to this post:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/441365"&gt;LPC43S67 periph_sdmmc example error&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; This post is using OM13082 general purpose board , but that board have some error, you can refer to circuit, and do the modification, then test it again.&lt;/P&gt;&lt;P&gt;&amp;nbsp; I already test the periph_sdmmc code before, it works ok.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wish it helps you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jan 2017 03:20:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/perihp-sdmmc-LPC4337-example-unable-to-write-on-sd-card/m-p/616021#M24068</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2017-01-16T03:20:33Z</dc:date>
    </item>
    <item>
      <title>Re: perihp_sdmmc LPC4337 example unable to write on sd card</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/perihp-sdmmc-LPC4337-example-unable-to-write-on-sd-card/m-p/616022#M24069</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kerry&lt;/P&gt;&lt;P&gt;The error i am getting is same as the one in the link you sent.&lt;/P&gt;&lt;P&gt;I checked my circuit connections. I am getting 3.3v at pin 4.&lt;/P&gt;&lt;P&gt;I have attached the pin break out of the sd card holder i am using&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/11647i0216F3AFCFC1CAF5/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The CD/ Dat pin is a single line. But in Periph_Sdmmc example, I am asked to connect CD to P1.3.&lt;/P&gt;&lt;P&gt;Since it was not possible, i made the card detect function to return(0). Is it the right way to do it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jan 2017 04:53:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/perihp-sdmmc-LPC4337-example-unable-to-write-on-sd-card/m-p/616022#M24069</guid>
      <dc:creator>arvindprasad</dc:creator>
      <dc:date>2017-01-16T04:53:11Z</dc:date>
    </item>
    <item>
      <title>Re: perihp_sdmmc LPC4337 example unable to write on sd card</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/perihp-sdmmc-LPC4337-example-unable-to-write-on-sd-card/m-p/616023#M24070</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Arvind Prasad,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Your list is correct.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; What the SD card package you are using?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; As I know, the SD card slot package have the larger package which like the OM13082 general purpose board.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; There are also have the mini SD card slot package.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Different sd card slot have different package or the pin number sequence.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Take OM13082 general purpose board as an example, it is the larger SD card slot, the pin sequence is like this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/11812iF60781AF3DBE655A/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; If the mini SD card slot, different slot have different pin sequence.&lt;/P&gt;&lt;P&gt;&amp;nbsp; You must make sure your MCU SPI pin is connect to the correct pin number.&lt;/P&gt;&lt;P&gt;&amp;nbsp; Do you have OM13082&amp;nbsp; board? Or the standard SD card slot board which works before? You must to keep the hardware is correct.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; About the software, I have test it, it can work on our side, I also check this code with the LPCXpress LPC43S67 with the standard mini sd card slot like this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/11995i19FCF6B6A132B23F/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;It also works.&lt;/P&gt;&lt;P&gt;Before you test the SD card, please also format it with the FAT32 in the PC side.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jan 2017 05:34:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/perihp-sdmmc-LPC4337-example-unable-to-write-on-sd-card/m-p/616023#M24070</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2017-01-16T05:34:21Z</dc:date>
    </item>
    <item>
      <title>Re: perihp_sdmmc LPC4337 example unable to write on sd card</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/perihp-sdmmc-LPC4337-example-unable-to-write-on-sd-card/m-p/616024#M24071</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/lpcware"&gt;lpcware&lt;/A&gt;‌ n &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/kerryzhou"&gt;kerryzhou&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I am using and OM13084 evaluation board.&lt;/P&gt;&lt;P&gt;The SD Card Package I am using is Amphenol 101-00303-** on a custom board.&lt;/P&gt;&lt;P&gt;I have made all the circuit connections as per what you have shown in your image.&lt;/P&gt;&lt;P&gt;But from my SD Card&amp;nbsp; package, the Sdat3 and cd are in a single pin, in pin 2. So i do not have a dedicated CD line coming out of my custom board to connect to P1.3 of the evaluation board&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/13364iA4E6C66CC7FF5003/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;In order to overcome this issue I made the Card detect function in sdif.c to return a zero. Will this work?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jan 2017 13:02:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/perihp-sdmmc-LPC4337-example-unable-to-write-on-sd-card/m-p/616024#M24071</guid>
      <dc:creator>arvindprasad</dc:creator>
      <dc:date>2017-01-16T13:02:31Z</dc:date>
    </item>
    <item>
      <title>Re: perihp_sdmmc LPC4337 example unable to write on sd card</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/perihp-sdmmc-LPC4337-example-unable-to-write-on-sd-card/m-p/616025#M24072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Arvind Prasad,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; You don't need to modify the sdmmc code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; About the CD pin, if you don't have this pin,&amp;nbsp; please connect the your LPCXpresso LPC4337 pin P1_13 to ground.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Please try it again on your side.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any updated information, please let me know!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jan 2017 08:46:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/perihp-sdmmc-LPC4337-example-unable-to-write-on-sd-card/m-p/616025#M24072</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2017-01-17T08:46:26Z</dc:date>
    </item>
    <item>
      <title>Re: perihp_sdmmc LPC4337 example unable to write on sd card</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/perihp-sdmmc-LPC4337-example-unable-to-write-on-sd-card/m-p/616026#M24073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi kerry&lt;/P&gt;&lt;P&gt;Tried connecting P1.13 to ground as well. Still not working. This is the Error I am getting in my terminal window.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/12480iB54E9BDE2D09BA0F/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jan 2017 11:13:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/perihp-sdmmc-LPC4337-example-unable-to-write-on-sd-card/m-p/616026#M24073</guid>
      <dc:creator>arvindprasad</dc:creator>
      <dc:date>2017-01-17T11:13:58Z</dc:date>
    </item>
    <item>
      <title>Re: perihp_sdmmc LPC4337 example unable to write on sd card</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/perihp-sdmmc-LPC4337-example-unable-to-write-on-sd-card/m-p/616027#M24074</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Arvind Prasad,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Please give me a picture about the board connection.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Besides, you also can use the logic analyzer to check the communication wave between the SD card and the LPC board.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jan 2017 02:43:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/perihp-sdmmc-LPC4337-example-unable-to-write-on-sd-card/m-p/616027#M24074</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2017-01-18T02:43:49Z</dc:date>
    </item>
  </channel>
</rss>

