<?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>CodeWarrior for MCU中的主题 Re: Problem with HCS12E128 and Processor Expert</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Problem-with-HCS12E128-and-Processor-Expert/m-p/132841#M1318</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;From reading the datasheet, it says that PORTAD0 should contain PORTAD[15:8] and PORTAD1 should contain PORTAD[7:0].&amp;nbsp; Isn't PORTADLo the same thing as PORTAD0?&amp;nbsp; I'm not sure why its not working, but its not working for about twenty different people.&amp;nbsp; I've tried to download the new version of CW off the website but it just has me fill out a request form (which I've done 3 times) and I've never got a response.&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Apr 2006 22:25:56 GMT</pubDate>
    <dc:creator>jmcoreymv</dc:creator>
    <dc:date>2006-04-25T22:25:56Z</dc:date>
    <item>
      <title>Problem with HCS12E128 and Processor Expert</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Problem-with-HCS12E128-and-Processor-Expert/m-p/132835#M1312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;I've got a Softec demo board using the HCS12E128 and I'm having an issue when I use the Processor Expert beans on a 16-bit port.&amp;nbsp; Specifically when I use the PortAD as a GPIO port and I assign BitIO beans to it.&amp;nbsp; If I assign a BitIO bean to PAD04, and then just write my code as normal it wont work.&amp;nbsp; We found a way to fix it by going into cpu.c and the bitbean header file and changing all references from the PortAD from Hi to Lo.&amp;nbsp; So like DDRADLo has to be changed to DDRADHi or DDRAD, and the rest of the registers must be switched as well.&amp;nbsp; I have to do this by hand everytime processor expert regenerates the code.&amp;nbsp; Does anyone know of a fix for this?&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Apr 2006 10:25:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Problem-with-HCS12E128-and-Processor-Expert/m-p/132835#M1312</guid>
      <dc:creator>jmcoreymv</dc:creator>
      <dc:date>2006-04-19T10:25:05Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with HCS12E128 and Processor Expert</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Problem-with-HCS12E128-and-Processor-Expert/m-p/132836#M1313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;What versions of CodeWarrior and Processor Expert do you use?&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Processor Expert Support&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Apr 2006 16:16:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Problem-with-HCS12E128-and-Processor-Expert/m-p/132836#M1313</guid>
      <dc:creator>ProcessorExpert</dc:creator>
      <dc:date>2006-04-19T16:16:27Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with HCS12E128 and Processor Expert</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Problem-with-HCS12E128-and-Processor-Expert/m-p/132837#M1314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;I am using CodeWarrior IDE 5.5.1272&lt;/DIV&gt;&lt;DIV&gt;CW Plugin IDE 3.62&lt;/DIV&gt;&lt;DIV&gt;Processor Expert 2.95 for the HCS12&lt;/DIV&gt;&lt;P&gt;Message Edited by jmcoreymv on &lt;SPAN class="date_text"&gt;04-19-2006&lt;/SPAN&gt;&lt;SPAN class="time_text"&gt;09:30 AM&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Apr 2006 21:28:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Problem-with-HCS12E128-and-Processor-Expert/m-p/132837#M1314</guid>
      <dc:creator>jmcoreymv</dc:creator>
      <dc:date>2006-04-19T21:28:28Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with HCS12E128 and Processor Expert</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Problem-with-HCS12E128-and-Processor-Expert/m-p/132838#M1315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;P&gt;I tested your problem on HW with CW3.1/PE2.95 and with newer release CW4.5/PE2.96 and no problem with Lo and Hi registers was found. Is it possible to send a project demonstrating the problem to &lt;A href="mailto:support@processorexpert.com" rel="nofollow" target="_blank"&gt;support@processorexpert.com&lt;/A&gt;? I will look at all project and beans setting and I will try to help you.&lt;/P&gt;&lt;P&gt;Best Regards, Processor Expert Support&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Apr 2006 20:24:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Problem-with-HCS12E128-and-Processor-Expert/m-p/132838#M1315</guid>
      <dc:creator>ProcessorExpert</dc:creator>
      <dc:date>2006-04-21T20:24:44Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with HCS12E128 and Processor Expert</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Problem-with-HCS12E128-and-Processor-Expert/m-p/132839#M1316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;I tried to send an email to the above address but it was denied because of the attachment.&amp;nbsp; I have included the sample project with this post.&amp;nbsp; Thanks!&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Email Text:&lt;/DIV&gt;&lt;DIV&gt;&lt;P&gt;&lt;FONT face="Arial" size="2"&gt;&lt;SPAN&gt;Thanks for helping me out.&amp;nbsp; Attached is a project I created which use two BitIO beans.&amp;nbsp; One bean is an output LED bean and the other is a SW input bean.&amp;nbsp; All it does is turn on the LED when the switch is pressed.&amp;nbsp; I have included all the generated code and it will not work how it is included.&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Arial" size="2"&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Arial" size="2"&gt;&lt;SPAN&gt;To fix it, I have to go into cpu.c and modify the registers ATDDIEN1,PIEADLo,PPSADLo,PERADLo, and DDRADLo.&amp;nbsp; The Lo and the 1 have to be removed or replaced by a Hi and a 0 for it to work properly.&amp;nbsp; I also have to go into SW1.h and modify the GetVal() macro and get rid of the Lo on that register too.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Arial" size="2"&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Arial" size="2"&gt;&lt;SPAN&gt;Another less major issue is that everytime I regenerate the code from processor expert (besides changing those registers above back) is that it removes my user generated code in the main() for loop.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Arial" size="2"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;FONT face="Arial" size="2"&gt;&lt;SPAN&gt;I was also able to replicate this problem when I used ByteIO on the 16-bit port too.&amp;nbsp; My entire class is having the same issue as me (Professor included).&amp;nbsp; We are using the Softec Demo board with HCS12E128 processor.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;P&gt;Message Edited by jmcoreymv on &lt;SPAN class="date_text"&gt;04-21-2006&lt;/SPAN&gt;&lt;SPAN class="time_text"&gt;10:18 AM&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Message Edited by jmcoreymv on &lt;SPAN class="date_text"&gt;04-21-2006&lt;/SPAN&gt;&lt;SPAN class="time_text"&gt;10:19 AM&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.freescale.com/files/community_files/CW816COMM/675_TestProgram.zip" rel="nofollow" target="_self"&gt;TestProgram.zip&lt;/A&gt;&lt;/P&gt;&lt;DIV class="message-edit-history"&gt;&lt;SPAN class="edit-author"&gt;Message Edited by t.dowe on&lt;/SPAN&gt; &lt;SPAN class="local-date"&gt;2009-10-22&lt;/SPAN&gt; &lt;SPAN class="local-time"&gt;10:02 AM&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Apr 2006 22:15:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Problem-with-HCS12E128-and-Processor-Expert/m-p/132839#M1316</guid>
      <dc:creator>jmcoreymv</dc:creator>
      <dc:date>2006-04-21T22:15:31Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with HCS12E128 and Processor Expert</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Problem-with-HCS12E128-and-Processor-Expert/m-p/132840#M1317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;P&gt;Unfortunately we don't have Softec Demo board, but&amp;nbsp;we I tried your project with Adapt9S12E128 demo board from Technological Arts. No problem with registers as you described was found again, the LED turned on when&amp;nbsp;the switch pressed. Please check Softec&amp;nbsp;demo board setting to find probable reason of your problem.&lt;/P&gt;&lt;P&gt;Note:Your user code shouldn't be written to 'Processor Expert end of main rountine' section, but above it not to be remove it after generation, see example.&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;void main(void)&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp;/*** Processor Expert internal initialization. DON'T REMOVE THIS CODE!!! ***/&lt;BR /&gt;&amp;nbsp;PE_low_level_init();&lt;BR /&gt;&amp;nbsp;/*** End of Processor Expert internal initialization.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ***/&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;&amp;nbsp;/* Write your code here */&lt;BR /&gt;&amp;nbsp;&amp;nbsp;for(;&lt;IMG alt=":smileywink:" class="emoticon emoticon-smileywink" id="smileywink" src="http://freescale.i.lithium.com/i/smilies/16x16_smiley-wink.gif" title="Smiley Wink" /&gt;{&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;LED0_PutVal(!SW1_GetVal());&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;}&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;&amp;nbsp;/*** Processor Expert end of main routine. DON'T MODIFY THIS CODE!!! ***/&lt;BR /&gt;&amp;nbsp;for(;&lt;IMG alt=":smileywink:" class="emoticon emoticon-smileywink" id="smileywink" src="http://freescale.i.lithium.com/i/smilies/16x16_smiley-wink.gif" title="Smiley Wink" /&gt;{}&lt;BR /&gt;&amp;nbsp;/*** Processor Expert end of main routine. DON'T WRITE CODE BELOW!!! ***/&lt;BR /&gt;} /*** End of main routine. DO NOT MODIFY THIS TEXT!!! ***/&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Apr 2006 18:54:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Problem-with-HCS12E128-and-Processor-Expert/m-p/132840#M1317</guid>
      <dc:creator>ProcessorExpert</dc:creator>
      <dc:date>2006-04-25T18:54:38Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with HCS12E128 and Processor Expert</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Problem-with-HCS12E128-and-Processor-Expert/m-p/132841#M1318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;From reading the datasheet, it says that PORTAD0 should contain PORTAD[15:8] and PORTAD1 should contain PORTAD[7:0].&amp;nbsp; Isn't PORTADLo the same thing as PORTAD0?&amp;nbsp; I'm not sure why its not working, but its not working for about twenty different people.&amp;nbsp; I've tried to download the new version of CW off the website but it just has me fill out a request form (which I've done 3 times) and I've never got a response.&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Apr 2006 22:25:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Problem-with-HCS12E128-and-Processor-Expert/m-p/132841#M1318</guid>
      <dc:creator>jmcoreymv</dc:creator>
      <dc:date>2006-04-25T22:25:56Z</dc:date>
    </item>
  </channel>
</rss>

