<?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: How to run a program using ISP in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-run-a-program-using-ISP/m-p/545985#M13166</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by starblue on Mon Jan 19 06:31:17 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: ArneB&lt;/STRONG&gt;&lt;BR /&gt;As far as I know, at address 0 is the branch instruction + reset vector located.&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is true for ARM7 but not for Cortex-M.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In Cortex-M at address 0 there is the initial SP and at address 4 the reset vector (not a branch instruction!).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The user manual for LPC81x also requires that address to be at least 0x200, so I'm a bit surprised it is working.&amp;nbsp; Maybe NXP implemented special handling for 0 without documenting it?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 19:47:27 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T19:47:27Z</dc:date>
    <item>
      <title>How to run a program using ISP</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-run-a-program-using-ISP/m-p/545977#M13158</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by masterboy on Mon Jan 19 01:58:02 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a program that can erase and upload program using the ISP. I need to run your program. The UM is written that the program starts with the command "GO", but I do not know what the address is. How do I know what is the address to start the program?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:47:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-run-a-program-using-ISP/m-p/545977#M13158</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:47:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to run a program using ISP</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-run-a-program-using-ISP/m-p/545978#M13159</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by ArneB on Mon Jan 19 03:39:59 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Try "G 0 T" + CRLF&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:47:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-run-a-program-using-ISP/m-p/545978#M13159</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:47:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to run a program using ISP</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-run-a-program-using-ISP/m-p/545979#M13160</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by starblue on Mon Jan 19 04:30:53 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: ArneB&lt;/STRONG&gt;&lt;BR /&gt;Try "G 0 T" + CRLF&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ary you sure that works on Cortex-M?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;According to the user manual you are not allowed to use an address less than 0x200.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:47:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-run-a-program-using-ISP/m-p/545979#M13160</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:47:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to run a program using ISP</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-run-a-program-using-ISP/m-p/545980#M13161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by 1234567890 on Mon Jan 19 04:33:20 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;In doubt use NVICSystemReset().&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:47:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-run-a-program-using-ISP/m-p/545980#M13161</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:47:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to run a program using ISP</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-run-a-program-using-ISP/m-p/545981#M13162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by ArneB on Mon Jan 19 04:38:00 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: &lt;/STRONG&gt;&lt;BR /&gt;Ary you sure that works on Cortex-M?&lt;BR /&gt;&lt;BR /&gt;According to the user manual you are not allowed to use an address less than 0x200.&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It works at least for the LPC8XX family, therefore its worth a try for the LPC11XX. As far as I know, at address 0 is the branch instruction + reset vector located.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:47:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-run-a-program-using-ISP/m-p/545981#M13162</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:47:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to run a program using ISP</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-run-a-program-using-ISP/m-p/545982#M13163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by ArneB on Mon Jan 19 04:43:34 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: 1234567890&lt;/STRONG&gt;&lt;BR /&gt;In doubt use NVICSystemReset().&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yep, this is the clean way, if your application is running. But the OP asks for a solution in ISP mode, if I understand it correctly... &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:47:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-run-a-program-using-ISP/m-p/545982#M13163</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:47:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to run a program using ISP</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-run-a-program-using-ISP/m-p/545983#M13164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by R2D2 on Mon Jan 19 04:52:32 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: ArneB&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: 1234567890&lt;/STRONG&gt;&lt;BR /&gt;In doubt use NVICSystemReset().&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;Yep, this is the clean way, if your application is running....&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And of course in ISP, too&amp;nbsp; :bigsmile:&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:47:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-run-a-program-using-ISP/m-p/545983#M13164</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:47:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to run a program using ISP</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-run-a-program-using-ISP/m-p/545984#M13165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by masterboy on Mon Jan 19 05:56:32 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;It works, thank you. But, this works only when it is set CRP_WORD = CRP_NO_CRP. Is it possible for this to work when set CRP_WORD = CRP_CRP1?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:47:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-run-a-program-using-ISP/m-p/545984#M13165</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:47:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to run a program using ISP</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-run-a-program-using-ISP/m-p/545985#M13166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by starblue on Mon Jan 19 06:31:17 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: ArneB&lt;/STRONG&gt;&lt;BR /&gt;As far as I know, at address 0 is the branch instruction + reset vector located.&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is true for ARM7 but not for Cortex-M.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In Cortex-M at address 0 there is the initial SP and at address 4 the reset vector (not a branch instruction!).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The user manual for LPC81x also requires that address to be at least 0x200, so I'm a bit surprised it is working.&amp;nbsp; Maybe NXP implemented special handling for 0 without documenting it?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:47:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-run-a-program-using-ISP/m-p/545985#M13166</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:47:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to run a program using ISP</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-run-a-program-using-ISP/m-p/545986#M13167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by masterboy on Wed Jan 21 04:21:45 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Can be run ISP mode from user code?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:47:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-run-a-program-using-ISP/m-p/545986#M13167</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:47:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to run a program using ISP</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-run-a-program-using-ISP/m-p/545987#M13168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by ArneB on Wed Jan 21 05:06:57 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: masterboy&lt;/STRONG&gt;&lt;BR /&gt;Can be run ISP mode from user code?&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, IAP command 57 (Reinvoke ISP)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:47:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-run-a-program-using-ISP/m-p/545987#M13168</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:47:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to run a program using ISP</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-run-a-program-using-ISP/m-p/545988#M13169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by R2D2 on Wed Jan 21 06:40:41 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: masterboy&lt;/STRONG&gt;&lt;BR /&gt;Can be run ISP mode from user code?&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Which MCU are you using?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[color=#f00]IAP57 + ISP_Select_Pin[/color] is starting the selected ISP mode...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you are using a LPC11 with more than one ISP mode (LPC11Cxx) this ISP_Select_Pin (PIO0_3) is selecting UART- or CAN-ISP... &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:47:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-run-a-program-using-ISP/m-p/545988#M13169</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:47:28Z</dc:date>
    </item>
  </channel>
</rss>

