<?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: Using Processor Expert .cmd file values like F_StackAddr in C code</title>
    <link>https://community.nxp.com/t5/Processor-Expert-Software/Using-Processor-Expert-cmd-file-values-like-F-StackAddr-in-C/m-p/147480#M26</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The values in the command file are pointers.&lt;/P&gt;&lt;P&gt;In order to use the value, ie get the addres of the Stack, you need to take the adddress of&amp;nbsp;the value&amp;nbsp;as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;extern uint16_t _StackAddr;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //NOTE remove the F in F_StackAddr.&lt;/P&gt;&lt;P&gt;uint16_t *StackAddress;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;StackAddress = &amp;amp;_StackAddr;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Pete&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 24 Mar 2012 02:31:30 GMT</pubDate>
    <dc:creator>dynapb</dc:creator>
    <dc:date>2012-03-24T02:31:30Z</dc:date>
    <item>
      <title>Using Processor Expert .cmd file values like F_StackAddr in C code</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/Using-Processor-Expert-cmd-file-values-like-F-StackAddr-in-C/m-p/147476#M22</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;Is there an easy way to use the Processor Expert generated .cmd command file values like F_StackAddr in my C code.&lt;/P&gt;&lt;P&gt;Does something need to be included in the C file?&lt;/P&gt;&lt;P&gt;I tried just using F_StackAddr or _StackAddr or StackAddr&amp;nbsp;but no luck.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Pete&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2012 23:09:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/Using-Processor-Expert-cmd-file-values-like-F-StackAddr-in-C/m-p/147476#M22</guid>
      <dc:creator>dynapb</dc:creator>
      <dc:date>2012-03-20T23:09:41Z</dc:date>
    </item>
    <item>
      <title>Re: Using Processor Expert .cmd file values like F_StackAddr in C code</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/Using-Processor-Expert-cmd-file-values-like-F-StackAddr-in-C/m-p/147477#M23</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;- Which CPU are you targeting (HC08, HC12, Coldfire, ..)&lt;BR /&gt;- Which version of CodeWarrior are you using?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CrasyCat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2012 14:56:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/Using-Processor-Expert-cmd-file-values-like-F-StackAddr-in-C/m-p/147477#M23</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2012-03-21T14:56:22Z</dc:date>
    </item>
    <item>
      <title>Re: Using Processor Expert .cmd file values like F_StackAddr in C code</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/Using-Processor-Expert-cmd-file-values-like-F-StackAddr-in-C/m-p/147478#M24</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi CrasyCat,&lt;/P&gt;&lt;P&gt;I use CW V7.3 for 56800/E and am using a&amp;nbsp;DSP56F8367 DSC.&lt;/P&gt;&lt;P&gt;Pete&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2012 20:37:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/Using-Processor-Expert-cmd-file-values-like-F-StackAddr-in-C/m-p/147478#M24</guid>
      <dc:creator>dynapb</dc:creator>
      <dc:date>2012-03-21T20:37:00Z</dc:date>
    </item>
    <item>
      <title>Re: Using Processor Expert .cmd file values like F_StackAddr in C code</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/Using-Processor-Expert-cmd-file-values-like-F-StackAddr-in-C/m-p/147479#M25</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I figured it out.&amp;nbsp; It is described in the Targeting MC56F83xx manual.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I just needed to declare it in my C file like:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;extern unsigned int _StackAddr;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //NOTE remove the F in F_StackAddr.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Mar 2012 21:47:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/Using-Processor-Expert-cmd-file-values-like-F-StackAddr-in-C/m-p/147479#M25</guid>
      <dc:creator>dynapb</dc:creator>
      <dc:date>2012-03-23T21:47:48Z</dc:date>
    </item>
    <item>
      <title>Re: Using Processor Expert .cmd file values like F_StackAddr in C code</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/Using-Processor-Expert-cmd-file-values-like-F-StackAddr-in-C/m-p/147480#M26</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The values in the command file are pointers.&lt;/P&gt;&lt;P&gt;In order to use the value, ie get the addres of the Stack, you need to take the adddress of&amp;nbsp;the value&amp;nbsp;as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;extern uint16_t _StackAddr;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //NOTE remove the F in F_StackAddr.&lt;/P&gt;&lt;P&gt;uint16_t *StackAddress;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;StackAddress = &amp;amp;_StackAddr;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Pete&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 Mar 2012 02:31:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/Using-Processor-Expert-cmd-file-values-like-F-StackAddr-in-C/m-p/147480#M26</guid>
      <dc:creator>dynapb</dc:creator>
      <dc:date>2012-03-24T02:31:30Z</dc:date>
    </item>
  </channel>
</rss>

