<?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>topic Re: SDHC_LDD on Kinetis K20 in Processor Expert Software</title>
    <link>https://community.nxp.com/t5/Processor-Expert-Software/SDHC-LDD-on-Kinetis-K20/m-p/187226#M554</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this is a bug in the SDHC component. It does not generate the necessary MQX includes into the SDHC component's .c module:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;#include "mqx.h"&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;#include "ioctl.h"&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Workaround is to freeze the SDHC component code generation (rigth click on the SDHC component in the project panel and selecting Code generation/Don't write generated...) and to add the missing includes to the generated SDHC component's .c module.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We apologize for the inconveniencies.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 02 Dec 2011 17:35:33 GMT</pubDate>
    <dc:creator>LadislavVadkerti</dc:creator>
    <dc:date>2011-12-02T17:35:33Z</dc:date>
    <item>
      <title>SDHC_LDD on Kinetis K20</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/SDHC-LDD-on-Kinetis-K20/m-p/187225#M553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I try to add the SDHC Component in my PE&amp;nbsp;BSB in wich also MQX is used.&lt;/P&gt;&lt;P&gt;When compiled without SDHC component ist works and also the MQX runs perfectly.&lt;/P&gt;&lt;P&gt;But when I add the SDHC_LDD Component and try to compile the BSB, I get following errors in the Processor Expert generated Code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;----------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;.......&lt;/P&gt;&lt;P&gt;'Building file: ../Generated_Code/SDHC1.c'&lt;BR /&gt;'Invoking: ARM Compiler'&lt;BR /&gt;"D:/Freescale/CW MCU v10.1/MCU/ARM_Tools/Command_Line_Tools/mwccarm" -gccinc @@"Generated_Code/SDHC1.args" -o "Generated_Code/SDHC1.obj" -c "../Generated_Code/SDHC1.c" -MD -gccdep&lt;BR /&gt;D:/Freescale/CW MCU v10.1/MCU/ARM_Tools/Command_Line_Tools/mwccarm|Compiler|Error&lt;BR /&gt;(D:\Freescale\Freescale MQX 3.7\mqx\build\cw10\bsp_twrk60n512_pe\Generated_Code\SDHC1.c|512|58|9|32741|9)&lt;BR /&gt;=&amp;nbsp; DeviceDataPrv = (SDHC1_TDeviceData *)_mem_alloc_system((_mem_size)sizeof(SDHC1_TDeviceData));&amp;nbsp;&lt;BR /&gt;&amp;gt;undefined identifier '_mem_size'&lt;BR /&gt;D:/Freescale/CW MCU v10.1/MCU/ARM_Tools/Command_Line_Tools/mwccarm|Compiler|Error&lt;BR /&gt;(D:\Freescale\Freescale MQX 3.7\mqx\build\cw10\bsp_twrk60n512_pe\Generated_Code\SDHC1.c|580|64|1|37631|1)&lt;BR /&gt;=vedISRSettings.isrData = _int_get_isr_data(LDD_ivIndex_INT_SDHC);&amp;nbsp;&lt;BR /&gt;&amp;gt;illegal implicit conversion from 'int' to&lt;BR /&gt;&amp;gt;'void *'&lt;BR /&gt;D:/Freescale/CW MCU v10.1/MCU/ARM_Tools/Command_Line_Tools/mwccarm|Compiler|Error&lt;BR /&gt;(D:\Freescale\Freescale MQX 3.7\mqx\build\cw10\bsp_twrk60n512_pe\Generated_Code\SDHC1.c|581|64|1|37752|1)&lt;BR /&gt;=nstall_isr(LDD_ivIndex_INT_SDHC, SDHC1_Interrupt, DeviceDataPrv);&amp;nbsp;&lt;BR /&gt;&amp;gt;illegal implicit conversion from 'int' to&lt;BR /&gt;&amp;gt;'void (*)(void *)'&lt;/P&gt;&lt;P&gt;Errors caused tool to abort.&lt;BR /&gt;D:\Freescale\CW MCU v10.1\gnu\bin\make: *** [Generated_Code/SDHC1.obj] Error 1&lt;/P&gt;&lt;P&gt;----------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The first error "undefined identifier '_mem_size'" I get cleard by amnually adding the psptypes.h header file but what about the other ones, is the generated code buggy or is just another include necessary?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Nov 2011 18:07:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/SDHC-LDD-on-Kinetis-K20/m-p/187225#M553</guid>
      <dc:creator>hard_ware</dc:creator>
      <dc:date>2011-11-30T18:07:02Z</dc:date>
    </item>
    <item>
      <title>Re: SDHC_LDD on Kinetis K20</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/SDHC-LDD-on-Kinetis-K20/m-p/187226#M554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this is a bug in the SDHC component. It does not generate the necessary MQX includes into the SDHC component's .c module:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;#include "mqx.h"&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;#include "ioctl.h"&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Workaround is to freeze the SDHC component code generation (rigth click on the SDHC component in the project panel and selecting Code generation/Don't write generated...) and to add the missing includes to the generated SDHC component's .c module.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We apologize for the inconveniencies.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Dec 2011 17:35:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/SDHC-LDD-on-Kinetis-K20/m-p/187226#M554</guid>
      <dc:creator>LadislavVadkerti</dc:creator>
      <dc:date>2011-12-02T17:35:33Z</dc:date>
    </item>
    <item>
      <title>Re: SDHC_LDD on Kinetis K20</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/SDHC-LDD-on-Kinetis-K20/m-p/187227#M555</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, that worked.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Dec 2011 18:19:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/SDHC-LDD-on-Kinetis-K20/m-p/187227#M555</guid>
      <dc:creator>hard_ware</dc:creator>
      <dc:date>2011-12-02T18:19:21Z</dc:date>
    </item>
  </channel>
</rss>

