<?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: SPIFI Flash Booting information for LPC4367 in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/SPIFI-Flash-Booting-information-for-LPC4367/m-p/1324370#M46177</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/142059"&gt;@gauravmore&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for your reply&lt;/P&gt;
&lt;P&gt;About :&lt;EM&gt;&amp;nbsp;I think It could be the reason ( problems in Boot select pins ), I will check regarding the same. But still since you are using OEM13088 board can you share the Pin configuration done on the board? I Also did the same but still there might be some glitch&lt;/EM&gt;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;SPAN&gt;&amp;nbsp;I am sorry for the late follow up, where you able to check whether&amp;nbsp;you have any glitch problem?&amp;nbsp; If you are still having issues could you share with me (in your internal ticket) your schematic settings? Also,&amp;nbsp; do you have any setting in the&amp;nbsp; flash OTP area?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;SPAN&gt;&amp;nbsp;Unfortunately,&amp;nbsp; I do not have an&amp;nbsp; OEM13088 to test with me at home ,&amp;nbsp; due to Covid lockdown. I was actually programming the flash-less&amp;nbsp;LPC4370 , from the LPC-Link 2 board&amp;nbsp;&lt;/SPAN&gt;OM13054. However , my boot configuration was the following&amp;nbsp;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-60px"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="diego_charles_0-1629179363424.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/153091iDA8541FE786BA712/image-size/medium?v=v2&amp;amp;px=400" role="button" title="diego_charles_0-1629179363424.png" alt="diego_charles_0-1629179363424.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;About&amp;nbsp; :&amp;nbsp;&lt;EM&gt;Also,&amp;nbsp; regarding the allocation of the variable to the flash, in the given example of LPC4088 constant data is allocated in the Flash memory using __RODATA() attribute, in a similar manner can we assign the normal variable in the same area using the above attribute?&lt;/EM&gt;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;SPAN&gt;No, because RODATA is intended for constant variables . Check the below response.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;About,&amp;nbsp; &lt;EM&gt;What is the method of allocating the normal variables in external flash, which will be updated&amp;nbsp; periodically while running the application code?&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;SPAN&gt;If from application execution you&amp;nbsp; would like to modify an specific sector of flash to store critical data, you will need to include&amp;nbsp; the&amp;nbsp; &lt;A href="https://www.nxp.com/products/processors-and-microcontrollers/arm-microcontrollers/general-purpose-mcus/lpc4300-cortex-m4-m0/lpc-spifi-peripheral:SPIFI-NXP-MICROCONTROLLERS?tab=Design_Tools_Tab" target="_self"&gt;SPIFI library for LPCXpresso&lt;/A&gt;.&amp;nbsp; You can make use of the SPIFI library APIs to update sectors of the flash. Here is a &lt;A href="https://community.nxp.com/t5/LPC-Microcontrollers-Knowledge/Using-the-SPIFI-library-with-the-LPC4370/ta-p/1102995" target="_self"&gt;tutorial&lt;/A&gt; on how to import the LPCSpifi library into the MCUXpresso ,that could help as a reference.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I will come back as soon as I can to reply all our&amp;nbsp; pending&amp;nbsp; inquires. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Many thanks for your patience.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Diego.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 17 Aug 2021 05:51:10 GMT</pubDate>
    <dc:creator>diego_charles</dc:creator>
    <dc:date>2021-08-17T05:51:10Z</dc:date>
    <item>
      <title>SPIFI Flash Booting information for LPC4367</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/SPIFI-Flash-Booting-information-for-LPC4367/m-p/1314428#M45984</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;I am using LPC4367 controller based evaluation board OM13088. I an trying to create the project which will use external flash for downloading the code instead of on chip flash.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have created the project which is attached. Please check and let me know whether it is the proper one or need some modification in the project created.&lt;/P&gt;&lt;P&gt;while debugging the code, I am getting below error,&lt;/P&gt;&lt;P&gt;MCUXpresso IDE RedlinkMulti Driver v11.2 (Sep 22 2020 13:23:35 - crt_emu_cm_redlink build 19)&lt;BR /&gt;Found chip XML file in C:/Gaurav More/Project/New Feeder Relay/F4/SourceCode/CPU/TestCode/SPIFI_BOOT_2/Test_SPIFI_Prj/Debug\LPC4337.xml&lt;BR /&gt;Reconnected to existing LinkServer process.&lt;BR /&gt;Probe Firmware: LPC-LINK2 CMSIS-DAP V5.361 (NXP Semiconductors)&lt;BR /&gt;Serial Number: BSARBQEQ&lt;BR /&gt;VID:PID: 1FC9:0090&lt;BR /&gt;USB Path: \\?\hid#vid_1fc9&amp;amp;pid_0090&amp;amp;mi_00#8&amp;amp;11bf0f26&amp;amp;0&amp;amp;0000#{4d1e55b2-f16f-11cf-88cb-001111000030}&lt;BR /&gt;Using memory from core 0 after searching for a good core&lt;BR /&gt;debug interface type = Cortex-M3/4 (DAP DP ID 2BA01477) over SWD TAP 0&lt;BR /&gt;processor type = Cortex-M4 (CPU ID 00000C24) on DAP AP 0&lt;BR /&gt;number of h/w breakpoints = 6&lt;BR /&gt;number of flash patches = 2&lt;BR /&gt;number of h/w watchpoints = 4&lt;BR /&gt;Probe(0): Connected&amp;amp;Reset. DpID: 2BA01477. CpuID: 00000C24. Info: &amp;lt;None&amp;gt;&lt;BR /&gt;Debug protocol: SWD. RTCK: Disabled. Vector catch: Disabled.&lt;BR /&gt;Content of CoreSight Debug ROM(s):&lt;BR /&gt;RBASE E00FF000: CID B105100D PID 04000BB4C4 ROM (type 0x1)&lt;BR /&gt;ROM 1 E000E000: CID B105E00D PID 04000BB00C Gen SCS (type 0x0)&lt;BR /&gt;ROM 1 E0001000: CID B105E00D PID 04003BB002 Gen DWT (type 0x0)&lt;BR /&gt;ROM 1 E0002000: CID B105E00D PID 04002BB003 Gen FPB (type 0x0)&lt;BR /&gt;ROM 1 E0000000: CID B105E00D PID 04003BB001 Gen ITM (type 0x0)&lt;BR /&gt;ROM 1 E0040000: CID B105900D PID 04000BB9A1 CSt TPIU type 0x11 Trace Sink - TPIU&lt;BR /&gt;ROM 1 E0041000: CID B105900D PID 04000BB925 CSt ETM type 0x13 Trace Source - Core&lt;BR /&gt;NXP: LPC4337&lt;BR /&gt;DAP stride is 4096 bytes (1024 words)&lt;BR /&gt;Inspected v.2 External Flash Device on SPI LPC18_43_SPIFI_GENERIC.cfx&lt;BR /&gt;Image 'LPC18/43 Generic SPIFI Sep 25 2020 10:51:00'&lt;BR /&gt;Opening flash driver LPC18_43_SPIFI_GENERIC.cfx&lt;BR /&gt;Sending VECTRESET to run flash driver&lt;BR /&gt;Driver V.2 dynamic startup failed - driver Init provided no flash parameters&lt;BR /&gt;Flash Driver V.2 startup failed - rc Ef(55): Dynamic flash driver startup failed to provide flash parameters.&lt;BR /&gt;Terminate (0x0, 0x0, 0x0) status 0x40 - driver reports init failure - EXTSPI driver rc 13 - No supported SPIFI device found&lt;BR /&gt;chip initialization failed - Ef(55): Dynamic flash driver startup failed to provide flash parameters.&lt;BR /&gt;failed to initialize flash driver LPC18_43_SPIFI_GENERIC.cfx&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Not able to get the reason for the same. since the SPIFI flash used&amp;nbsp; in the Evaluation board is&amp;nbsp;MX25L8035EM2I-10G.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also I have one query.&lt;/P&gt;&lt;P&gt;while using internal flash the RAM allocated 32 KB for 1 core and 40 KB for other core and 16 KB for the third code as per the memory configuration, if we use the external flash then, What will be the to total size of the RAM used for execution?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also it will be helpful if there is any reference code or a project since I tried to download the code from the below link but unable to download.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fwww.lpcware.com%2Fcontent%2Ffaq%2Flpcxpresso%2Fconfiguring-projects-multiple-flash" target="_blank" rel="noopener"&gt;https://www.lpcware.com/content/faq/lpcxpresso/configuring-projects-multiple-flash&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Request you to please share the code available in the above link.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;&lt;P&gt;Gaurav More&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jul 2021 07:26:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/SPIFI-Flash-Booting-information-for-LPC4367/m-p/1314428#M45984</guid>
      <dc:creator>gauravmore</dc:creator>
      <dc:date>2021-07-29T07:26:33Z</dc:date>
    </item>
    <item>
      <title>Re: SPIFI Flash Booting information for LPC4367</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/SPIFI-Flash-Booting-information-for-LPC4367/m-p/1315441#M46012</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/142059"&gt;@gauravmore&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As you created a case for this application also ,&amp;nbsp; I am already providing&amp;nbsp; you follow up there.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Many thanks&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Diego.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jul 2021 18:18:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/SPIFI-Flash-Booting-information-for-LPC4367/m-p/1315441#M46012</guid>
      <dc:creator>diego_charles</dc:creator>
      <dc:date>2021-07-29T18:18:15Z</dc:date>
    </item>
    <item>
      <title>Re: SPIFI Flash Booting information for LPC4367</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/SPIFI-Flash-Booting-information-for-LPC4367/m-p/1315671#M46018</link>
      <description>&lt;P&gt;Hi Diego,&lt;/P&gt;&lt;P&gt;Thanks for the reply,&lt;/P&gt;&lt;P&gt;Yes I have received the files and download the same. Will check the same and revert.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Gaurav More&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jul 2021 06:32:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/SPIFI-Flash-Booting-information-for-LPC4367/m-p/1315671#M46018</guid>
      <dc:creator>gauravmore</dc:creator>
      <dc:date>2021-07-30T06:32:24Z</dc:date>
    </item>
    <item>
      <title>Re: SPIFI Flash Booting information for LPC4367</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/SPIFI-Flash-Booting-information-for-LPC4367/m-p/1316406#M46036</link>
      <description>&lt;P&gt;Hi Diego,&lt;/P&gt;&lt;P&gt;I have checked with the code modified as per the inputs received and referring the datasheet as well. After creating the project tried the debug but after programming the code in debug mode then it gives below mentioned errors. Also you can see it got stuck inside&amp;nbsp;Chip_SetupCoreClock() function.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="gauravmore_0-1627879847527.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/151491iE55B4A2AA8173148/image-size/medium?v=v2&amp;amp;px=400" role="button" title="gauravmore_0-1627879847527.png" alt="gauravmore_0-1627879847527.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;what could be the reason? since I made the changes in the hardware as well as per the below configuration&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="gauravmore_1-1627879967713.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/151492i14516D1B1BB35063/image-size/medium?v=v2&amp;amp;px=400" role="button" title="gauravmore_1-1627879967713.png" alt="gauravmore_1-1627879967713.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I am using OEM13088 evaluation board for further development. so please let me know with respect to the debug access in card of external flash. refer the source code attached in this thread&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;&lt;P&gt;Gaurav More&lt;/P&gt;</description>
      <pubDate>Mon, 02 Aug 2021 08:09:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/SPIFI-Flash-Booting-information-for-LPC4367/m-p/1316406#M46036</guid>
      <dc:creator>gauravmore</dc:creator>
      <dc:date>2021-08-02T08:09:06Z</dc:date>
    </item>
    <item>
      <title>Re: SPIFI Flash Booting information for LPC4367</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/SPIFI-Flash-Booting-information-for-LPC4367/m-p/1319337#M46079</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/142059"&gt;@gauravmore&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Many thanks for your update!&lt;/P&gt;
