<?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: Error in code generated by PE</title>
    <link>https://community.nxp.com/t5/Processor-Expert-Software/Error-in-code-generated-by-PE/m-p/211224#M913</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;The problem has been fixed within Update #2 V1.0.1 for CW MCU V10.1&lt;BR /&gt;&lt;BR /&gt;To download the update please follow this link: &lt;A href="http://cache.freescale.com/lgfiles/updates/CWHC08/CW_MCU_v10.1_Update_1.0.1.zip?fpsp=1&amp;amp;WT_TYPE=Updates%20and%20Patches&amp;amp;WT_VENDOR=FREESCALE&amp;amp;WT_FILE_FORMAT=zip&amp;amp;WT_ASSET=Downloads&amp;amp;sr=6" rel="nofollow" target="_blank"&gt;Update #2 V1.0.1&lt;/A&gt;﻿&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;best regards&lt;BR /&gt;Vojtech Filip&lt;BR /&gt;Processor Expert Support Team﻿&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Aug 2011 14:09:05 GMT</pubDate>
    <dc:creator>ProcessorExpert</dc:creator>
    <dc:date>2011-08-17T14:09:05Z</dc:date>
    <item>
      <title>Error in code generated by PE</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/Error-in-code-generated-by-PE/m-p/211221#M910</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;I noticed that when I am using the MQX3.7 BSP for K60 demo on the CW10.1 SE version, when I try to create a UART0 connection, I realised that when I unclick the option "enabled in init code", the following lines do not appear in the code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; UART_PDD_SetBaudRateFineAdjust(UART0_BASE_PTR, 1u); /* Set baud rate fine adjust */&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp; UART_PDD_SetBaudRate(UART0_BASE_PTR, 26U); /* Set the baud rate register. */&lt;/STRONG&gt;&lt;BR /&gt;﻿&lt;/P&gt;&lt;P&gt;And the baud rate is not set at all anywhere when the option is disabled for enabling in init code. Is this an error or the initialization is done some where else?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jun 2011 11:46:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/Error-in-code-generated-by-PE/m-p/211221#M910</guid>
      <dc:creator>lowks</dc:creator>
      <dc:date>2011-06-01T11:46:37Z</dc:date>
    </item>
    <item>
      <title>Re: Error in code generated by PE</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/Error-in-code-generated-by-PE/m-p/211222#M911</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;no one from freescale want to comment on this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jun 2011 13:18:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/Error-in-code-generated-by-PE/m-p/211222#M911</guid>
      <dc:creator>lowks</dc:creator>
      <dc:date>2011-06-06T13:18:11Z</dc:date>
    </item>
    <item>
      <title>Re: Error in code generated by PE</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/Error-in-code-generated-by-PE/m-p/211223#M912</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;BR /&gt;I have reproduced the probem. It is a bug in Processor Expert, initialization of baud rate registers must be in Init() or in Enable() (for more enabled speed modes) methods. The error will be fixed in next CodeWarrior release.&lt;BR /&gt;For now, please use one of the following workarounds:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;a) Without using SelectBaudRate() method:&lt;BR /&gt;&amp;nbsp; 1. Set “Enabled in init. Code”property to “yes”.&lt;BR /&gt;&amp;nbsp; 2. Copy lines with values for baud rate registers (PDD macros) from AS_Init() method and place it behind AS_Init(UserDataPtr); method call.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&amp;nbsp; 3. Set “Enabled in init. Code” property to “no&lt;/P&gt;&lt;P&gt;Code example:&lt;BR /&gt;#include "UART_PDD.h"&lt;/P&gt;&lt;P&gt;&amp;nbsp; …&lt;BR /&gt;&amp;nbsp; DeviceDataPtr = AS_Init(UserDataPtr);&lt;BR /&gt;&amp;nbsp; UART_PDD_SetBaudRateFineAdjust(UARTn_BASE_PTR, 12U);&amp;nbsp; // Set baud rate fine adjust, where “n” is number of serial device (0..n)&lt;BR /&gt;&amp;nbsp; UART_PDD_SetBaudRate(UARTn_BASE_PTR, 11U);&amp;nbsp; // Set the baud rate register, where “n” is number of serial device(0..n)&lt;BR /&gt;&amp;nbsp; …&lt;BR /&gt;&amp;nbsp; (void) AS_Enable(DeviceDataPtr);&amp;nbsp; // Enable serial device, now is possible use serial port for Rx/Tx with right baud rate.&lt;BR /&gt;&amp;nbsp; …&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;b) With using SelectBaudRate() method:&lt;BR /&gt;It is possible to initialize baud rate register throught SelectBaudRate() method anytime. This method is enabled, if user specifies list of baud rate value in timing dialog in component inspector.&lt;/P&gt;&lt;P&gt;&amp;nbsp; 1. Open timing dialog for the "Baud rate" property&lt;BR /&gt;&amp;nbsp; 2. Select "list of values" mode&lt;BR /&gt;&amp;nbsp; 3. Enter at least two different values (init value would be your needed value)&lt;BR /&gt;&amp;nbsp; 4. Please SelectBaudRate() using initial value (valued with index 0) after the AS_Init call.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Code example:&lt;BR /&gt;&amp;nbsp; …&lt;BR /&gt;&amp;nbsp; DeviceDataPtr = AS_Init(UserDataPtr);&lt;BR /&gt;&amp;nbsp; (void)AS1_SelectBaudRate(DeviceDataPtr, 0U);&amp;nbsp; // initialize settings of baud rate register, baud rate list index 0&lt;BR /&gt;&amp;nbsp; …&lt;BR /&gt;&amp;nbsp; (void) AS_Enable(DeviceDataPtr);&amp;nbsp; // Enable serial device, now is possible use serial port for Rx/Tx with right baud rate.&lt;BR /&gt;&amp;nbsp; …&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;Jiri Rezler&lt;BR /&gt;Processor Expert Support Team&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jun 2011 21:59:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/Error-in-code-generated-by-PE/m-p/211223#M912</guid>
      <dc:creator>ProcessorExpert</dc:creator>
      <dc:date>2011-06-06T21:59:37Z</dc:date>
    </item>
    <item>
      <title>Re: Error in code generated by PE</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/Error-in-code-generated-by-PE/m-p/211224#M913</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;The problem has been fixed within Update #2 V1.0.1 for CW MCU V10.1&lt;BR /&gt;&lt;BR /&gt;To download the update please follow this link: &lt;A href="http://cache.freescale.com/lgfiles/updates/CWHC08/CW_MCU_v10.1_Update_1.0.1.zip?fpsp=1&amp;amp;WT_TYPE=Updates%20and%20Patches&amp;amp;WT_VENDOR=FREESCALE&amp;amp;WT_FILE_FORMAT=zip&amp;amp;WT_ASSET=Downloads&amp;amp;sr=6" rel="nofollow" target="_blank"&gt;Update #2 V1.0.1&lt;/A&gt;﻿&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;best regards&lt;BR /&gt;Vojtech Filip&lt;BR /&gt;Processor Expert Support Team﻿&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Aug 2011 14:09:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/Error-in-code-generated-by-PE/m-p/211224#M913</guid>
      <dc:creator>ProcessorExpert</dc:creator>
      <dc:date>2011-08-17T14:09:05Z</dc:date>
    </item>
  </channel>
</rss>

