<?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 LPC11C24 reinvoking the ISP on CAN systems using bitrates unequal 100k in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11C24-reinvoking-the-ISP-on-CAN-systems-using-bitrates/m-p/527483#M9408</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by mhg on Mon Dec 08 02:24:03 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;A href="http://http://www.lpcware.com/content/forum/lpc11c22-start-user-program-through-can-boot-loader"&gt;The old thread&lt;/A&gt;&lt;SPAN&gt; started with "ISP -&amp;gt; APP" and ended on "APP -&amp;gt; ISP" and bitrate issues. Following R2D2s suggestion &lt;/SPAN&gt;&lt;I&gt;"Please start a new thread, this one is old and long enough..."&lt;/I&gt;&lt;SPAN&gt; i start this new thread.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;The problem&lt;/STRONG&gt;&lt;SPAN&gt;: Reinvoking the ISP from application code results in 100k bit rate on CAN. Doing this in systems with different CAN BTR setting will fail.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Solutions discussed&lt;/STRONG&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Turn all other nodes off or switch all of them to 100k before.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;=&amp;gt; This is often not possible running systems with third party components off-the-shelf.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Reimplement the on-chip ROM code to replace the CAN BTR setting.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;=&amp;gt; Huge coding effort just for adjusted BTR settings.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;R2D2 pointed on two interesting details:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. The "reinvoke ISP" command of the IAP on LPC15 is providing a parameter to select the interface (see &lt;/SPAN&gt;&lt;A href="http://http://www.lpcware.com/content/forum/missing-chipiapreinvokeisp-bootloader-selection"&gt;thread&lt;/A&gt;&lt;SPAN&gt;). &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. R2D2 wrote: "... but it's also useful to switch from IRC to crystal Wink. Note: That's no theory, that's really working".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;@1) Is there something (undocumented) similar for BTR setting on LPC11 ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;@2) On my LPC11C24 reinvoking the ISP is always resulting in 100k regardless of the oscillator settings. Is there any special trick?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;User manual 26.3.8.1:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3.) A pattern at 0x0000 02FC is used to disable ISP.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;@3) Is there any other undocumented magic number (e.g. for BTR setting)?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Reimplementing the on-chip ROM code (with relocation to RAM etc.) appears to me not so pleasant.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Are there any tricks known, that may enable ISP operation at other bitrates?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 19:28:05 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T19:28:05Z</dc:date>
    <item>
      <title>LPC11C24 reinvoking the ISP on CAN systems using bitrates unequal 100k</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11C24-reinvoking-the-ISP-on-CAN-systems-using-bitrates/m-p/527483#M9408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by mhg on Mon Dec 08 02:24:03 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;A href="http://http://www.lpcware.com/content/forum/lpc11c22-start-user-program-through-can-boot-loader"&gt;The old thread&lt;/A&gt;&lt;SPAN&gt; started with "ISP -&amp;gt; APP" and ended on "APP -&amp;gt; ISP" and bitrate issues. Following R2D2s suggestion &lt;/SPAN&gt;&lt;I&gt;"Please start a new thread, this one is old and long enough..."&lt;/I&gt;&lt;SPAN&gt; i start this new thread.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;The problem&lt;/STRONG&gt;&lt;SPAN&gt;: Reinvoking the ISP from application code results in 100k bit rate on CAN. Doing this in systems with different CAN BTR setting will fail.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Solutions discussed&lt;/STRONG&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Turn all other nodes off or switch all of them to 100k before.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;=&amp;gt; This is often not possible running systems with third party components off-the-shelf.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Reimplement the on-chip ROM code to replace the CAN BTR setting.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;=&amp;gt; Huge coding effort just for adjusted BTR settings.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;R2D2 pointed on two interesting details:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. The "reinvoke ISP" command of the IAP on LPC15 is providing a parameter to select the interface (see &lt;/SPAN&gt;&lt;A href="http://http://www.lpcware.com/content/forum/missing-chipiapreinvokeisp-bootloader-selection"&gt;thread&lt;/A&gt;&lt;SPAN&gt;). &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. R2D2 wrote: "... but it's also useful to switch from IRC to crystal Wink. Note: That's no theory, that's really working".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;@1) Is there something (undocumented) similar for BTR setting on LPC11 ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;@2) On my LPC11C24 reinvoking the ISP is always resulting in 100k regardless of the oscillator settings. Is there any special trick?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;User manual 26.3.8.1:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3.) A pattern at 0x0000 02FC is used to disable ISP.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;@3) Is there any other undocumented magic number (e.g. for BTR setting)?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Reimplementing the on-chip ROM code (with relocation to RAM etc.) appears to me not so pleasant.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Are there any tricks known, that may enable ISP operation at other bitrates?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:28:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11C24-reinvoking-the-ISP-on-CAN-systems-using-bitrates/m-p/527483#M9408</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:28:05Z</dc:date>
    </item>
  </channel>
</rss>