&lt;P&gt;Ok, After being able to flash the application . Then debugging&amp;nbsp; &amp;nbsp;and receiving those errors, as you are not able to execute main(), you have changed to Reset ISR , so this is the trace:&amp;nbsp;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;EM&gt;Test_SPIFI_Pr&lt;/EM&gt;j,-&amp;gt;ResetISR()-&amp;gt; system_init() -&amp;gt; Board_SystemInit-&amp;gt;Board_SetupClocking&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -&amp;gt;Chip_SetupCoreClock-&amp;gt;&lt;EM&gt;&lt;STRONG&gt;Chip_Clock_CalcMainPLLValue&lt;/STRONG&gt;() ,&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;So,&amp;nbsp; in some place of the last function you get stuck at when writing or reading at any part of the CGU clocks related to the PLL&amp;nbsp; , correct?&lt;/P&gt;
&lt;P&gt;This seems very familiar to what&amp;nbsp; other customers have faced at this thread:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/MCUXpresso-IDE/LPC4330-LPC-Link2-new-IDE-Bug-or-potential-Errata-issue/m-p/1280733" target="_blank"&gt;https://community.nxp.com/t5/MCUXpresso-IDE/LPC4330-LPC-Link2-new-IDE-Bug-or-potential-Errata-issue/m-p/1280733&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Other thing that may help is to check if all of this functions running&amp;nbsp; from above the memory address for SPIFI&amp;nbsp; of&amp;nbsp;0x1400_0000 ?&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;For example I use to check this&amp;nbsp; using disassembly view and the processor PC.&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="diego_charles_2-1628210889167.png" style="width: 666px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/152053i65256C772552D85A/image-dimensions/666x233?v=v2" width="666" height="233" role="button" title="diego_charles_2-1628210889167.png" alt="diego_charles_2-1628210889167.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;Please accept my apologies for the delay.&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;Diego&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Aug 2021 01:27:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/SPIFI-Flash-Booting-information-for-LPC4367/m-p/1319337#M46079</guid>
      <dc:creator>diego_charles</dc:creator>
      <dc:date>2021-08-06T01:27:21Z</dc:date>
    </item>
    <item>
      <title>Re: SPIFI Flash Booting information for LPC4367</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/SPIFI-Flash-Booting-information-for-LPC4367/m-p/1319445#M46083</link>
      <description>&lt;P&gt;Hi Diego,&lt;/P&gt;&lt;P&gt;Thanks for the response,&amp;nbsp;&lt;/P&gt;&lt;P&gt;As per your input I also checked the same at my end.&amp;nbsp; I have taken a screen shot of the same. Refer the below screen shot.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="gauravmore_0-1628223269940.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/152079i7A847B28ACB206F6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="gauravmore_0-1628223269940.png" alt="gauravmore_0-1628223269940.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;It is similar to what you have posted. But when I run the code, one more observation is there , this may help you since I am not able to make out. Refer the screen shot below,&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="gauravmore_1-1628223390800.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/152080i3A47011278ED976F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="gauravmore_1-1628223390800.png" alt="gauravmore_1-1628223390800.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Here you can see it show fail to execute for MI command, It seem that some how debugger is not able to read or access the QSPI flash.&lt;/P&gt;&lt;P&gt;Please check the same since we need to initiate the development based on it. Also one more query regarding the code,&lt;/P&gt;&lt;P&gt;As e know LPC43S67 is a flash less controller, it uses QSPI flash OEM13084. so Do we have some code or example code for this evaluation code so that I can get some hint.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Mean while I will refer the link you mentioned&amp;nbsp; in the post&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/t5/MCUXpresso-IDE/LPC4330-LPC-Link2-new-IDE-Bug-or-potential-Errata-issue/m-p/1280733" target="_blank" rel="noopener"&gt;https://community.nxp.com/t5/MCUXpresso-IDE/LPC4330-LPC-Link2-new-IDE-Bug-or-potential-Errata-issue/...&lt;/A&gt;&lt;/P&gt;&lt;P&gt;but there I didn't find any solution as such instead there are similar issues. I think NXP should give the example code for external flash based controllers.&lt;/P&gt;&lt;P&gt;Please check the same and let me know any more information regarding the same is required. also request you to check or test with the project which I have shared in the previous post in reply.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have a nice day..&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Gaurav More&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Aug 2021 04:23:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/SPIFI-Flash-Booting-information-for-LPC4367/m-p/1319445#M46083</guid>
      <dc:creator>gauravmore</dc:creator>
      <dc:date>2021-08-06T04:23:44Z</dc:date>
    </item>
    <item>
      <title>Re: SPIFI Flash Booting information for LPC4367</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/SPIFI-Flash-Booting-information-for-LPC4367/m-p/1319529#M46085</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/142059"&gt;@gauravmore&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Many thanks for your reply as well.&lt;/P&gt;
