<?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>Kinetis Software Development KitのトピックRe: PEx SDHC is broke</title>
    <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/PEx-SDHC-is-broke/m-p/407774#M1753</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you follow my steps exactly?&amp;nbsp; Or did you do some "value added" work?&amp;nbsp; Because I repeated my steps exactly using my custom board with a FAT formatted 1GB SD card (actual SD, not microSD) and I get exactly the same bad behavior as I observed on my FRDM-K64F with an 8GB microSD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you making any changes to the fsl_sdcard component in PEx?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 10 Aug 2015 16:33:43 GMT</pubDate>
    <dc:creator>audi_mcavoy</dc:creator>
    <dc:date>2015-08-10T16:33:43Z</dc:date>
    <item>
      <title>PEx SDHC is broke</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/PEx-SDHC-is-broke/m-p/407772#M1751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using Processor Expert to setup SDHC under KDS 3.0 with KSDK 1.2 is broke.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Steps to reproduce. . .&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Create a new project&lt;/P&gt;&lt;P&gt;1) File &amp;gt; New &amp;gt; Kinetis Project&lt;/P&gt;&lt;P&gt;2) Project Name: sdhc_broke, next&lt;/P&gt;&lt;P&gt;3) Boards &amp;gt; Kinetis &amp;gt; FRDM-K64F, next&lt;/P&gt;&lt;P&gt;4) KSDK 1.2.0 (absolute path), Processor Expert (standalone), next&lt;/P&gt;&lt;P&gt;5) GNU C Compiler, finish&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Add SD Card component&lt;/P&gt;&lt;P&gt;1) Add component from: Components Library &amp;gt; KSDK 1.2.0 &amp;gt; Peripheral Drivers/HAL &amp;gt; Memories &amp;gt; fsl_sdcard&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Build Project&lt;/P&gt;&lt;P&gt;1) Generate PEx Code&lt;/P&gt;&lt;P&gt;2) Edit Sources | main.c&lt;/P&gt;&lt;P&gt;3) Uncomment the "for(;;) { }" statement on line 52, save&lt;/P&gt;&lt;P&gt;4) Build Debug version&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Debug project and observe behavior&lt;/P&gt;&lt;P&gt;1) Insert Transflash card&lt;/P&gt;&lt;P&gt;2) Debug project (wait for automatic pause at PE-low_level_init())&lt;/P&gt;&lt;P&gt;3) Resume (see Thread #1 running in Debug window)&lt;/P&gt;&lt;P&gt;4) wait a few seconds, then Pause&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You will notice that the processor &lt;EM&gt;never&lt;/EM&gt; reaches our for(;;) loop.&amp;nbsp; It is &lt;EM&gt;always&lt;/EM&gt; stuck at SDHC_HAL_GetCurState() in fsl_sdhc_hal.c .&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Audi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Aug 2015 19:07:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/PEx-SDHC-is-broke/m-p/407772#M1751</guid>
      <dc:creator>audi_mcavoy</dc:creator>
      <dc:date>2015-08-03T19:07:09Z</dc:date>
    </item>
    <item>
      <title>Re: PEx SDHC is broke</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/PEx-SDHC-is-broke/m-p/407773#M1752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Audi&amp;nbsp; McAvoy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried on my side and it works without problems. I have 8GB microSDHC Card and is formatted as FAT file system,&lt;/P&gt;&lt;P&gt;please, try&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;again format the SD Card&lt;/LI&gt;&lt;LI&gt;try another card.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps,&lt;/P&gt;&lt;P&gt;Iva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Aug 2015 17:31:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/PEx-SDHC-is-broke/m-p/407773#M1752</guid>
      <dc:creator>ivadorazinova</dc:creator>
      <dc:date>2015-08-06T17:31:58Z</dc:date>
    </item>
    <item>
      <title>Re: PEx SDHC is broke</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/PEx-SDHC-is-broke/m-p/407774#M1753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you follow my steps exactly?&amp;nbsp; Or did you do some "value added" work?&amp;nbsp; Because I repeated my steps exactly using my custom board with a FAT formatted 1GB SD card (actual SD, not microSD) and I get exactly the same bad behavior as I observed on my FRDM-K64F with an 8GB microSD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you making any changes to the fsl_sdcard component in PEx?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Aug 2015 16:33:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/PEx-SDHC-is-broke/m-p/407774#M1753</guid>
      <dc:creator>audi_mcavoy</dc:creator>
      <dc:date>2015-08-10T16:33:43Z</dc:date>
    </item>
    <item>
      <title>Re: PEx SDHC is broke</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/PEx-SDHC-is-broke/m-p/407775#M1754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Audi McAvoy:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please try with my suggestion in your other thread: &lt;A href="https://community.nxp.com/message/549406"&gt;Re: fsl_sdhc_driver Stuck at SDHC_HAL_GetCurState()&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let us know if that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;P&gt;Jorge Gonzalez&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Aug 2015 23:01:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/PEx-SDHC-is-broke/m-p/407775#M1754</guid>
      <dc:creator>Jorge_Gonzalez</dc:creator>
      <dc:date>2015-08-10T23:01:33Z</dc:date>
    </item>
    <item>
      <title>Re: PEx SDHC is broke</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/PEx-SDHC-is-broke/m-p/407776#M1755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Okay, so if you're still reading this thread then you're probably interested in reading the steps to make this work.&amp;nbsp; Here's my notes. . .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Adding an "*:fsl_sdcard component will also add a referenced "*:fsl_sdhc" component&lt;/P&gt;&lt;P&gt;&amp;nbsp; HOWEVER, neither component fully configures the SDHC pins to be functional&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Add an "*:Init_PORT" component&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Select the PORTE device&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Configure pins 1 through 5 as pull-ups with high drive strength&lt;/P&gt;&lt;P&gt;&amp;nbsp; ALSO!&amp;nbsp; You have to guarantee that the "*:fsl_sdcard" component is initialized before any dependent components&lt;/P&gt;&lt;P&gt;&amp;nbsp; For example, if an SD card is going to be used by an OS_Task then perform the following steps&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Go to Window &amp;gt; Show view &amp;gt; Other &amp;gt; Processor Expert &amp;gt; Initialization Sequence&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Enable the initialization order for the "*:fsl_sdcard" and the "*:OS_Task"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Ensure "*:fsl_sdcard" is first and "*:OS_Task" is second&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope that helps someone else.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And again, thanks to everyone that helped me!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2015 20:11:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/PEx-SDHC-is-broke/m-p/407776#M1755</guid>
      <dc:creator>audi_mcavoy</dc:creator>
      <dc:date>2015-08-20T20:11:25Z</dc:date>
    </item>
  </channel>
</rss>

