<?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: HC08 Processor Expert Tutorial #2 in CodeWarrior for MCU</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/HC08-Processor-Expert-Tutorial-2/m-p/183917#M6331</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hello,&lt;BR /&gt;what you could use to visualize the LED's: in the simulator/debugger, open the visualization tool (menu Component &amp;gt; Open &amp;gt; Visualizationtool. Then right click on the window and add your instrument (menu Add new instrument &amp;gt; LED). In the properties of the LED configure your variable name or address (Kind of port, port to display (either address or variable name).&lt;BR /&gt;If you are debugging with real hardware (not with the simulator), you may set up the refresh mode (perodical): for this use the context menu on the 'background' fot he VisualizationTool.&lt;BR /&gt;&lt;BR /&gt;Hope this gives an idea.&lt;BR /&gt;&lt;BR /&gt;BK&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 Jan 2008 20:57:29 GMT</pubDate>
    <dc:creator>BlackNight</dc:creator>
    <dc:date>2008-01-30T20:57:29Z</dc:date>
    <item>
      <title>HC08 Processor Expert Tutorial #2</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/HC08-Processor-Expert-Tutorial-2/m-p/183915#M6329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I worked through the HC08 tutorial #2 (with red and green LEDs) in processor expert to try and understand how to use beans to drive and monitor the chip I/O. The tutorial uses a keyboard interupt to flash the LEDS. After making the project, I run the debugger but I cant figure out how to "see" the leds flashing from a graphically UI standpoint. Is this possible or do i need to just code in print statements to see when the LEDs functions are called.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is my first embedded project with codewarrior so maybe i am missing something simple.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Paul&lt;/SPAN&gt;&lt;BR /&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jan 2008 05:37:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/HC08-Processor-Expert-Tutorial-2/m-p/183915#M6329</guid>
      <dc:creator>plaiming</dc:creator>
      <dc:date>2008-01-30T05:37:24Z</dc:date>
    </item>
    <item>
      <title>Re: HC08 Processor Expert Tutorial #2</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/HC08-Processor-Expert-Tutorial-2/m-p/183916#M6330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hello&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Can you please specify which version of CodeWarrior you are using&lt;/DIV&gt;&lt;DIV&gt;To retrieve that info:&lt;BR /&gt;- Start CodeWarrior&lt;BR /&gt;- Select Help -&amp;gt; About Freescale CodeWarrior&lt;BR /&gt;- Click on "Install Products"&lt;BR /&gt;- CodeWarrior version used is displayed on top in the Installed Products dialog.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Also which project are you trying to use?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;generally speaking I would use a Visualization Tool component and add an instrument pointing to the I/O to check that. But I would need to understand what you are using here.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;CrasyCat&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jan 2008 20:45:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/HC08-Processor-Expert-Tutorial-2/m-p/183916#M6330</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2008-01-30T20:45:53Z</dc:date>
    </item>
    <item>
      <title>Re: HC08 Processor Expert Tutorial #2</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/HC08-Processor-Expert-Tutorial-2/m-p/183917#M6331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hello,&lt;BR /&gt;what you could use to visualize the LED's: in the simulator/debugger, open the visualization tool (menu Component &amp;gt; Open &amp;gt; Visualizationtool. Then right click on the window and add your instrument (menu Add new instrument &amp;gt; LED). In the properties of the LED configure your variable name or address (Kind of port, port to display (either address or variable name).&lt;BR /&gt;If you are debugging with real hardware (not with the simulator), you may set up the refresh mode (perodical): for this use the context menu on the 'background' fot he VisualizationTool.&lt;BR /&gt;&lt;BR /&gt;Hope this gives an idea.&lt;BR /&gt;&lt;BR /&gt;BK&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jan 2008 20:57:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/HC08-Processor-Expert-Tutorial-2/m-p/183917#M6331</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2008-01-30T20:57:29Z</dc:date>
    </item>
    <item>
      <title>Re: HC08 Processor Expert Tutorial #2</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/HC08-Processor-Expert-Tutorial-2/m-p/183918#M6332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;The installed products indicates CodeWarrior Development Studio for Microcontrollers V6.1 Release, build 7285-290ct07&lt;BR /&gt;&lt;BR /&gt;I am running demo when you go to:&lt;BR /&gt;Select Help -&amp;gt; Processor Expert -&amp;gt; Tutorials&lt;BR /&gt;New windows pops up and i am running HC08 Project 2&lt;BR /&gt;&lt;BR /&gt;I found the visualization tools and was able to create an LED for both red and green.&lt;BR /&gt;Now I need to figure out how to link them to the I/O Ports.&lt;BR /&gt;The LED Beans are connected to PTB0_ATD0 and PTB1_ATD1&lt;BR /&gt;Do I need a memory location or can I link to the port name directly?&lt;BR /&gt;Should I select Memory or Variable in the Visualization Port properties.&lt;BR /&gt;&lt;BR /&gt;The other issue is that the demo application uses a keyboard interrupt to trigger the LEDs&lt;BR /&gt;lighting up and i dont know how to trigger that.&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Paul&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jan 2008 00:20:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/HC08-Processor-Expert-Tutorial-2/m-p/183918#M6332</guid>
      <dc:creator>plaiming</dc:creator>
      <dc:date>2008-01-31T00:20:34Z</dc:date>
    </item>
    <item>
      <title>Re: HC08 Processor Expert Tutorial #2</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/HC08-Processor-Expert-Tutorial-2/m-p/183919#M6333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hello Paul,&lt;BR /&gt;in the properties you can map it either to an address (memory address) or to a symbol name. The debugger simply has to know the symbol. So if you see in the debugger the symbol PTB0_ATD0, then you can simply use it too. I just would be careful in case PTB0_ATD0 is in fact a C macro: then it got resolved by the compiler and the debugger may not know about it.&lt;BR /&gt;&lt;BR /&gt;BK&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jan 2008 02:19:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/HC08-Processor-Expert-Tutorial-2/m-p/183919#M6333</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2008-01-31T02:19:15Z</dc:date>
    </item>
    <item>
      <title>Re: HC08 Processor Expert Tutorial #2</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/HC08-Processor-Expert-Tutorial-2/m-p/183920#M6334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;I was able to use the memory address to get the LED visualizations to respond properly. If i wanted to use symbols, how do i know what symbols are in the debugger?&lt;BR /&gt;&lt;BR /&gt;To get the port/visualization to work, I had to modify the main function in the processor expert C code with a straight function call to turn the beans port on. The current code is supposed to wait for an interupt on the keyboard port and then turn it on/off. Is there a way i can trigger this interrupt?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jan 2008 08:56:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/HC08-Processor-Expert-Tutorial-2/m-p/183920#M6334</guid>
      <dc:creator>plaiming</dc:creator>
      <dc:date>2008-01-31T08:56:43Z</dc:date>
    </item>
    <item>
      <title>Re: HC08 Processor Expert Tutorial #2</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/HC08-Processor-Expert-Tutorial-2/m-p/183921#M6335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;You can check the variables in the Data window (global data). Another way is to use the inspector component: Menu Component &amp;gt; Open Component &amp;gt; Inspect. Then see the 'Symbol Table' information which lists all the known functions/variables/etc with names and additional properties.&lt;BR /&gt;&lt;BR /&gt;BK&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jan 2008 16:32:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/HC08-Processor-Expert-Tutorial-2/m-p/183921#M6335</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2008-01-31T16:32:36Z</dc:date>
    </item>
  </channel>
</rss>

