<?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>LPCXpresso IDEのトピックRe: after Renaming a structure code is not working</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/after-Renaming-a-structure-code-is-not-working/m-p/584264#M26196</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by NXP_Europe on Fri Jun 29 06:01:42 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Try using the refractor, this way all references to that name are updated automatically.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Right click on the name you want to change, choose Refractor-&amp;gt;Rename.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jun 2016 02:38:13 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-16T02:38:13Z</dc:date>
    <item>
      <title>after Renaming a structure code is not working</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/after-Renaming-a-structure-code-is-not-working/m-p/584260#M26192</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by madhuvariar on Fri Jun 29 05:04:54 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;When I [B][COLOR=red]changed[/COLOR][/B] the [COLOR=red][B]global structure[/B][/COLOR] (used for CAN Communication in my code)[COLOR=red]name[/COLOR], the structure variables [COLOR=red]are not getting loaded properly[/COLOR]. And I am getting junk values. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When I reverted the structure name back to the previous name structure variables are getting laoded properly.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This repeats even after I restarting the IDE / restarting the PC.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using [B]LPC11C24[/B] with LPCxpresso IDE 4.1.5, on windows 7 PC, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The clock frequency is 24MHz from a 12MHz xtal.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The following peripherals are also used in the code WDT for 2sec, I2C, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;CAN, systicktimer, timer16A &amp;amp; ADC.&amp;nbsp; NO RTOS used. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The code uses [B]14K flash[/B] and [B]1K8 RAM[/B].&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Reserved first 256 byte of RAM for&amp;nbsp; CAN drivers ( on linker descriptor). &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;HOw can I solve this issue?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:38:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/after-Renaming-a-structure-code-is-not-working/m-p/584260#M26192</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:38:10Z</dc:date>
    </item>
    <item>
      <title>Re: after Renaming a structure code is not working</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/after-Renaming-a-structure-code-is-not-working/m-p/584261#M26193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Ex-Zero on Fri Jun 29 05:18:21 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: madhuvariar&lt;/STRONG&gt;&lt;BR /&gt;HOw can I solve this issue?&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Switch your brain on and look where this structure is used :eek:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't know which structures you use and why this things don't work :rolleyes:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And don't change structures which are used in ROM ;)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:38:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/after-Renaming-a-structure-code-is-not-working/m-p/584261#M26193</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:38:11Z</dc:date>
    </item>
    <item>
      <title>Re: after Renaming a structure code is not working</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/after-Renaming-a-structure-code-is-not-working/m-p/584262#M26194</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by madhuvariar on Fri Jun 29 05:42:54 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;The structure I used for making a message packet of 11 bytes( to send through CAN )&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; and this packet is send through CAN as two CAN packets to another LPC11C24. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This structure has nothing to do with the onchip CAN drivers. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;And its working fine with the current structure name. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I need to change the structure to follow some coding standard.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When I changed the structure name then the framed message packet of 11bytes is not correct. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;There is no compilation error,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope you are clear now.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:38:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/after-Renaming-a-structure-code-is-not-working/m-p/584262#M26194</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:38:12Z</dc:date>
    </item>
    <item>
      <title>Re: after Renaming a structure code is not working</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/after-Renaming-a-structure-code-is-not-working/m-p/584263#M26195</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Ex-Zero on Fri Jun 29 05:45:59 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: madhuvariar&lt;/STRONG&gt;&lt;BR /&gt;Hope you are clear now.&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, now it's all clear :)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:38:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/after-Renaming-a-structure-code-is-not-working/m-p/584263#M26195</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:38:12Z</dc:date>
    </item>
    <item>
      <title>Re: after Renaming a structure code is not working</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/after-Renaming-a-structure-code-is-not-working/m-p/584264#M26196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by NXP_Europe on Fri Jun 29 06:01:42 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Try using the refractor, this way all references to that name are updated automatically.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Right click on the name you want to change, choose Refractor-&amp;gt;Rename.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:38:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/after-Renaming-a-structure-code-is-not-working/m-p/584264#M26196</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:38:13Z</dc:date>
    </item>
    <item>
      <title>Re: after Renaming a structure code is not working</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/after-Renaming-a-structure-code-is-not-working/m-p/584265#M26197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by madhuvariar on Fri Jun 29 06:48:27 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you for ur suggestion, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;As per your suggestion I tried refractor for renaming the structure,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;but the same problem exists( the code is not working).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[B]PS: after changing these variables [COLOR=darkgreen]to local variables and[/COLOR] made some mechanism to pass the structure content , [COLOR=darkgreen]the code worked[/COLOR]. [/B]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[B]But I want to[COLOR=darkgreen] keep[/COLOR] this structure variable [COLOR=red]as global.[/COLOR][/B]&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:38:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/after-Renaming-a-structure-code-is-not-working/m-p/584265#M26197</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:38:13Z</dc:date>
    </item>
    <item>
      <title>Re: after Renaming a structure code is not working</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/after-Renaming-a-structure-code-is-not-working/m-p/584266#M26198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Polux rsv on Fri Jun 29 09:18:25 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;is this variable located in the special 256bytes section by the linker description ? Changing variable name will put it in the data section, which is not read/write by the ROM CAN driver.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Angelo&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:38:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/after-Renaming-a-structure-code-is-not-working/m-p/584266#M26198</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:38:14Z</dc:date>
    </item>
    <item>
      <title>Re: after Renaming a structure code is not working</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/after-Renaming-a-structure-code-is-not-working/m-p/584267#M26199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by researchinnovation on Fri Jun 29 21:33:06 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: madhuvariar&lt;/STRONG&gt;&lt;BR /&gt;When I [B][COLOR=red]changed[/COLOR][/B] the [COLOR=red][B]global structure[/B][/COLOR] (used for CAN Communication in my code)[COLOR=red]name[/COLOR], the structure variables [COLOR=red]are not getting loaded properly[/COLOR]. And I am getting junk values. &lt;BR /&gt;When I reverted the structure name back to the previous name structure variables are getting laoded properly.&amp;nbsp; &lt;BR /&gt;This repeats even after I restarting the IDE / restarting the PC.&lt;BR /&gt; &lt;BR /&gt;I am using [B]LPC11C24[/B] with LPCxpresso IDE 4.1.5, on windows 7 PC, &lt;BR /&gt;The clock frequency is 24MHz from a 12MHz xtal.&lt;BR /&gt;The following peripherals are also used in the code WDT for 2sec, I2C, &lt;BR /&gt;CAN, systicktimer, timer16A &amp;amp; ADC.&amp;nbsp; NO RTOS used. &lt;BR /&gt;The code uses [B]14K flash[/B] and [B]1K8 RAM[/B].&lt;BR /&gt;Reserved first 256 byte of RAM for&amp;nbsp; CAN drivers ( on linker descriptor). &lt;BR /&gt; &lt;BR /&gt;HOw can I solve this issue?&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi..!!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Just go through code again , If you are using the same Buffer and pointer anywhere else, It might give you some junk value.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Go step by step and try to find out from which buffer or pointer&amp;nbsp; you are getting these values. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Have a look on your function and passing the arguments and change the variables accordingly Or, define your own variables in different .h file and include it in your main program.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks &amp;amp; Regards......:)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:38:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/after-Renaming-a-structure-code-is-not-working/m-p/584267#M26199</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:38:15Z</dc:date>
    </item>
    <item>
      <title>Re: after Renaming a structure code is not working</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/after-Renaming-a-structure-code-is-not-working/m-p/584268#M26200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by madhuvariar on Sun Jul 01 02:59:01 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;No its not located on the 256 bytes which is reserved for CAN drivers &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(the space for CAN drivers only reserved by editing linker descriptor file)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:38:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/after-Renaming-a-structure-code-is-not-working/m-p/584268#M26200</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:38:15Z</dc:date>
    </item>
  </channel>
</rss>

