<?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>Processor Expert SoftwareのトピックRe: code bugs in Serial_LDD</title>
    <link>https://community.nxp.com/t5/Processor-Expert-Software/code-bugs-in-Serial-LDD/m-p/273332#M1797</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for reporting the issue. You can preserve your changes by disabling code generation in the component's pop-up menu until the next release, where it should be fixed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ladislav Vadkerti&lt;/P&gt;&lt;P&gt;Freescale Processor Expert Team&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 Jul 2013 12:48:04 GMT</pubDate>
    <dc:creator>LadislavVadkerti</dc:creator>
    <dc:date>2013-07-16T12:48:04Z</dc:date>
    <item>
      <title>code bugs in Serial_LDD</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/code-bugs-in-Serial-LDD/m-p/273331#M1796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in the generated file AS1.c, the header says it's:&lt;/P&gt;&lt;P style="font-size: 10px; font-family: 'Courier New'; color: #508f73;"&gt;**&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Filename&amp;nbsp;&amp;nbsp;&amp;nbsp; : AS1.c&lt;/P&gt;&lt;P style="font-size: 10px; font-family: 'Courier New'; color: #508f73;"&gt;**&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Project&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : ProcessorExpert&lt;/P&gt;&lt;P style="font-size: 10px; font-family: 'Courier New'; color: #508f73;"&gt;**&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Processor&amp;nbsp;&amp;nbsp; : MK20FX512VLQ12&lt;/P&gt;&lt;P style="font-size: 10px; font-family: 'Courier New'; color: #508f73;"&gt;**&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Component&amp;nbsp;&amp;nbsp; : Serial_LDD&lt;/P&gt;&lt;P style="font-size: 10px; font-family: 'Courier New'; color: #508f73;"&gt;**&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Version&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : Component 01.168, Driver 01.10, CPU &lt;SPAN style="text-decoration: underline;"&gt;db&lt;/SPAN&gt;: 3.00.000&lt;/P&gt;&lt;P style="font-size: 10px; font-family: 'Courier New'; color: #508f73;"&gt;**&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Compiler&amp;nbsp;&amp;nbsp;&amp;nbsp; : GNU C Compiler&lt;/P&gt;&lt;P style="font-size: 10px; font-family: 'Courier New'; color: #508f73;"&gt;**&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date/Time&amp;nbsp;&amp;nbsp; : 2013-07-15, 16:26, # CodeGen: 6&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In line 283 and line 335 there's a missing cast, which causes compilation error in C++.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;line 283:&lt;/P&gt;&lt;P&gt;&amp;nbsp; DeviceDataPrv-&amp;gt;InpDataPtr = BufferPtr; /* Store a pointer to the input data. */&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;should cast the right side to (unsigned char*) at the very least (that gets rid of the error and is the correct data type).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;same at line 335:&lt;/P&gt;&lt;P&gt;&amp;nbsp; DeviceDataPrv-&amp;gt;OutDataPtr = BufferPtr; /* Set a pointer to the output data. */&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the error without the cast is:&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Description&lt;/TD&gt;&lt;TD&gt;Resource&lt;/TD&gt;&lt;TD&gt;Path&lt;/TD&gt;&lt;TD&gt;Location&lt;/TD&gt;&lt;TD&gt;Type&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;invalid conversion from 'LDD_TData* {aka void*}' to 'std::uint8_t* {aka unsigned char*}' [-fpermissive]&lt;/TD&gt;&lt;TD&gt;AS1.c&lt;/TD&gt;&lt;TD&gt;/test/Generated_Code&lt;/TD&gt;&lt;TD&gt;line 283&lt;/TD&gt;&lt;TD&gt;C/C++ Problem&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jul 2013 21:17:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/code-bugs-in-Serial-LDD/m-p/273331#M1796</guid>
      <dc:creator>bowerymarc</dc:creator>
      <dc:date>2013-07-15T21:17:34Z</dc:date>
    </item>
    <item>
      <title>Re: code bugs in Serial_LDD</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/code-bugs-in-Serial-LDD/m-p/273332#M1797</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for reporting the issue. You can preserve your changes by disabling code generation in the component's pop-up menu until the next release, where it should be fixed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ladislav Vadkerti&lt;/P&gt;&lt;P&gt;Freescale Processor Expert Team&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jul 2013 12:48:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/code-bugs-in-Serial-LDD/m-p/273332#M1797</guid>
      <dc:creator>LadislavVadkerti</dc:creator>
      <dc:date>2013-07-16T12:48:04Z</dc:date>
    </item>
  </channel>
</rss>