&lt;P&gt;Just to verify , the project that you are currently debugging has the same&amp;nbsp; settings than the one you previously attached in the post?&lt;/P&gt;
&lt;P&gt;If not, could you share your current version ?&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Diego&lt;/P&gt;</description>
      <pubDate>Fri, 06 Aug 2021 07:10:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/SPIFI-Flash-Booting-information-for-LPC4367/m-p/1319529#M46085</guid>
      <dc:creator>diego_charles</dc:creator>
      <dc:date>2021-08-06T07:10:01Z</dc:date>
    </item>
    <item>
      <title>Re: SPIFI Flash Booting information for LPC4367</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/SPIFI-Flash-Booting-information-for-LPC4367/m-p/1319628#M46087</link>
      <description>&lt;P&gt;Hi Deigo,&lt;/P&gt;&lt;P&gt;Thanks for the reply ,&lt;/P&gt;&lt;P&gt;Yes the code that I shared is same I have mode no changes in it. But still i will share the latest one as well for your reference,&lt;/P&gt;&lt;P&gt;I am using MCUXpresso V11.2 in which this project is created on&amp;nbsp; OEM13088 evaluation board. By default there is another chip of Macronix (MX25L8035EM2I-10G) but I have replaced it with Winbond Chip (W25Q128JVFIM)&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Gaurav More&lt;/P&gt;</description>
      <pubDate>Fri, 06 Aug 2021 09:02:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/SPIFI-Flash-Booting-information-for-LPC4367/m-p/1319628#M46087</guid>
      <dc:creator>gauravmore</dc:creator>
      <dc:date>2021-08-06T09:02:39Z</dc:date>
    </item>
    <item>
      <title>Re: SPIFI Flash Booting information for LPC4367</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/SPIFI-Flash-Booting-information-for-LPC4367/m-p/1320048#M46094</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/142059"&gt;@gauravmore&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Some updates, With my LPC4370 (flashless part) I was able to replicate your error.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="diego_charles_0-1628480155895.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/152232iD4641402D71EF074/image-size/medium?v=v2&amp;amp;px=400" role="button" title="diego_charles_0-1628480155895.png" alt="diego_charles_0-1628480155895.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I just changed project settings, and selected SPIFI .cfx drivers for run.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="diego_charles_0-1628481429846.png" style="width: 441px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/152235i0658DD15746D599B/image-dimensions/441x596?v=v2" width="441" height="596" role="button" title="diego_charles_0-1628481429846.png" alt="diego_charles_0-1628481429846.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So I will come back to you as soon I gather more info.&lt;/P&gt;
&lt;P&gt;All the best&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Diego.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Aug 2021 03:57:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/SPIFI-Flash-Booting-information-for-LPC4367/m-p/1320048#M46094</guid>
      <dc:creator>diego_charles</dc:creator>
      <dc:date>2021-08-09T03:57:27Z</dc:date>
    </item>
    <item>
      <title>Re: SPIFI Flash Booting information for LPC4367</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/SPIFI-Flash-Booting-information-for-LPC4367/m-p/1320054#M46095</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/142059"&gt;@gauravmore&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I was able to jump to main application , by commenting out&amp;nbsp;( in a quick and dirty fashion)&amp;nbsp; the Chip_Clock_DisableMainPLL() , which&amp;nbsp; leads to the errors we have experimented , inside&amp;nbsp; Chip_SetupCoreClock function.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="diego_charles_0-1628480994083.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/152233i1D881570C2E387BF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="diego_charles_0-1628480994083.png" alt="diego_charles_0-1628480994083.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;it seems that the board init routines&amp;nbsp; , do something that does not fit when we boot from a external flash. Yet , we will have to debug further this.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="diego_charles_1-1628481095120.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/152234i73570183E379C4C3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="diego_charles_1-1628481095120.png" alt="diego_charles_1-1628481095120.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Therefore it seems that your project settings are ok,&amp;nbsp; but we do not have the same LPC chips and the same boards ( I am actually using an LPC-Link 2 as a target ), Could you try from your side?&lt;/P&gt;
