<?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: Time out while initializing flash if CTimer3 output is wired to PINT interrupt pin. in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Time-out-while-initializing-flash-if-CTimer3-output-is-wired-to/m-p/1289602#M45366</link>
    <description>&lt;P&gt;Alice,&lt;/P&gt;&lt;P&gt;The project you sent me doesn't display the error I originally specified while the program is being flashed.&amp;nbsp; It looks like you resolved it. Xie xie.&amp;nbsp; Now please explain what you did and why my code may have failed.&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 09 Jun 2021 05:25:51 GMT</pubDate>
    <dc:creator>jmueckl</dc:creator>
    <dc:date>2021-06-09T05:25:51Z</dc:date>
    <item>
      <title>Time out while initializing flash if CTimer3 output is wired to PINT interrupt pin.</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Time-out-while-initializing-flash-if-CTimer3-output-is-wired-to/m-p/1284353#M45226</link>
      <description>&lt;P&gt;I am using CTimer3 as a 100ms timer to initiate a PINT Pin interrupt which in turn sets a flag that is tested in a while loop in main.&amp;nbsp; This requires jumping the CTimer3 output’s header receptacle to that of the PINT input header receptacle.&amp;nbsp; However, I cannot jumper the two header pins before I flash the board using the blue bug icon. &amp;nbsp;If I forget to remove the jumper, I obtain the following error.&amp;nbsp; How can I program the flash leaving the jumper inserted? &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Opening flash driver LPC540xx_SPIFI_SFDP.cfx&lt;/P&gt;&lt;P&gt;Using SOFT reset to run the flash driver&lt;/P&gt;&lt;P&gt;Cannot halt processor&lt;/P&gt;&lt;P&gt;warning - failed to halt processor on startup timeout - rc Ep(04). Cannot halt processor.&lt;/P&gt;&lt;P&gt;Flash Driver V.2 startup failed - rc Ef(34): Timed-out initializing flash.&lt;/P&gt;&lt;P&gt;chip initialization failed - Ef(34): Timed-out initializing flash.&lt;/P&gt;&lt;P&gt;failed to initialize flash driver LPC540xx_SPIFI_SFDP.cfx&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I get the same error flashing the LPC54018 OM40003UL from my laptop’s USB port as I do if I flash the LPC54018 through my separate LPC-Link2 board.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The relevant code is attached.&lt;/P&gt;</description>
      <pubDate>Sat, 29 May 2021 05:32:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Time-out-while-initializing-flash-if-CTimer3-output-is-wired-to/m-p/1284353#M45226</guid>
      <dc:creator>jmueckl</dc:creator>
      <dc:date>2021-05-29T05:32:01Z</dc:date>
    </item>
    <item>
      <title>Re: Time out while initializing flash if CTimer3 output is wired to PINT interrupt pin.</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Time-out-while-initializing-flash-if-CTimer3-output-is-wired-to/m-p/1284989#M45241</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;A id="link_12" class="lia-link-navigation lia-page-link lia-user-name-link" href="https://community.nxp.com/t5/user/viewprofilepage/user-id/180784" target="_self" aria-label="View Profile of jmueckl"&gt;&lt;SPAN class=""&gt;jmueckl,&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;Please show the detail steps that how to use&amp;nbsp;&lt;SPAN&gt;LPC54018 OM40003UL to reproduce your issue,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;then I will help to check it on my side, thanks.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;BR&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;Alice&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Jun 2021 01:10:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Time-out-while-initializing-flash-if-CTimer3-output-is-wired-to/m-p/1284989#M45241</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2021-06-01T01:10:25Z</dc:date>
    </item>
    <item>
      <title>Re: Time out while initializing flash if CTimer3 output is wired to PINT interrupt pin.</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Time-out-while-initializing-flash-if-CTimer3-output-is-wired-to/m-p/1285071#M45242</link>
      <description>&lt;P&gt;Import the project I have attached and build it.&amp;nbsp; No errors should result.&lt;/P&gt;&lt;P&gt;Plug J8 of the OM40003 into the USB port of the host&lt;/P&gt;&lt;P&gt;Hit the blue bug icon to flash the program and then Run the debugger.&amp;nbsp; Jumper J13 pins 1 &amp;amp; 5.&amp;nbsp; The program will not do anything visible, but just the fact that it doesn't crash is good enough for this test.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hit the red terminate button.&lt;/P&gt;&lt;P&gt;Jumper J13 pins 1 &amp;amp; 5 should still be jumpered.&lt;/P&gt;&lt;P&gt;Hit the blue icon to flash the program and Run the debugger.&amp;nbsp; The debug error I described will result.&lt;/P&gt;&lt;P&gt;J13 pin 5 is the output of CTimer3 which outputs a 10Hz square wave.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;J13 pin 1 is the input to PINT2, which initiates&amp;nbsp;pint_intr_callback() on the rising edge of Ctimer3's 10Hz output.&amp;nbsp;&lt;/P&gt;&lt;P&gt;You should not have to disconnect J13 pins 1 &amp;amp; 5 for debug to run.&amp;nbsp; What is causing this issue?&lt;/P&gt;</description>
      <pubDate>Tue, 01 Jun 2021 05:22:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Time-out-while-initializing-flash-if-CTimer3-output-is-wired-to/m-p/1285071#M45242</guid>
      <dc:creator>jmueckl</dc:creator>
      <dc:date>2021-06-01T05:22:21Z</dc:date>
    </item>
    <item>
      <title>Re: Time out while initializing flash if CTimer3 output is wired to PINT interrupt pin.</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Time-out-while-initializing-flash-if-CTimer3-output-is-wired-to/m-p/1286523#M45265</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;SPAN&gt;jmueckl,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I have test your project on my side, the same with you. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Because the J13 pin5 (P3_14) have the function of TRACEDATA, you can see from UM11060:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Alice_Yang_0-1622690627050.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/146145i20D2381304DBDF62/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Alice_Yang_0-1622690627050.png" alt="Alice_Yang_0-1622690627050.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;So I think the reason is, after you download the project one time, before next time, the code is running on your chip, this TRACEDATA pin (J13 pin5 ) is sending&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;10Hz square wave, not the correct Tace data debugger need, so failed.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;You can test other SDK demo also connect the J13 pin1 and pin5, it can connect to the debugger can download well.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;BR&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Alice&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Jun 2021 03:27:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Time-out-while-initializing-flash-if-CTimer3-output-is-wired-to/m-p/1286523#M45265</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2021-06-03T03:27:37Z</dc:date>
    </item>
    <item>
      <title>Re: Time out while initializing flash if CTimer3 output is wired to PINT interrupt pin.</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Time-out-while-initializing-flash-if-CTimer3-output-is-wired-to/m-p/1286961#M45269</link>
      <description>&lt;P&gt;Alice,&lt;/P&gt;&lt;P&gt;Are all four TRACEDATA signals exercised at the same time?&amp;nbsp; I attempted to use P3_10 @ J3[7] instead of P3_13 @ J3[5] and obtained the same result. P3_10 is also used for TRACEDATA[0]. Also, are these signals exercised all of the time that I am debugging?&lt;/P&gt;</description>
      <pubDate>Thu, 03 Jun 2021 16:41:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Time-out-while-initializing-flash-if-CTimer3-output-is-wired-to/m-p/1286961#M45269</guid>
      <dc:creator>jmueckl</dc:creator>
      <dc:date>2021-06-03T16:41:53Z</dc:date>
    </item>
    <item>
      <title>Re: Time out while initializing flash if CTimer3 output is wired to PINT interrupt pin.</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Time-out-while-initializing-flash-if-CTimer3-output-is-wired-to/m-p/1287216#M45281</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hello jmueckl,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I'm not very sure the reason, only can confirm this is related your code.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Recommend removing the jumper before debug, or easing whole flash before debug.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;BR&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Alice&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Jun 2021 03:56:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Time-out-while-initializing-flash-if-CTimer3-output-is-wired-to/m-p/1287216#M45281</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2021-06-04T03:56:11Z</dc:date>
    </item>
    <item>
      <title>Re: Time out while initializing flash if CTimer3 output is wired to PINT interrupt pin.</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Time-out-while-initializing-flash-if-CTimer3-output-is-wired-to/m-p/1287236#M45282</link>
      <description>&lt;P&gt;Alice,&lt;/P&gt;&lt;P&gt;Please provide information regarding the four&amp;nbsp;&lt;SPAN&gt;TRACEDATA signals.&amp;nbsp; It's okay if it takes a few days.&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;What data is sent via these signals? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is the data sent in parallel and simultaneously?&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Please confirm that they are only used at the beginning of the debug session and not for the entire debug session.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Jun 2021 05:04:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Time-out-while-initializing-flash-if-CTimer3-output-is-wired-to/m-p/1287236#M45282</guid>
      <dc:creator>jmueckl</dc:creator>
      <dc:date>2021-06-04T05:04:51Z</dc:date>
    </item>
    <item>
      <title>Re: Time out while initializing flash if CTimer3 output is wired to PINT interrupt pin.</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Time-out-while-initializing-flash-if-CTimer3-output-is-wired-to/m-p/1288562#M45337</link>
      <description>&lt;P&gt;I'm going to ask the same question in a different way.&amp;nbsp; I will be spinning a PCB with my current firmware.&amp;nbsp; If I want to be able to debug the new board, what do I need to do with the TRACEDATA signals?&amp;nbsp; Do they still get connected as they are on my LPC54018 development board?&amp;nbsp; If that is the case, then I cannot use the same processor pins for another purpose, such as a timer.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jun 2021 23:17:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Time-out-while-initializing-flash-if-CTimer3-output-is-wired-to/m-p/1288562#M45337</guid>
      <dc:creator>jmueckl</dc:creator>
      <dc:date>2021-06-07T23:17:56Z</dc:date>
    </item>
    <item>
      <title>Re: Time out while initializing flash if CTimer3 output is wired to PINT interrupt pin.</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Time-out-while-initializing-flash-if-CTimer3-output-is-wired-to/m-p/1288908#M45348</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;SPAN&gt;jmueckl,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Sorry for my last comment, that is wrong guess. There is no relationship with&amp;nbsp;TRACEDATA signals.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The problem maybe is your project , I create a new one , then copy your code into it , it can work well, please see my attachment. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;BR&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Alice&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jun 2021 08:23:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Time-out-while-initializing-flash-if-CTimer3-output-is-wired-to/m-p/1288908#M45348</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2021-06-08T08:23:21Z</dc:date>
    </item>
    <item>
      <title>Re: Time out while initializing flash if CTimer3 output is wired to PINT interrupt pin.</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Time-out-while-initializing-flash-if-CTimer3-output-is-wired-to/m-p/1289602#M45366</link>
      <description>&lt;P&gt;Alice,&lt;/P&gt;&lt;P&gt;The project you sent me doesn't display the error I originally specified while the program is being flashed.&amp;nbsp; It looks like you resolved it. Xie xie.&amp;nbsp; Now please explain what you did and why my code may have failed.&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jun 2021 05:25:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Time-out-while-initializing-flash-if-CTimer3-output-is-wired-to/m-p/1289602#M45366</guid>
      <dc:creator>jmueckl</dc:creator>
      <dc:date>2021-06-09T05:25:51Z</dc:date>
    </item>
    <item>
      <title>Re: Time out while initializing flash if CTimer3 output is wired to PINT interrupt pin.</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Time-out-while-initializing-flash-if-CTimer3-output-is-wired-to/m-p/1292245#M45467</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;SPAN&gt;jmueckl,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I really did nothing, just create a new project, then copy your code into it.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;BR&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Alice&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jun 2021 03:50:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Time-out-while-initializing-flash-if-CTimer3-output-is-wired-to/m-p/1292245#M45467</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2021-06-15T03:50:45Z</dc:date>
    </item>
    <item>
      <title>Re: Time out while initializing flash if CTimer3 output is wired to PINT interrupt pin.</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Time-out-while-initializing-flash-if-CTimer3-output-is-wired-to/m-p/1292307#M45470</link>
      <description>&lt;P&gt;Alice,&lt;/P&gt;&lt;P&gt;Like you, I created a new project and copied all of my project files into it.&amp;nbsp; However, rather than create a C project as you did, I created a C++ project, just like my original project. &amp;nbsp;Unfortunately, I still get the same flash error unless I remove the jumper I described.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I looked at my header files to see if any of the functions I called in main were outside of my &lt;STRONG&gt;#if&lt;/STRONG&gt; defined(__cplusplus) &amp;nbsp;statement, but found them all to be included.&amp;nbsp; That is often the reason a C++ project fails if the code works in a C project.&lt;/P&gt;&lt;P&gt;Please let me know if you have any further thoughts.&amp;nbsp; If not, I’m not able to qualify your fix as a solution for my C++ project, and I will continue to remove and attach my jumper each time I flash for debug.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jun 2021 06:03:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Time-out-while-initializing-flash-if-CTimer3-output-is-wired-to/m-p/1292307#M45470</guid>
      <dc:creator>jmueckl</dc:creator>
      <dc:date>2021-06-15T06:03:02Z</dc:date>
    </item>
    <item>
      <title>Re: Time out while initializing flash if CTimer3 output is wired to PINT interrupt pin.</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Time-out-while-initializing-flash-if-CTimer3-output-is-wired-to/m-p/1292314#M45471</link>
      <description>&lt;P&gt;Make sure your interrupt handlers are defined as extern “C” - this is a very common issue.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jun 2021 06:17:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Time-out-while-initializing-flash-if-CTimer3-output-is-wired-to/m-p/1292314#M45471</guid>
      <dc:creator>converse</dc:creator>
      <dc:date>2021-06-15T06:17:54Z</dc:date>
    </item>
  </channel>
</rss>

