<?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 MicrocontrollersのトピックRe: Kwikstik rev 5 + CodeWarrior: patch needed, any experience?</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kwikstik-rev-5-CodeWarrior-patch-needed-any-experience/m-p/178005#M1596</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;_PARTIALLY_ solved:&lt;/P&gt;&lt;P&gt;(thanks to Freescale support):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;what needs to be done to make the call:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; com_handle = fopen("esdhc:", NULL);&lt;BR /&gt;to succeed, is:&lt;/P&gt;&lt;P&gt;In the init_bsp.c file of the bsp_Kwikstikk40x256 go to the following:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;#if BSPCFG_ENABLE_ESDHC&lt;BR /&gt;_esdhc_install ("esdhc:", &amp;amp;_bsp_esdhc0_init); //Enable the init process present on twr-k40x256 bsp&lt;BR /&gt;#endif&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately now it fails on:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; sdcard_handle = fopen("sdcard:", 0);&lt;/P&gt;&lt;P&gt;Maybe is it a similar problem?&lt;/P&gt;&lt;P&gt;Any hint appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Mik&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Nov 2011 19:49:27 GMT</pubDate>
    <dc:creator>michele_novalia</dc:creator>
    <dc:date>2011-11-03T19:49:27Z</dc:date>
    <item>
      <title>Kwikstik rev 5 + CodeWarrior: patch needed, any experience?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kwikstik-rev-5-CodeWarrior-patch-needed-any-experience/m-p/177999#M1590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I finally got a Kwikstikc rev 5 so that I can start use the SD card support (which was broken by design in rev 4).&lt;/P&gt;&lt;P&gt;I am using CodeWarrior 10.1.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;While attempting to access to esdhc I get the following error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; com_handle = fopen("esdhc:", NULL);&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;if( !com_handle ) {&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;printf("DBG: Opening ESDHC device failed, is ESDHC controller enabled in MQX?");&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Problem is that I have to enable ESDHC in bsp, but the&lt;BR /&gt;init_bsp.c&lt;BR /&gt;file retreives me the following error:&lt;BR /&gt;&lt;BR /&gt;#error This modul unsupported with Kiwkstik Board.Please disable BSPCFG_ENABLE_ESDHC to 0 in user_config.h&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there anyway around this?&lt;/P&gt;&lt;P&gt;Did anyone used the rev 5 of Kwikstik with codeWarrior?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I asked to Freescale for a patch for MQX and Kwikstik rev 5, which should prevent that re-compiling error of bsp to happen, but they said there is none available.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any hint?&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;Mik&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Oct 2011 21:07:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kwikstik-rev-5-CodeWarrior-patch-needed-any-experience/m-p/177999#M1590</guid>
      <dc:creator>michele_novalia</dc:creator>
      <dc:date>2011-10-28T21:07:12Z</dc:date>
    </item>
    <item>
      <title>Re: Kwikstik rev 5 + CodeWarrior: patch needed, any experience?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kwikstik-rev-5-CodeWarrior-patch-needed-any-experience/m-p/178000#M1591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mik&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;#error This modul unsupported with Kiwkstik Board.Please disable BSPCFG_ENABLE_ESDHC to 0 in user_config.h&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is a compiler error message based on an #if. is it not possible to simply delete this line so that the error goes away and then the SDHC stuff is compiled and linked and used as if it was any other board?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Oct 2011 22:56:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kwikstik-rev-5-CodeWarrior-patch-needed-any-experience/m-p/178000#M1591</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2011-10-28T22:56:46Z</dc:date>
    </item>
    <item>
      <title>Re: Kwikstik rev 5 + CodeWarrior: patch needed, any experience?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kwikstik-rev-5-CodeWarrior-patch-needed-any-experience/m-p/178001#M1592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mark,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks for your suggestion, however I suspect that there must be something else tied with it somehow:&lt;/P&gt;&lt;P&gt;even if I comment that line of code (and I get bsp and psp to compile), when I run the project in kwikstik I still get the same error on this line:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; com_handle = fopen("esdhc:", NULL);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm a bit lost...&lt;/P&gt;&lt;P&gt;Mik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Oct 2011 23:12:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kwikstik-rev-5-CodeWarrior-patch-needed-any-experience/m-p/178001#M1592</guid>
      <dc:creator>michele_novalia</dc:creator>
      <dc:date>2011-10-28T23:12:46Z</dc:date>
    </item>
    <item>
      <title>Re: Kwikstik rev 5 + CodeWarrior: patch needed, any experience?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kwikstik-rev-5-CodeWarrior-patch-needed-any-experience/m-p/178002#M1593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mik&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't use the solution that you are using so can't help on the details. Can you however step through the code in the fopen() so see where it returns with the invalid handle - maybe it will be obvious when you see the line of code that is aborting the open?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 Oct 2011 03:57:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kwikstik-rev-5-CodeWarrior-patch-needed-any-experience/m-p/178002#M1593</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2011-10-29T03:57:17Z</dc:date>
    </item>
    <item>
      <title>Re: Kwikstik rev 5 + CodeWarrior: patch needed, any experience?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kwikstik-rev-5-CodeWarrior-patch-needed-any-experience/m-p/178003#M1594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mark,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I just tried that but I could not understand why that happens...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For what I can see the execution goes in here:&lt;BR /&gt;in io_fopen.c #93&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; if (dev_ptr == (pointer)&amp;amp;kernel_data-&amp;gt;IO_DEVICES.NEXT) {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; return(NULL);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any clue?&lt;/P&gt;&lt;P&gt;Mik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Oct 2011 18:44:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kwikstik-rev-5-CodeWarrior-patch-needed-any-experience/m-p/178003#M1594</guid>
      <dc:creator>michele_novalia</dc:creator>
      <dc:date>2011-10-31T18:44:50Z</dc:date>
    </item>
    <item>
      <title>Re: Kwikstik rev 5 + CodeWarrior: patch needed, any experience?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kwikstik-rev-5-CodeWarrior-patch-needed-any-experience/m-p/178004#M1595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mik&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is MQX SW specific so it may be best to post in the MQX forum: &lt;A href="http://forums.freescale.com/t5/Freescale-MQX-trade-Software/bd-p/MQXGEN" target="_blank"&gt;http://forums.freescale.com/t5/Freescale-MQX-trade-Software/bd-p/MQXGEN&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Oct 2011 20:42:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kwikstik-rev-5-CodeWarrior-patch-needed-any-experience/m-p/178004#M1595</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2011-10-31T20:42:12Z</dc:date>
    </item>
    <item>
      <title>Re: Kwikstik rev 5 + CodeWarrior: patch needed, any experience?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kwikstik-rev-5-CodeWarrior-patch-needed-any-experience/m-p/178005#M1596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;_PARTIALLY_ solved:&lt;/P&gt;&lt;P&gt;(thanks to Freescale support):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;what needs to be done to make the call:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; com_handle = fopen("esdhc:", NULL);&lt;BR /&gt;to succeed, is:&lt;/P&gt;&lt;P&gt;In the init_bsp.c file of the bsp_Kwikstikk40x256 go to the following:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;#if BSPCFG_ENABLE_ESDHC&lt;BR /&gt;_esdhc_install ("esdhc:", &amp;amp;_bsp_esdhc0_init); //Enable the init process present on twr-k40x256 bsp&lt;BR /&gt;#endif&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately now it fails on:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; sdcard_handle = fopen("sdcard:", 0);&lt;/P&gt;&lt;P&gt;Maybe is it a similar problem?&lt;/P&gt;&lt;P&gt;Any hint appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Mik&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Nov 2011 19:49:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kwikstik-rev-5-CodeWarrior-patch-needed-any-experience/m-p/178005#M1596</guid>
      <dc:creator>michele_novalia</dc:creator>
      <dc:date>2011-11-03T19:49:27Z</dc:date>
    </item>
    <item>
      <title>Re: Kwikstik rev 5 + CodeWarrior: patch needed, any experience?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kwikstik-rev-5-CodeWarrior-patch-needed-any-experience/m-p/178006#M1597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Kwikstik and TWR-K40 use K40 chips in different package types so you have to change bsp part where they initialize sdhc, for example _bsp_esdhc_io_init&amp;nbsp; function.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Apply the sources in attachment to your old MQX 3.7 kwikstik patch, you should have sdhc and rtc runable.&lt;/P&gt;&lt;P&gt;You can try with mfs sdcard example.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Nov 2011 16:53:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kwikstik-rev-5-CodeWarrior-patch-needed-any-experience/m-p/178006#M1597</guid>
      <dc:creator>Dekiru</dc:creator>
      <dc:date>2011-11-04T16:53:09Z</dc:date>
    </item>
    <item>
      <title>Re: Kwikstik rev 5 + CodeWarrior: patch needed, any experience?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kwikstik-rev-5-CodeWarrior-patch-needed-any-experience/m-p/178007#M1598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dekiru,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;brilliant, I'll check your patch, thanks a lot.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A thing I've tried last night was to recompile &amp;amp; link my project replacing the bsp, psp and mfs libraries with the ones coming from twr-k40x256.&lt;/P&gt;&lt;P&gt;It seems to work fine!&lt;/P&gt;&lt;P&gt;But I do wonder if there are side consequences...&lt;/P&gt;&lt;P&gt;&amp;nbsp;Probably your patch should serve the purpose better.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;P&gt;Mik&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Nov 2011 16:59:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kwikstik-rev-5-CodeWarrior-patch-needed-any-experience/m-p/178007#M1598</guid>
      <dc:creator>michele_novalia</dc:creator>
      <dc:date>2011-11-04T16:59:46Z</dc:date>
    </item>
  </channel>
</rss>