&lt;P&gt;All the best&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Diego.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Aug 2021 04:05:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/SPIFI-Flash-Booting-information-for-LPC4367/m-p/1320054#M46095</guid>
      <dc:creator>diego_charles</dc:creator>
      <dc:date>2021-08-09T04:05:14Z</dc:date>
    </item>
    <item>
      <title>Re: SPIFI Flash Booting information for LPC4367</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/SPIFI-Flash-Booting-information-for-LPC4367/m-p/1320070#M46096</link>
      <description>&lt;P&gt;Hi Diego,&lt;/P&gt;&lt;P&gt;Thanks for the reply,&lt;/P&gt;&lt;P&gt;I modified the code as per your input and it is working. But only with debugger. After removing the debugger, I tried to boot then it is not booting. It should boot with external flash.&lt;/P&gt;&lt;P&gt;With debugger it is booting and code is running as per the expectation. I think some where we are missing some setting.&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I have one query, NXP should be having the sample code for LPC43S67 (OEM13084)&amp;nbsp; for flash less code. since the evaluation board consists of flash less controller. There should be the codes which are tested ok in case of the this controller.&lt;/P&gt;&lt;P&gt;Mean while I will check the boot configuration from my side, but still if that configuration is wrong then also it should not run using the debugger right?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;One more query:&amp;nbsp; I was referring the code given in the below link,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fwww.lpcware.com%2Fcontent%2Ffaq%2Flpcxpresso%2Fconfiguring-projects-multiple-flash" target="_blank" rel="noopener"&gt;https://www.lpcware.com/content/faq/lpcxpresso/configuring-projects-multiple-flash&lt;/A&gt;&lt;/P&gt;&lt;P&gt;You have share the code for LPC4088. But in that code along with the M4 core SPIFI memory is also used,&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="gauravmore_0-1628489373804.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/152241iED9CFB49EEE52E9D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="gauravmore_0-1628489373804.png" alt="gauravmore_0-1628489373804.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;So s per the input&amp;nbsp; we can use it as a external memory but in this project I am not able to find the Allocation of the constant variable. But in the console it show that memory allocated,&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="gauravmore_1-1628489528826.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/152243i9F14F05434E5DEA5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="gauravmore_1-1628489528826.png" alt="gauravmore_1-1628489528826.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;need your help regarding the same. Since we also tryin this option in our application. Not able to find as in how this memory or the variable is allocated in the QSPIFI memory.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please consider this as well.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Gaurav More.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Aug 2021 06:14:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/SPIFI-Flash-Booting-information-for-LPC4367/m-p/1320070#M46096</guid>
      <dc:creator>gauravmore</dc:creator>
      <dc:date>2021-08-09T06:14:36Z</dc:date>
    </item>
    <item>
      <title>Re: SPIFI Flash Booting information for LPC4367</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/SPIFI-Flash-Booting-information-for-LPC4367/m-p/1321343#M46129</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/142059"&gt;@gauravmore&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for your input.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Upon my experience , even thought the MCU&amp;nbsp; does not have the boot option for SPIFI&amp;nbsp;selected, the debugger may still be able initiate a debug session. In your case, one simple hypothesis&amp;nbsp;could be that the boot options pins do not have a fixed state for SPIFI ; and the MCU is booting in other option. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;From my side I was able&amp;nbsp; to run the project that you shared me after a POR and without&amp;nbsp; a debugger. I just made&amp;nbsp; minor modifications to make the LED Blinky on my LPC4370 board. Just for any reference ,please find my project attached.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I am currently checking with&amp;nbsp; my team for more feedback regarding the comment to the&amp;nbsp;&lt;EM&gt;Chip_Clock_DisableMainPLL() &lt;/EM&gt;that we had to comment&amp;nbsp;out to be able to jump to main() ;&amp;nbsp; and also I am checking if we could provide an&amp;nbsp; example for the LPC4367 that&amp;nbsp; uses the an external flash memory to boot.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Regarding your second inquiry.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If we also want to statically&amp;nbsp; allocate variables in the external flash memory, like the&amp;nbsp;like&amp;nbsp;&amp;nbsp;&lt;EM&gt;const_data_table &lt;/EM&gt;array&amp;nbsp;from the example for the &lt;A href="https://community.nxp.com/t5/LPCXpresso-IDE-FAQs-Knowledge/LPC40xx-SPIFI-Flash-Driver/ta-p/1102118" target="_self"&gt;LPC4088&lt;/A&gt;:&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="diego_charles_1-1628614557040.png" style="width: 587px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/152488iE69EE6B5463E9B27/image-dimensions/587x182?v=v2" width="587" height="182" role="button" title="diego_charles_1-1628614557040.png" alt="diego_charles_1-1628614557040.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I have some comments:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;1 When we have multi-flash project, like the one for the&amp;nbsp;&lt;SPAN&gt;&lt;A href="https://community.nxp.com/t5/LPCXpresso-IDE-FAQs-Knowledge/LPC40xx-SPIFI-Flash-Driver/ta-p/1102118" target="_self"&gt;LPC4088&amp;nbsp;&lt;/A&gt;,&amp;nbsp;&lt;/SPAN&gt;&amp;nbsp;we can follow this tutorial&amp;nbsp;&amp;nbsp;&lt;A href="https://community.nxp.com/t5/LPCXpresso-IDE-FAQs/Configuring-projects-to-span-multiple-flash-devices/m-p/468750" target="_self"&gt;Configuring projects to span multiple flash devices&lt;/A&gt;&amp;nbsp;: you may use&amp;nbsp;&lt;A href="https://community.nxp.com/t5/LPCXpresso-IDE-FAQs/Placing-code-rodata-into-different-FLASH-blocks/m-p/473484" target="_self"&gt; simplest way using the&amp;nbsp;&lt;/A&gt;&lt;SPAN&gt;&lt;A href="https://community.nxp.com/t5/LPCXpresso-IDE-FAQs/Placing-code-rodata-into-different-FLASH-blocks/m-p/473484" target="_self"&gt;cr_section_macros.h&amp;nbsp;&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt; directives or create your own linker script configuration.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;2 From the image above , it can be seen that the&amp;nbsp;&lt;SPAN&gt;&lt;EM&gt;const_data_table &lt;/EM&gt;is allocated at the base address of the external flash .&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp; In contrast to&amp;nbsp; applications that boot from a external flash , where&amp;nbsp; the base address is used&amp;nbsp; for the vector table.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Here is a snapshot of me allocating two constant arrays in my project , that boots from the external flash.&amp;nbsp; You can see how I am&amp;nbsp; allocating the 2 arrays :&amp;nbsp; the first one using&amp;nbsp; the&amp;nbsp;&amp;nbsp;&lt;EM&gt;cr_section_macros.h RODATA directive ;&amp;nbsp; &lt;/EM&gt;and the second just declaring a constant array, since I only have one flash area the linker automatically allocates that array in the external flash.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="diego_charles_3-1628630416250.png" style="width: 656px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/152504i2595CDC886618769/image-dimensions/656x384?v=v2" width="656" height="384" role="button" title="diego_charles_3-1628630416250.png" alt="diego_charles_3-1628630416250.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The&lt;EM&gt; Image info&lt;/EM&gt; window ,is also&amp;nbsp; useful to know where our variables and functions are allocated.&lt;/P&gt;
