<?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中的主题  Porting FatFs to LPC5411 with SPI - 'Final' .RAR file ?</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Porting-FatFs-to-LPC5411-with-SPI-Final-RAR-file/m-p/860837#M34257</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Greetings,&lt;/P&gt;&lt;P&gt;I was able to import the .rar version of the project into MCUXpresso. It - 'Luxcel Eval Board Demo &amp;lt;Debug&amp;gt;' - compiled/built without error. It also ran, but I never got the program to write any files. When I ran the program I got the following output to the console;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;SD_CMD8&amp;nbsp; return&amp;nbsp; 255........&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;&amp;nbsp;Initialisation Complete &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;SD_CMD8&amp;nbsp; return&amp;nbsp; 255........&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;&amp;nbsp;Initialisation Complete &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;Count is: 1 &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;Read case 1 &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;Read case 2 &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;Read case 2 &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;Read case 2 &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;Read case 2 &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;Read case 2 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;......&lt;/P&gt;&lt;P&gt;I never obtained any other output, to the microSD card, nor to the console. I put in some counters just to be sure it wasn't hung up in 'Read case 2' - it wasn't. Then, I thought maybe I hadn't let the program run long enough, so I suppressed the 'Read case 2' console output, and let the program run while I ran some errands. One hour later, no completion.&lt;/P&gt;&lt;P&gt;When I started poking around in the code,&lt;/P&gt;&lt;P&gt;- 'spi_test.c' - has a fair amount of code commented out. Was this for debug purposes ? should these be uncommented ?&lt;/P&gt;&lt;P&gt;- Is the .rar version I started with the final ? I thought there was a version generated somewhere along that stream which actually printed two output files, a .txt version and a .csv version.&lt;/P&gt;&lt;P&gt;- Any ideas as to where this program is hanging up, and what to do to get it 'to the finish line', i.e., writing the two aforementioned output files ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 25 Jan 2019 00:05:43 GMT</pubDate>
    <dc:creator>jameswhitney</dc:creator>
    <dc:date>2019-01-25T00:05:43Z</dc:date>
    <item>
      <title>Porting FatFs to LPC5411 with SPI - 'Final' .RAR file ?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Porting-FatFs-to-LPC5411-with-SPI-Final-RAR-file/m-p/860837#M34257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Greetings,&lt;/P&gt;&lt;P&gt;I was able to import the .rar version of the project into MCUXpresso. It - 'Luxcel Eval Board Demo &amp;lt;Debug&amp;gt;' - compiled/built without error. It also ran, but I never got the program to write any files. When I ran the program I got the following output to the console;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;SD_CMD8&amp;nbsp; return&amp;nbsp; 255........&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;&amp;nbsp;Initialisation Complete &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;SD_CMD8&amp;nbsp; return&amp;nbsp; 255........&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;&amp;nbsp;Initialisation Complete &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;Count is: 1 &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;Read case 1 &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;Read case 2 &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;Read case 2 &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;Read case 2 &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;Read case 2 &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;Read case 2 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;......&lt;/P&gt;&lt;P&gt;I never obtained any other output, to the microSD card, nor to the console. I put in some counters just to be sure it wasn't hung up in 'Read case 2' - it wasn't. Then, I thought maybe I hadn't let the program run long enough, so I suppressed the 'Read case 2' console output, and let the program run while I ran some errands. One hour later, no completion.&lt;/P&gt;&lt;P&gt;When I started poking around in the code,&lt;/P&gt;&lt;P&gt;- 'spi_test.c' - has a fair amount of code commented out. Was this for debug purposes ? should these be uncommented ?&lt;/P&gt;&lt;P&gt;- Is the .rar version I started with the final ? I thought there was a version generated somewhere along that stream which actually printed two output files, a .txt version and a .csv version.&lt;/P&gt;&lt;P&gt;- Any ideas as to where this program is hanging up, and what to do to get it 'to the finish line', i.e., writing the two aforementioned output files ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jan 2019 00:05:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Porting-FatFs-to-LPC5411-with-SPI-Final-RAR-file/m-p/860837#M34257</guid>
      <dc:creator>jameswhitney</dc:creator>
      <dc:date>2019-01-25T00:05:43Z</dc:date>
    </item>
    <item>
      <title>Re:  Porting FatFs to LPC5411 with SPI - 'Final' .RAR file ?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Porting-FatFs-to-LPC5411-with-SPI-Final-RAR-file/m-p/860838#M34258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi James Whitney,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thank you for your interest in NXP LPC product, I would like to provide service for you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; At first, please tell me what the sd fatfs code you are using for LPC54114?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If you get the code from the website, please also share the source link.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Besides, please tell me what the board you are using? Your own board or the official board?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; From your printf result, I suggest also check the hardware SD card connection at first, because you even didn't connect the SD card, so you can't write any data or fatfs files to your SD card.&lt;/P&gt;&lt;P&gt;&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, 28 Jan 2019 07:26:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Porting-FatFs-to-LPC5411-with-SPI-Final-RAR-file/m-p/860838#M34258</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2019-01-28T07:26:38Z</dc:date>
    </item>
    <item>
      <title>Re:  Porting FatFs to LPC5411 with SPI - 'Final' .RAR file ?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Porting-FatFs-to-LPC5411-with-SPI-Final-RAR-file/m-p/860839#M34259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Kerry,&lt;/P&gt;&lt;P&gt;Thank you for your reply.&lt;/P&gt;&lt;P&gt;After your response I re-checked the connection to the microSD card connector/board headers. Indeed, on header J1 I had connected signal 'DI' to J1-14 - please blame bad eyesight. Once I connected to J1-13, *ALL IS WELL*.&lt;/P&gt;&lt;P&gt;Just to answer all of the questions you've asked:&lt;/P&gt;&lt;P&gt;- sd fatfs code: Code from thread "&lt;A href="https://community.nxp.com/thread/476560"&gt;https://community.nxp.com/thread/476560&lt;/A&gt; " - RAR file from 6/22/18&lt;/P&gt;&lt;P&gt;- Board: NXP LPCXpresso54114&lt;/P&gt;&lt;P&gt;I have inserted 3 screen captures of my results.&lt;/P&gt;&lt;P&gt;Thanks, so much, for all your help.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jim&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="SDCard_Dir_Cropped.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/2497iAF2C081E2E236B6E/image-size/large?v=v2&amp;amp;px=999" role="button" title="SDCard_Dir_Cropped.png" alt="SDCard_Dir_Cropped.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="TEST_TXT_Cropped.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/3112i74F01E49E12F3F15/image-size/large?v=v2&amp;amp;px=999" role="button" title="TEST_TXT_Cropped.png" alt="TEST_TXT_Cropped.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="TEST_CSV_Cropped.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/3709iE83CFD7BC6CC0E38/image-size/large?v=v2&amp;amp;px=999" role="button" title="TEST_CSV_Cropped.png" alt="TEST_CSV_Cropped.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jan 2019 18:58:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Porting-FatFs-to-LPC5411-with-SPI-Final-RAR-file/m-p/860839#M34259</guid>
      <dc:creator>jameswhitney</dc:creator>
      <dc:date>2019-01-28T18:58:18Z</dc:date>
    </item>
    <item>
      <title>Re:  Porting FatFs to LPC5411 with SPI - 'Final' .RAR file ?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Porting-FatFs-to-LPC5411-with-SPI-Final-RAR-file/m-p/860840#M34260</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi James,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Thanks really very happy to hear you also make it works.&lt;/P&gt;&lt;P&gt;&amp;nbsp; Normally, if meet this problem, you can check the SPI wave also, whether the slave side have response, if no response, it means your hardware side have have problems.&lt;/P&gt;&lt;P&gt;&amp;nbsp; If you have the other question in the future, welcome to create the new question post!&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, 30 Jan 2019 02:34:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Porting-FatFs-to-LPC5411-with-SPI-Final-RAR-file/m-p/860840#M34260</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2019-01-30T02:34:21Z</dc:date>
    </item>
  </channel>
</rss>

