<?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>Other NXP ProductsのトピックRe: LPC4078 Disable ISP or delay bootup ISP recognition</title>
    <link>https://community.nxp.com/t5/Other-NXP-Products/LPC4078-Disable-ISP-or-delay-bootup-ISP-recognition/m-p/1811554#M21220</link>
    <description>&lt;P&gt;Hi &lt;SPAN&gt;XiangJun,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;OTP has drawbacks, too, therefore this isn't important.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;It's a pity that there's no other solution like "fuse bits" in other mirocontrollers.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;We've got 3 solutions:&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;Strong pullup to prevent P2[10] during startup but this has further disadvantages.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Syncronized startup of P2[10] with Reset, but that's quite marginal (3ms sampling...)&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Change our PCB layout and connect the line instead of P2[10] to another one. This is obviously most work but the safest solution. We prefer this one.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN&gt;BR,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Daniel&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 20 Feb 2024 07:18:14 GMT</pubDate>
    <dc:creator>ryan_jacky</dc:creator>
    <dc:date>2024-02-20T07:18:14Z</dc:date>
    <item>
      <title>LPC4078 Disable ISP or delay bootup ISP recognition</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/LPC4078-Disable-ISP-or-delay-bootup-ISP-recognition/m-p/1803281#M21056</link>
      <description>&lt;P&gt;Hey experts,&lt;/P&gt;&lt;P&gt;unfortunately we connected in our product pin P2[10] of LPC4078 to a signal which can be LOW at startup for appr. 10ms which starts ISP programming mode what I checked with debugger and a oscilloscope.&lt;/P&gt;&lt;P&gt;As described in datasheet after startup when VCC is present and a rising-edge on RESET occurs (=general startup), pin P2[10] is sampled for 3ms and then it decides whether starting ISP programming mode or starting user code.&lt;/P&gt;&lt;P&gt;How can I avoid this behavior?&lt;/P&gt;&lt;P&gt;Since we want to avoid a pcb redesign we're searching for a software solution.&lt;/P&gt;&lt;P&gt;In datasheet I read for CRP3:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;This is similar to CRP2, but ISP entry by pulling P2[10] LOW is disabled if a valid user code&lt;BR /&gt;is present in flash sector 0.&lt;BR /&gt;This mode effectively disables ISP override using the P2[10] pin. It is up to the user’s&lt;BR /&gt;application to provide for flash updates by using IAP calls or by invoking ISP with UART0.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Until now we only use CRP2 because we want to be able to erase flash by SWD and re-flash a completely new program.&lt;/P&gt;&lt;P&gt;I know what "invoking ISP" with IAP calls means but it's written with "or". Is there a difference of "IAP calls" and "invoking ISP"? (For me it's the same and belongs together)&lt;/P&gt;&lt;P&gt;IAP calls are very&amp;nbsp;uncomfortable and we don't want to use it.&lt;/P&gt;&lt;P&gt;Is there another possibility to disable ISP at startup?&lt;/P&gt;&lt;P&gt;In the following flowchart there is a decision "Watchdog Flag Set?" What does "yes - flag set" mean&amp;nbsp; and how does it work? Is there a possibility to bypass "Enter ISP Mode?" with this Watchdog Flag Set?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ryan_jacky_2-1707299424934.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/262309i84D6301F9BD3C51A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ryan_jacky_2-1707299424934.png" alt="ryan_jacky_2-1707299424934.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;ryan_jacky_2-1707299424934.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Or does "Watchdog Flag Set" mean that a watchdog reset occured and because after restart it's not a normal restart the system directly executes user code to handle and evaluate the WD occurance and there's no need for ISP because ISP is only needed on regular POR startups?&lt;/P&gt;&lt;P&gt;I found this graphic:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ryan_jacky_3-1707299838702.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/262310i3C3C02DDBE96070F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ryan_jacky_3-1707299838702.png" alt="ryan_jacky_3-1707299838702.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;ryan_jacky_3-1707299838702.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Would there be another possibility, e.g. to delay complete startup process for some milliseconds so that our external signal on P2[10] is high and ISP won't start?&lt;/P&gt;&lt;P&gt;Or are there some "fuse bits" available as on Microchip µC to disable specific features (like ISP-feature)?&lt;/P&gt;&lt;P&gt;What would you suggest?&lt;/P&gt;&lt;P&gt;Thanks in advance for some hints and proposals.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Feb 2024 10:04:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/LPC4078-Disable-ISP-or-delay-bootup-ISP-recognition/m-p/1803281#M21056</guid>
      <dc:creator>ryan_jacky</dc:creator>
      <dc:date>2024-02-07T10:04:43Z</dc:date>
    </item>
    <item>
      <title>Re: LPC4078 Disable ISP or delay bootup ISP recognition</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/LPC4078-Disable-ISP-or-delay-bootup-ISP-recognition/m-p/1811410#M21212</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Unfortunately, the LPC4078 does not have OTP module, you can not configure OTP to control the boot process.&lt;/P&gt;
&lt;P&gt;As you know that the P2[10] pin must be high logic during/after Reset if you want to execute application in flash.&lt;/P&gt;
&lt;P&gt;Because of mistake, you can not make the P2[10] high during/after Reset, I have not solution to avoid sampling P2[10] pin during/after Reset.&lt;/P&gt;
&lt;P&gt;Using CRP3 can disable sample P2[10], but maybe there is drawback if you want to use JTAG to reprogram the chip.&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;XiangJun Rong&lt;/P&gt;</description>
      <pubDate>Tue, 20 Feb 2024 03:32:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/LPC4078-Disable-ISP-or-delay-bootup-ISP-recognition/m-p/1811410#M21212</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2024-02-20T03:32:02Z</dc:date>
    </item>
    <item>
      <title>Re: LPC4078 Disable ISP or delay bootup ISP recognition</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/LPC4078-Disable-ISP-or-delay-bootup-ISP-recognition/m-p/1811554#M21220</link>
      <description>&lt;P&gt;Hi &lt;SPAN&gt;XiangJun,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;OTP has drawbacks, too, therefore this isn't important.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;It's a pity that there's no other solution like "fuse bits" in other mirocontrollers.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;We've got 3 solutions:&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;Strong pullup to prevent P2[10] during startup but this has further disadvantages.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Syncronized startup of P2[10] with Reset, but that's quite marginal (3ms sampling...)&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Change our PCB layout and connect the line instead of P2[10] to another one. This is obviously most work but the safest solution. We prefer this one.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN&gt;BR,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Daniel&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Feb 2024 07:18:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/LPC4078-Disable-ISP-or-delay-bootup-ISP-recognition/m-p/1811554#M21220</guid>
      <dc:creator>ryan_jacky</dc:creator>
      <dc:date>2024-02-20T07:18:14Z</dc:date>
    </item>
  </channel>
</rss>