&lt;P&gt;I hope this could help you.&lt;/P&gt;
&lt;P&gt;Diego.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Aug 2021 21:35:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/SPIFI-Flash-Booting-information-for-LPC4367/m-p/1321343#M46129</guid>
      <dc:creator>diego_charles</dc:creator>
      <dc:date>2021-08-10T21:35:53Z</dc:date>
    </item>
    <item>
      <title>Re: SPIFI Flash Booting information for LPC4367</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/SPIFI-Flash-Booting-information-for-LPC4367/m-p/1321518#M46133</link>
      <description>&lt;P&gt;Hi Diego,&lt;/P&gt;&lt;P&gt;Thanks for the response and&amp;nbsp;for the detailed information provided by you which will help us to proceed further.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;In your case, one simple hypothesis could be that the boot options pins do not have a fixed state for SPIFI ; and the MCU is booting in other option. &lt;/LI-CODE&gt;&lt;P&gt;I think It could be the reason, I will check regarding the same. But still since you are using OEM13088 board can you share the Pin configuration done on the board? I Also did the same but still there might be some glitch,&lt;/P&gt;&lt;P&gt;Also regarding the allocation of the variable to the flash, in the given example of LPC4088 constant data is allocated in the Flash memory using __RODATA() attribute, in a similar manner can we assign the normal variable in the same area using the above attribute?&lt;/P&gt;&lt;P&gt;Main agenda behind this is Want to use generic flash driver and using that i want to use this SPIFI flash to store some critical variable with data in it instead of separately calling the read write function, similar to the SDRAM interface where we just need to initialize the EMI lines and then rest is taken care by the controller engine . Whenever we access the variable then it automatically use the EMI engine to access the address where the variable is stored.&lt;/P&gt;&lt;P&gt;Also Still as per the image below, it seems that you are viewing the axf file data, What I want is the place where this constant variable is assigned to the SPIFI address. Similar to the one you shared, __RODATA() attribute.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="gauravmore_0-1628653956266.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/152544i4C02A03A4032BEB6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="gauravmore_0-1628653956266.png" alt="gauravmore_0-1628653956266.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Also one more part,&lt;/P&gt;&lt;P&gt;If we use SPIFI boot mode the will we be losing the Tri core feature of the controller ?&lt;/P&gt;&lt;P&gt;What will be the total RAM memory available if we use the External flash boot and Internal RAM for code execution?&lt;/P&gt;&lt;P&gt;What is the method of allocating the normal variables in external flash, which will be updated&amp;nbsp; periodically while running the application code?&lt;/P&gt;&lt;P&gt;Please provide the data required since I am not able to find the details regarding the same.&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;&lt;P&gt;Gaurav More&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Aug 2021 04:01:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/SPIFI-Flash-Booting-information-for-LPC4367/m-p/1321518#M46133</guid>
      <dc:creator>gauravmore</dc:creator>
      <dc:date>2021-08-11T04:01:51Z</dc:date>
    </item>
    <item>
      <title>Re: SPIFI Flash Booting information for LPC4367</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/SPIFI-Flash-Booting-information-for-LPC4367/m-p/1324370#M46177</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/142059"&gt;@gauravmore&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for your reply&lt;/P&gt;
