<?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: Global variable in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Global-variable/m-p/513975#M460</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by lpcxpresso-support on Fri Jun 13 02:02:45 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Before you post your code, I suggest that you actually try debugging the cause of the problem yourself…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.lpcware.com%2Fcontent%2Ffaq%2Flpcxpresso%2Fdebugging-hard-fault" rel="nofollow" target="_blank"&gt;http://www.lpcware.com/content/faq/lpcxpresso/debugging-hard-fault&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After doing this, then if you are still stuck, then rather than just posting a code snippet it might be more helpful to export and post an actual project that shows up the problem…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.lpcware.com%2Fcontent%2Ffaq%2Flpcxpresso%2Fhow-importexport-projects" rel="nofollow" target="_blank"&gt;http://www.lpcware.com/content/faq/lpcxpresso/how-importexport-projects&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LPCXpresso Support&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 17:09:00 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T17:09:00Z</dc:date>
    <item>
      <title>Global variable</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Global-variable/m-p/513971#M456</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by manlong on Thu Jun 12 14:14:32 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I use LPCXpresso v7.2.0 for LPCXpresso 1549.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't understand why when I execute my program with a global varialbe, the program go directly to HardFault_Handler.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The program compile well.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When I comment the use of my global variables but the declaration stay present, the program run well.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When I use global variable, and I want to execute it, the program go directly to HardFault_Handler.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you have an explanation, a solution of my issue?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Man Long&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:08:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Global-variable/m-p/513971#M456</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:08:58Z</dc:date>
    </item>
    <item>
      <title>Re: Global variable</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Global-variable/m-p/513972#M457</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Pacman on Thu Jun 12 15:05:17 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I think it's best only to have one thread regarding this; otherwise, we'll all get confused, when we reply. I suggest this one in the LPC15xx forum.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When you ask questions like this, it is a real good idea to make a minimal test program first, which only consists of main(), the global variable and some LED that is turned on / off.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Before you pose a code example, I'd like to ask you to use the [color=#060][[/color][color=#060]code][/color] and&amp;nbsp; [color=#060][[/color][color=#060]/code][/color] tags, to format your code snippets. (You can use the '#' button for that, and you can press the eye-button to see a preview of your post, before you click the "Post" button).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:08:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Global-variable/m-p/513972#M457</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:08:59Z</dc:date>
    </item>
    <item>
      <title>Re: Global variable</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Global-variable/m-p/513973#M458</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by mc on Thu Jun 12 18:08:05 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Man Long,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you please post your code here? &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:08:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Global-variable/m-p/513973#M458</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:08:59Z</dc:date>
    </item>
    <item>
      <title>Re: Global variable</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Global-variable/m-p/513974#M459</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by manlong on Fri Jun 13 00:45:47 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi MC,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I will post the code Sunday.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Man Long&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:09:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Global-variable/m-p/513974#M459</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:09:00Z</dc:date>
    </item>
    <item>
      <title>Re: Global variable</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Global-variable/m-p/513975#M460</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by lpcxpresso-support on Fri Jun 13 02:02:45 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Before you post your code, I suggest that you actually try debugging the cause of the problem yourself…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.lpcware.com%2Fcontent%2Ffaq%2Flpcxpresso%2Fdebugging-hard-fault" rel="nofollow" target="_blank"&gt;http://www.lpcware.com/content/faq/lpcxpresso/debugging-hard-fault&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After doing this, then if you are still stuck, then rather than just posting a code snippet it might be more helpful to export and post an actual project that shows up the problem…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.lpcware.com%2Fcontent%2Ffaq%2Flpcxpresso%2Fhow-importexport-projects" rel="nofollow" target="_blank"&gt;http://www.lpcware.com/content/faq/lpcxpresso/how-importexport-projects&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LPCXpresso Support&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:09:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Global-variable/m-p/513975#M460</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:09:00Z</dc:date>
    </item>
  </channel>
</rss>

