<?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>LPC MicrocontrollersのトピックRe: LPC18xx and NVIC_SystemReset()</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC18xx-and-NVIC-SystemReset/m-p/528286#M9577</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 Nov 06 16:33:12 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi hitpony,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Check&amp;nbsp; ISP pin. If you are using ISP pin in your application pull it up.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 18:17:03 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T18:17:03Z</dc:date>
    <item>
      <title>LPC18xx and NVIC_SystemReset()</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC18xx-and-NVIC-SystemReset/m-p/528282#M9573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by mch on Wed Jun 25 08:09:36 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;We have a board design based on the LPC1837 and want to cause a software reset. We have used the NVIC_SystemReset() function on other LPC based design and it worked fine. However on this board it does not, it just seems to cause the board to hang and we need a power cycle before we can access it with the debugger again.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We have tried this with a Keil MCB1800 eval board and we get the same behaviour.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The RGU on this CPU is quite complex so it may be that there may be some extra setup here to get it to work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We are using the Keil MDK v5.10 for our development so hopefully this will be pulling in the correct CMISS libraries.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Has anyone else got this to work, or can anyone suggest some code we can use to cause a hardware reset.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I should say that the WDT reset does work, however we don't want to use this as we want to reserve this for software lockups.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:17:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC18xx-and-NVIC-SystemReset/m-p/528282#M9573</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:17:01Z</dc:date>
    </item>
    <item>
      <title>Re: LPC18xx and NVIC_SystemReset()</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC18xx-and-NVIC-SystemReset/m-p/528283#M9574</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 Wed Jun 25 09:10:00 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi mch,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Please use core reset instead. Below 2 instructions should solve your problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;*(volatile unsigned int *)0x40043100 = 0x10400000;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //memmap with boot ROM address&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; *(volatile unsigned&amp;nbsp; int *)0x40053100 =(1&amp;lt;&amp;lt;0); // Core reset&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:17:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC18xx-and-NVIC-SystemReset/m-p/528283#M9574</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:17:01Z</dc:date>
    </item>
    <item>
      <title>Re: LPC18xx and NVIC_SystemReset()</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC18xx-and-NVIC-SystemReset/m-p/528284#M9575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by mch on Thu Jun 26 02:08:33 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks very much, that works a treat!!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:17:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC18xx-and-NVIC-SystemReset/m-p/528284#M9575</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:17:02Z</dc:date>
    </item>
    <item>
      <title>Re: LPC18xx and NVIC_SystemReset()</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC18xx-and-NVIC-SystemReset/m-p/528285#M9576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by hitpony on Thu Nov 06 10:17:59 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using LPC1850, and try your command of the followings:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;*(volatile unsigned int *)0x40043100 = 0x10400000; //memmap with boot ROM address&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; *(volatile unsigned int *)0x40053100 =(1&amp;lt;&amp;lt;0); // Core reset&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But the system still hang and can not be reset automatically, and need to press the reset button, or power-off and on, could I understand what could be the possible reason for it? could it be hardware issue with some PIN with certain level of voltage?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks ...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:17:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC18xx-and-NVIC-SystemReset/m-p/528285#M9576</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:17:03Z</dc:date>
    </item>
    <item>
      <title>Re: LPC18xx and NVIC_SystemReset()</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC18xx-and-NVIC-SystemReset/m-p/528286#M9577</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 Nov 06 16:33:12 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi hitpony,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Check&amp;nbsp; ISP pin. If you are using ISP pin in your application pull it up.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:17:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC18xx-and-NVIC-SystemReset/m-p/528286#M9577</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:17:03Z</dc:date>
    </item>
    <item>
      <title>Re: LPC18xx and NVIC_SystemReset()</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC18xx-and-NVIC-SystemReset/m-p/528287#M9578</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by hitpony on Fri Nov 07 03:58:07 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks mc, this really bring a good direction for me.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have checked the schematic, the ISP pin (P2_7) is used as EMC_A9 for my external NORFLASH, even though at the time when watchdog start, the EMC will not be used in later program, can I directly do the followings, before (or just after) the watchdog init:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;scu_pinmux(2, 7, MD_PUP, 0);&amp;nbsp;&amp;nbsp;&amp;nbsp; // EXTBUS_A9&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;GPIO_SetDir(2, 0x0080, 1);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;GPIO_SetValue(2, 0x0080);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have did some test, but the program will hang just after "scu_pinmux(2, 7, MD_PUP, 0);", and watchdog will trigger the reset.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks mc! &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:17:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC18xx-and-NVIC-SystemReset/m-p/528287#M9578</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:17:04Z</dc:date>
    </item>
  </channel>
</rss>