&lt;P&gt;About :&lt;EM&gt;&amp;nbsp;I think It could be the reason ( problems in Boot select pins ), I will check regarding the same. But still since you are using OEM13088 board can you share the Pin configuration done on the board? I Also did the same but still there might be some glitch&lt;/EM&gt;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;SPAN&gt;&amp;nbsp;I am sorry for the late follow up, where you able to check whether&amp;nbsp;you have any glitch problem?&amp;nbsp; If you are still having issues could you share with me (in your internal ticket) your schematic settings? Also,&amp;nbsp; do you have any setting in the&amp;nbsp; flash OTP area?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;SPAN&gt;&amp;nbsp;Unfortunately,&amp;nbsp; I do not have an&amp;nbsp; OEM13088 to test with me at home ,&amp;nbsp; due to Covid lockdown. I was actually programming the flash-less&amp;nbsp;LPC4370 , from the LPC-Link 2 board&amp;nbsp;&lt;/SPAN&gt;OM13054. However , my boot configuration was the following&amp;nbsp;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-60px"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="diego_charles_0-1629179363424.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/153091iDA8541FE786BA712/image-size/medium?v=v2&amp;amp;px=400" role="button" title="diego_charles_0-1629179363424.png" alt="diego_charles_0-1629179363424.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;About&amp;nbsp; :&amp;nbsp;&lt;EM&gt;Also,&amp;nbsp; regarding the allocation of the variable to the flash, in the given example of LPC4088 constant data is allocated in the Flash memory using __RODATA() attribute, in a similar manner can we assign the normal variable in the same area using the above attribute?&lt;/EM&gt;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;SPAN&gt;No, because RODATA is intended for constant variables . Check the below response.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;About,&amp;nbsp; &lt;EM&gt;What is the method of allocating the normal variables in external flash, which will be updated&amp;nbsp; periodically while running the application code?&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;SPAN&gt;If from application execution you&amp;nbsp; would like to modify an specific sector of flash to store critical data, you will need to include&amp;nbsp; the&amp;nbsp; &lt;A href="https://www.nxp.com/products/processors-and-microcontrollers/arm-microcontrollers/general-purpose-mcus/lpc4300-cortex-m4-m0/lpc-spifi-peripheral:SPIFI-NXP-MICROCONTROLLERS?tab=Design_Tools_Tab" target="_self"&gt;SPIFI library for LPCXpresso&lt;/A&gt;.&amp;nbsp; You can make use of the SPIFI library APIs to update sectors of the flash. Here is a &lt;A href="https://community.nxp.com/t5/LPC-Microcontrollers-Knowledge/Using-the-SPIFI-library-with-the-LPC4370/ta-p/1102995" target="_self"&gt;tutorial&lt;/A&gt; on how to import the LPCSpifi library into the MCUXpresso ,that could help as a reference.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I will come back as soon as I can to reply all our&amp;nbsp; pending&amp;nbsp; inquires. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Many thanks for your patience.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Diego.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Aug 2021 05:51:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/SPIFI-Flash-Booting-information-for-LPC4367/m-p/1324370#M46177</guid>
      <dc:creator>diego_charles</dc:creator>
      <dc:date>2021-08-17T05:51:10Z</dc:date>
    </item>
    <item>
      <title>Re: SPIFI Flash Booting information for LPC4367</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/SPIFI-Flash-Booting-information-for-LPC4367/m-p/1324581#M46181</link>
      <description>&lt;P&gt;Hi Diego,&lt;/P&gt;&lt;P&gt;Thanks for the reply,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes till I am facing issue with respect to the booting of SPIFI. Also find the connection done at my side on OEM13088 eval board,&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="gauravmore_0-1629189391940.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/153164iAC4135EB3E12DC2D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="gauravmore_0-1629189391940.png" alt="gauravmore_0-1629189391940.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="gauravmore_1-1629189475279.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/153165i2441A2173868BBEA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="gauravmore_1-1629189475279.png" alt="gauravmore_1-1629189475279.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;refer the attached schematic of the evaluation board as well.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;About,&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;What is the method of allocating the normal variables in external flash, which will be updated&amp;nbsp; periodically while running the application code?&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;My expectation is , if assigned a variable in the external memory location and i simply called the variable and copied the data on to the variable, then will it simply copy? similar to the SDRAM behavior where once we initialize the EMI lines then automatically it works and functions?&lt;/P&gt;&lt;P&gt;Also I am expecting the method or and application note of assigning the Variable into the external flash.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards&amp;nbsp;&lt;/P&gt;&lt;P&gt;Gaurav More&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Aug 2021 08:42:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/SPIFI-Flash-Booting-information-for-LPC4367/m-p/1324581#M46181</guid>
      <dc:creator>gauravmore</dc:creator>
      <dc:date>2021-08-17T08:42:59Z</dc:date>
    </item>
    <item>
      <title>Re: SPIFI Flash Booting information for LPC4367</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/SPIFI-Flash-Booting-information-for-LPC4367/m-p/1325481#M46193</link>
      <description>&lt;P&gt;Hi Gaurav ,&lt;/P&gt;&lt;P&gt;I had a similar (maybe the same?) problem at startup the with an LPC4330 (it's flashless) and following some info like here &lt;A href="https://community.nxp.com/t5/LPC-Microcontrollers/LPC4357-hard-fault-after-reset-from-application/m-p/946574/highlight/true#M37653" target="_blank"&gt;https://community.nxp.com/t5/LPC-Microcontrollers/LPC4357-hard-fault-after-reset-from-application/m-p/946574/highlight/true#M37653&lt;/A&gt; and here &lt;A href="https://community.nxp.com/t5/LPC-Microcontrollers/LPC43xx-Chip-Clock-EnableCrystal-Hard-fault-advisory/m-p/984018" target="_blank"&gt;https://community.nxp.com/t5/LPC-Microcontrollers/LPC43xx-Chip-Clock-EnableCrystal-Hard-fault-advisory/m-p/984018&lt;/A&gt; I finally rewrote the Chip_SetupCoreClock following the datasheet at chapter about CGU "&lt;SPAN class="fontstyle0"&gt;13.2.1 Configuring the BASE_M4_CLK for high operating frequencies&lt;/SPAN&gt;" with some additional delay after some operation.&lt;/P&gt;&lt;P&gt;This worked for me:&lt;/P&gt;&lt;LI-CODE lang="c"&gt;void Chip_SetupCoreClock_new(CHIP_CGU_CLKIN_T clkin, uint32_t core_freq, bool setbase)
{
	/* 1 set IRC as base_M4_CLK source */
	PLL_PARAM_T ppll;
	uint32_t direct = 1;
	uint32_t i;
	//volatile uint32_t old_clk_src=0;

	//old_clk_src=(((LPC_CGU-&amp;gt;PLL1_CTRL &amp;amp; 0x1F000000)) &amp;gt;&amp;gt; 24);	/* CLK_SEL [28:24] */

	if (clkin == CLKIN_CRYSTAL)
	{
		/* 2 Enable crystal */
		/* 3 wait 250 us    */
		Chip_Clock_EnableCrystal();
	}

	/* 4 should set autoblock bit */
	LPC_CGU-&amp;gt;PLL1_CTRL |= (1&amp;lt;&amp;lt;11);

	/* reconfigure PL1 */
	/* M and N */
	ppll.srcin 		= CLKIN_IRC;
	ppll.autoblock 	= 1;			/* */

	Chip_Clock_CalcMainPLLValue(core_freq, &amp;amp;ppll);	/* calc of param for pll for desired freq - results in ppll !!!! */

	if (core_freq &amp;gt; 110000000UL)
	{
		if (!(ppll.ctrl &amp;amp; (1 &amp;lt;&amp;lt; 7)) || ppll.psel)	/* NOT direct or PSEL != 0 --&amp;gt; PSEL is the divider, if &amp;gt; 0 means we are dividing */
		{
			direct = 0;
			PLL_PARAM_T lpll;
			/* Calculate the PLL Parameters */
			lpll.srcin = clkin;
			Chip_Clock_CalcMainPLLValue(110000000UL, &amp;amp;lpll);
			Chip_Clock_SetupMainPLL(&amp;amp;lpll);
		}
		else
		{
			direct = 1;	/* remember direct was set ! */
			ppll.ctrl &amp;amp;= ~(1 &amp;lt;&amp;lt; 7);	/* clears for a moment */
			Chip_Clock_SetupMainPLL(&amp;amp;ppll);
			while(!Chip_Clock_MainPLLLocked()) {}
		}
	}
	else
	{
		Chip_Clock_SetupMainPLL(&amp;amp;ppll);
	}

	/* 5b select crystal as source for PLL1 */
	//if (clkin == CLKIN_CRYSTAL)
	{
		ppll.srcin = clkin;
		Chip_Clock_SetupMainPLL(&amp;amp;ppll);						/* set it */
	}

	/* 6 Wait for the PLL1 to lock */
	if (clkin == CLKIN_CRYSTAL)
	{
		while(!Chip_Clock_MainPLLLocked()) {}
	}

	/* 7 Select PLL1 p divider to 2 DIRECT = 0 PSEL = 0 */
	if (direct == 1)
	{
		ppll.ctrl &amp;amp;= ~(1&amp;lt;&amp;lt;7);	/* clears DIRECT */
		ppll.psel = 0;			/* psel to 0 */

	}
	Chip_Clock_SetupMainPLL(&amp;amp;ppll);	// yeah set again
	Chip_sysinit_delay(1000);				/* mine */
	while(!Chip_Clock_MainPLLLocked()) {}	/* mine */

	/* 8 Select PLL1 as BASE_M4_CLK source */
	Chip_Clock_SetBaseClock(CLK_BASE_MX, CLKIN_MAINPLL, true, false);	/* passing 3rd as true = AUTOBLOCK = true */

	/* 9 wait 50 us */
	Chip_sysinit_delay(0x4000);	/* 4800*/

	/* 10 Select PLL1 to direct output */
	if (direct == 1)
	{
		ppll.ctrl |= (1 &amp;lt;&amp;lt; 7);	 /* set DIRECT */
		ppll.psel = 0;
		Chip_Clock_SetupMainPLL(&amp;amp;ppll); /* Set DIRECT to operate at full frequency */
	}

	Chip_sysinit_delay(1000);				/* mine */
	while(!Chip_Clock_MainPLLLocked()) {}	/* mine */

	if (setbase)
	{
		/* Setup system base clocks and initial states. This won't enable and
		   disable individual clocks, but sets up the base clock sources for
		   each individual peripheral clock. */
		for (i = 0; i &amp;lt; (sizeof(InitClkStates) / sizeof(InitClkStates[0])); i++)
		{
			Chip_Clock_SetBaseClock(InitClkStates[i].clk, InitClkStates[i].clkin,
									InitClkStates[i].autoblock_enab, InitClkStates[i].powerdn);
			Chip_sysinit_delay(1000);	/* mine */
		}
	}
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and for &lt;STRONG&gt;Chip_Clock_EnableCrystal&lt;/STRONG&gt;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;/* Enables the crystal oscillator */
void Chip_Clock_EnableCrystal(void)
{
	volatile uint32_t delay;

	uint32_t OldCrystalConfig = LPC_CGU-&amp;gt;XTAL_OSC_CTRL;

	/* Clear bypass mode */
	OldCrystalConfig &amp;amp;= (~2);
	if (OldCrystalConfig != LPC_CGU-&amp;gt;XTAL_OSC_CTRL) {
		LPC_CGU-&amp;gt;XTAL_OSC_CTRL = OldCrystalConfig;
	}

	/* Enable crystal oscillator */
	OldCrystalConfig &amp;amp;= (~1);
	if (OscRateIn &amp;gt;= 20000000)
	{
		OldCrystalConfig |= 4;	/* Set high frequency mode */

	}
	LPC_CGU-&amp;gt;XTAL_OSC_CTRL = OldCrystalConfig;

	/* Delay for 250uSec */
	/*
	delay = 1000;
	while(delay--) {}
	*/
	for (delay = 0; delay &amp;lt; 100000 ; delay ++)
	{
		__NOP();
		__NOP();
	}
}&lt;/LI-CODE&gt;&lt;P&gt;Let me know if it works for you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;fv&lt;/P&gt;</description>
      <pubDate>Wed, 18 Aug 2021 13:29:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/SPIFI-Flash-Booting-information-for-LPC4367/m-p/1325481#M46193</guid>
      <dc:creator>cescvaro</dc:creator>
      <dc:date>2021-08-18T13:29:55Z</dc:date>
    </item>
    <item>
      <title>Re: SPIFI Flash Booting information for LPC4367</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/SPIFI-Flash-Booting-information-for-LPC4367/m-p/1326011#M46199</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/142059"&gt;@gauravmore&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope you are doing well , many thanks for your reply!&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000FF"&gt;Regarding&amp;nbsp;&lt;/FONT&gt; the MCU not being able to boot without a debug probe:&amp;nbsp; I have not seem problems with your boot pin configuration. I think we may also take a closer look at the reset pin , to check whether it is affecting the boot process or not. Normally Debug probes handle the reset pin , and provide the required voltage and logic levels.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Another thing to review . From your source code I have seen that for the LED blink you called&amp;nbsp; the function board LED set (to set pin state ), then you the toggle function:&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="c"&gt;   Board_LED_Set(0, true);
#endif
#endif
    // TODO: insert code here
    // Force the counter to be placed into memory
    volatile static int i = 0 ;
    // Enter an infinite loop, just incrementing a counter
    while(1) {

        __asm volatile ("nop");

        Board_LED_Toggle(1);&lt;/LI-CODE&gt;
&lt;P&gt;But I have not seen&amp;nbsp; a call to the function&amp;nbsp; Chip_GPIO_SetPinDIROutput() (to set the pin as an output). .&amp;nbsp; When you are running with a debug session , are you able to see&amp;nbsp; the LED blinking properly , right?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000FF"&gt;Regarding&lt;/FONT&gt;&amp;nbsp; &amp;nbsp;&lt;EM&gt;My expectation is , if assigned a variable in the external memory location and i simply called the variable and copied the data on to the variable, then will it simply copy?&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;Unfortunately , with the flash is different. it does not have the access properties than the SDRAM. When we need to write/read&amp;nbsp; the flash from the application ; on many MCUs ,&amp;nbsp; &amp;nbsp;to avoid data collision , it is required to run flash access routines from SRAM.&amp;nbsp; For example the SPIFI Library provides APIs such as&amp;nbsp;&lt;/P&gt;
&lt;P&gt;spifi_program() or spifi_read(), below the definition of one of them,&lt;/P&gt;
&lt;LI-CODE lang="c"&gt;/**
 * @brief	Program the device with the passed buffer
 * @param	pHandle		: Pointer to a LPCSPIFILIB device handle
 * @param	addr		: LPCSPIFILIB device address to start write at
 * @param	writeBuff	: Address of buffer to write, must be 32-bit aligned
 * @param	bytes		: Number of bytes to write
 * @return	A SPIFI_ERR_xxx error code (SPIFI_ERR_NONE is no errors)
 * @note	This function has no size limit. This function only works in blocking mode.
 */
SPIFI_ERR_T spifiProgram(const SPIFI_HANDLE_T *pHandle, uint32_t addr, const uint32_t *writeBuff, uint32_t bytes);&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;You mentioned that you are intending to store critical data on the flash. Do you want to avoid loosing critical&amp;nbsp; data on a situation like a&amp;nbsp; power loss or something similar?&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Diego.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Aug 2021 06:25:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/SPIFI-Flash-Booting-information-for-LPC4367/m-p/1326011#M46199</guid>
      <dc:creator>diego_charles</dc:creator>
      <dc:date>2021-08-19T06:25:49Z</dc:date>
    </item>
    <item>
      <title>Re: SPIFI Flash Booting information for LPC4367</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/SPIFI-Flash-Booting-information-for-LPC4367/m-p/1327479#M46235</link>
      <description>&lt;P&gt;Hi Diego,&lt;/P&gt;&lt;P&gt;Thanks for the reply and sorry for late response since i was in the mid of other issue related to the development.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;But I have not seen  a call to the function  Chip_GPIO_SetPinDIROutput() (to set the pin as an output). .  When you are running with a debug session , are you able to see  the LED blinking properly , right?&lt;/LI-CODE&gt;&lt;P&gt;regarding the above query it is already there in the Board_Init() function named "Board_LED_Init()"&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;You mentioned that you are intending to store critical data on the flash. Do you want to avoid loosing critical  data on a situation like a  power loss or something similar?  &lt;/LI-CODE&gt;&lt;P&gt;Yes i want to store the critical dare during power loss, regarding the other query I will elaborate more,&lt;/P&gt;&lt;P&gt;See I am developing and product there i have used SDRAM interface with LPC4367. Now the method i have used to interface and access is, I did the EMI initialization and then used added the SDRAM&amp;nbsp; block in memory configuration section refer the screenshot below,&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="gauravmore_0-1629699946249.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/153661i79711E199743F34F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="gauravmore_0-1629699946249.png" alt="gauravmore_0-1629699946249.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Now I used below method to allocate and access the variables in and from SDRAM,&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;__DATA(RAM8) S_Disturbance_Log		g_st_DistubanceLog;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;g_st_DistubanceLog is a structure to store the critical information. And I am simply using the variable and when the variable is accessed then automatically it uses EMI lined to read and write the data to the variable allocated in that address.&lt;/P&gt;&lt;P&gt;In the similar manner&amp;nbsp; I want to use QSPI flash, where I have configured the flash drivers in the memory configuration section,&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="gauravmore_1-1629700297879.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/153662i44BE3BA091FD644B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="gauravmore_1-1629700297879.png" alt="gauravmore_1-1629700297879.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Now referring to the example code of LPC4088 I can see that there is a read only variable allocated and is it accessed in the code. But now is is possible to allocate the R/W variables so that I can assign the critical structure mentioned above in the flash memory directly since it will allocate the available space in the flash which reduces the efforts of specific assignment .&lt;/P&gt;&lt;P&gt;&amp;nbsp;Let me know if it is clear to you or need some more details.&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Gaurav More&lt;/P&gt;</description>
      <pubDate>Mon, 23 Aug 2021 06:38:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/SPIFI-Flash-Booting-information-for-LPC4367/m-p/1327479#M46235</guid>
      <dc:creator>gauravmore</dc:creator>
      <dc:date>2021-08-23T06:38:41Z</dc:date>
    </item>
    <item>
      <title>Re: SPIFI Flash Booting information for LPC4367</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/SPIFI-Flash-Booting-information-for-LPC4367/m-p/1328213#M46248</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/142059"&gt;@gauravmore&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Many thanks for your reply,&amp;nbsp;&amp;nbsp;&amp;nbsp;have some updates!&lt;/P&gt;
&lt;P&gt;1 Regarding SPIFI boot without a debugger.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;Today I tested ,with a colleague of mine,&amp;nbsp; the attached project on the LPC43s67&amp;nbsp;OM13084.&amp;nbsp; To boot with project and see the red LED blinking , we&amp;nbsp; pressed the ISP button during reset and set the JP3 and JP5 according to the following snapshot from the OM , user guide. Let me know if it works for you.&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="diego_charles_0-1629775550672.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/153782iEB7E6AEE1C3D6EDA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="diego_charles_0-1629775550672.png" alt="diego_charles_0-1629775550672.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;2 Regarding the Chip_Clock_DisableMainPLL() that we had to comment in the startup routines&amp;nbsp; to reach main()&amp;nbsp; &amp;nbsp;:&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;As I&amp;nbsp; have been discussing with the AE team , that function actually disabled&amp;nbsp; the PLL1;&amp;nbsp; &amp;nbsp;since the SPIFI peripheral clock was derived from the PLL1 path , disabling the PLL1 caused&amp;nbsp; the failure you reported.&amp;nbsp;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;Therefore , what we need is&amp;nbsp; to avoid the PLL1 from being disabled during startup Chip_SystemInit() routines. Unfortunately none of&amp;nbsp; &amp;nbsp;LPCopen drivers are not longer maintained, so we can adapt the startup routine to work properly and perform our desired clock settings. You may follow&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/96110"&gt;@cescvaro&lt;/a&gt;&amp;nbsp; advice to refer to the&amp;nbsp;13.2.1.1 Changing the BASE_M4_CLK after power-up, reset, or deep power-down mode section of the UM.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;3&amp;nbsp; &amp;nbsp; &amp;nbsp;Regarding the critical data structure.&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;My understanding (let me know if it is not accurate ) is&amp;nbsp; that you want to save&amp;nbsp; that critical data&amp;nbsp; &amp;nbsp; &amp;nbsp;structure&amp;nbsp; in the flash directly , and achieve R/W simplicity&amp;nbsp; and fast access of SRAM allocation. As I mentioned earlier the external flash writes from the application&amp;nbsp; require to be handled with the SPIFI library.&amp;nbsp;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;Therefore, to keep the simplicity of your application, although&amp;nbsp; this is related to application design,&amp;nbsp; I think in the following:&lt;/P&gt;
&lt;UL&gt;
&lt;LI class="lia-indent-padding-left-30px"&gt;&amp;nbsp;Allocate critical data&amp;nbsp; the SRAM, having an effortless and&amp;nbsp; very fast access.&amp;nbsp;&lt;/LI&gt;
&lt;LI class="lia-indent-padding-left-30px"&gt;Monitor the voltage level of your power source, and add something like a super-cap, in order to have extra energy when power is&amp;nbsp; falling&amp;nbsp; (&amp;nbsp; You can make use of the LPC43 BOD features) ;&amp;nbsp; and&amp;nbsp; when entering in the power loss scenario ,&amp;nbsp; put critical data into flash.&lt;/LI&gt;
&lt;LI class="lia-indent-padding-left-30px"&gt;Or every once in a while&amp;nbsp; copy the critical data structure from SRAM from flash , using SPIFI library&amp;nbsp; routines.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Let me hear from you if you succeeded to boot the application from SPIFI without a debugger.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;All the best,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Diego.&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Aug 2021 05:08:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/SPIFI-Flash-Booting-information-for-LPC4367/m-p/1328213#M46248</guid>
      <dc:creator>diego_charles</dc:creator>
      <dc:date>2021-08-24T05:08:57Z</dc:date>
    </item>
    <item>
      <title>Re: SPIFI Flash Booting information for LPC4367</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/SPIFI-Flash-Booting-information-for-LPC4367/m-p/1328458#M46256</link>
      <description>&lt;P&gt;Hi Diego,&lt;/P&gt;&lt;P&gt;Thanks for the reply,&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Regarding the SPIFI Boot issue, It worked after following the procedure you mentioned in the thread. Thanks a lot for the solution.&lt;/P&gt;&lt;P&gt;2. &lt;SPAN&gt;Regarding the Chip_Clock_DisableMainPLL() , Yes I will check with the inputs received&amp;nbsp;from&amp;nbsp;&lt;A href="https://community.nxp.com/t5/user/viewprofilepage/user-id/96110" target="_blank"&gt;@cescvaro&lt;/A&gt;&amp;nbsp;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;3. Regarding the SPIFI flash I got to know that we have to use the&amp;nbsp; SPIFI library to read and write the critical data. But then will it work&amp;nbsp;by simply including the SPIFI generic library in the MCU Setting section?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Also planning&amp;nbsp;to use External SRAM instead of internal RAM for execution. Will check to used Internal Flash and external RAM provision for our development. Means for M4 Core use SRAM as a RAM and for M0App Core use internal RAM.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Let me know if it is possible.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Once again thanks for the solution for SPIFI Booting.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;BR,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Gaurav More&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Aug 2021 09:15:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/SPIFI-Flash-Booting-information-for-LPC4367/m-p/1328458#M46256</guid>
      <dc:creator>gauravmore</dc:creator>
      <dc:date>2021-08-24T09:15:15Z</dc:date>
    </item>
  </channel>
</rss>

