<?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>LPC MicrocontrollersのトピックRe: 54018 plain load image</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/54018-plain-load-image/m-p/826580#M33031</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;非常感谢您的回复。&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;对，是想把代码放到sdram中执行。&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;我们在之前的操作中遇到以下两个解决不了的问题：&lt;/P&gt;&lt;DIV style="color: #000000; background-color: #ffffff; font-weight: normal; font-size: 14px;"&gt;&lt;SPAN style="font-family: 微软雅黑, sans-serif;"&gt;1。以QSPI flash启动，但是程序对flash 进行读写操作会出现问题。&amp;nbsp; &amp;nbsp;使用demo程序spifi_dma_transfer就会停止在flash reset的地方。&amp;nbsp; 我们的项目必须程序运行的时候操作spifi flash存储数据的（需要存储关键性数据）。 &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #000000; background-color: #ffffff; font-weight: normal; font-size: 14px;"&gt;&lt;SPAN style="font-family: 微软雅黑, sans-serif;"&gt;2。使用&lt;SPAN style="background-color: #ffffff;"&gt;QSPI flash&lt;/SPAN&gt;方式启动我们的项目程序（屏蔽spifi flash操作），发现emwin调用&lt;/SPAN&gt;&lt;SPAN style="font-family: 微软雅黑, sans-serif;"&gt;图片多的页面，这种方式会出现刷新缓慢，图像一帧一帧显示。&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #000000; background-color: #ffffff; font-weight: normal; font-size: 14px;"&gt; &lt;/DIV&gt;&lt;DIV style="color: #000000; background-color: #ffffff; font-weight: normal; font-size: 14px;"&gt;这两个问题如果解决，那么采用QSPI flash启动应该没有问题。&lt;/DIV&gt;&lt;DIV style="color: #000000; background-color: #ffffff; font-weight: normal; font-size: 14px;"&gt; &lt;/DIV&gt;&lt;DIV style="color: #000000; background-color: #ffffff; font-weight: normal; font-size: 14px;"&gt;&lt;SPAN style="font-family: 微软雅黑, sans-serif;"&gt;谢谢！&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Aug 2018 03:58:05 GMT</pubDate>
    <dc:creator>fisker_avit</dc:creator>
    <dc:date>2018-08-09T03:58:05Z</dc:date>
    <item>
      <title>54018 plain load image</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/54018-plain-load-image/m-p/826578#M33029</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;你好，目前我们公司项目使用的是54018，由于我们的目标程序较大，所以没办法直接使用XIP的方式或者Plain load image.&lt;/P&gt;&lt;P&gt;请问，有没有办法在使用&lt;SPAN&gt;Plain load image方式的时候，更改为external sdram?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;或者，请问有什么办法解决这个问题？&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Aug 2018 08:03:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/54018-plain-load-image/m-p/826578#M33029</guid>
      <dc:creator>fisker_avit</dc:creator>
      <dc:date>2018-08-07T08:03:28Z</dc:date>
    </item>
    <item>
      <title>Re: 54018 plain load image</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/54018-plain-load-image/m-p/826579#M33030</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;BR /&gt;非常感谢使用NXP产品，很高兴为你提供技术支持！&lt;BR /&gt;我不太理解你的意思，你是想要把代码放到SDRAM内，从SDRAM启动吗？&lt;BR /&gt;这显然是不行的，因为LPC54xxx不带内部Flash，再加上你说的贵司的工程代码量很大，在我看来从QSPI flash是最理想的启动方式啊。&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Aug 2018 02:36:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/54018-plain-load-image/m-p/826579#M33030</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2018-08-08T02:36:51Z</dc:date>
    </item>
    <item>
      <title>Re: 54018 plain load image</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/54018-plain-load-image/m-p/826580#M33031</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;非常感谢您的回复。&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;对，是想把代码放到sdram中执行。&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;我们在之前的操作中遇到以下两个解决不了的问题：&lt;/P&gt;&lt;DIV style="color: #000000; background-color: #ffffff; font-weight: normal; font-size: 14px;"&gt;&lt;SPAN style="font-family: 微软雅黑, sans-serif;"&gt;1。以QSPI flash启动，但是程序对flash 进行读写操作会出现问题。&amp;nbsp; &amp;nbsp;使用demo程序spifi_dma_transfer就会停止在flash reset的地方。&amp;nbsp; 我们的项目必须程序运行的时候操作spifi flash存储数据的（需要存储关键性数据）。 &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #000000; background-color: #ffffff; font-weight: normal; font-size: 14px;"&gt;&lt;SPAN style="font-family: 微软雅黑, sans-serif;"&gt;2。使用&lt;SPAN style="background-color: #ffffff;"&gt;QSPI flash&lt;/SPAN&gt;方式启动我们的项目程序（屏蔽spifi flash操作），发现emwin调用&lt;/SPAN&gt;&lt;SPAN style="font-family: 微软雅黑, sans-serif;"&gt;图片多的页面，这种方式会出现刷新缓慢，图像一帧一帧显示。&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #000000; background-color: #ffffff; font-weight: normal; font-size: 14px;"&gt; &lt;/DIV&gt;&lt;DIV style="color: #000000; background-color: #ffffff; font-weight: normal; font-size: 14px;"&gt;这两个问题如果解决，那么采用QSPI flash启动应该没有问题。&lt;/DIV&gt;&lt;DIV style="color: #000000; background-color: #ffffff; font-weight: normal; font-size: 14px;"&gt; &lt;/DIV&gt;&lt;DIV style="color: #000000; background-color: #ffffff; font-weight: normal; font-size: 14px;"&gt;&lt;SPAN style="font-family: 微软雅黑, sans-serif;"&gt;谢谢！&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2018 03:58:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/54018-plain-load-image/m-p/826580#M33031</guid>
      <dc:creator>fisker_avit</dc:creator>
      <dc:date>2018-08-09T03:58:05Z</dc:date>
    </item>
    <item>
      <title>Re: 54018 plain load image</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/54018-plain-load-image/m-p/826581#M33032</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;谢谢你的回复。&lt;/P&gt;&lt;P&gt;针对你的问题：&lt;/P&gt;&lt;P&gt;1. 如果你设置启动是XIP image, 而且load address 就是在QSPI flash中的话， 那你操作SPIFI模块的方式对QSPI flash读写是会有点不妥，毕竟代码就在里面运行呢，所以我赞成你说的代码运行在SDRAM中。&lt;/P&gt;&lt;P&gt;2. 具体实现方式：首先，将QSPI flash中的代码分成两部分，跟着设置MCU启动方式为：Load image， 使得QSPI flash中代码1部分可运行在片内SRAM中，其作用是初始化SDRAM， 并将QSPI flash2中代码2部分拷贝到SDRAM后，实现程序跳转，使得程序能在SDRAM中运行。&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2018 08:24:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/54018-plain-load-image/m-p/826581#M33032</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2018-08-09T08:24:27Z</dc:date>
    </item>
    <item>
      <title>Re: 54018 plain load image</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/54018-plain-load-image/m-p/826582#M33033</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;非常感谢您的回复。&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;针对您提出的方案，我比较赞同。&lt;/P&gt;&lt;P&gt;有2点问题，跟您请教：&lt;/P&gt;&lt;P&gt;1. 下载到sdram的第二部分代码， 是否还可以通过 MCUXpresso IDE调试？&lt;/P&gt;&lt;P&gt;2.&amp;nbsp;之前我做过尝试，但是没有成功，是否有例程？或者成功的案例参考？&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;谢谢！&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2018 09:00:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/54018-plain-load-image/m-p/826582#M33033</guid>
      <dc:creator>fisker_avit</dc:creator>
      <dc:date>2018-08-09T09:00:32Z</dc:date>
    </item>
    <item>
      <title>Re: 54018 plain load image</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/54018-plain-load-image/m-p/826583#M33034</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;回答你的问题&lt;/P&gt;&lt;P&gt;1） 当然，这是可以的。&lt;/P&gt;&lt;P&gt;2）没有现成的application 例程作为参考，因为这算是比较复杂，高级一些的应用了。&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Aug 2018 02:43:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/54018-plain-load-image/m-p/826583#M33034</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2018-08-10T02:43:49Z</dc:date>
    </item>
    <item>
      <title>Re: 54018 plain load image</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/54018-plain-load-image/m-p/826584#M33035</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;理解。&lt;/P&gt;&lt;P&gt;我们项目很紧急，计划参加9月初的德国展览，所以还需要您再帮忙。&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;我在NXP论坛上看到一个方法，add-symbol-file可以把loader以及main app结合到一起调试，&lt;/P&gt;&lt;P&gt;但是我在54018上调试，一直没有成功，请您也看看这个，方便的话，帮忙调试看看。&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;地址：&lt;A _jive_internal="true" class="link-titled" href="https://community.nxp.com/message/1042364?commentID=1042364#comment-1042364" title="https://community.nxp.com/message/1042364?commentID=1042364#comment-1042364"&gt;https://community.nxp.com/message/1042364?commentID=1042364#comment-1042364&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;非常感谢您的支持。&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;谢谢!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Aug 2018 02:58:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/54018-plain-load-image/m-p/826584#M33035</guid>
      <dc:creator>fisker_avit</dc:creator>
      <dc:date>2018-08-13T02:58:21Z</dc:date>
    </item>
    <item>
      <title>Re: 54018 plain load image</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/54018-plain-load-image/m-p/826585#M33036</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;请分享一下你的测试步骤（最好附上截图）还有报错的截图，方便我查找出原因。&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Aug 2018 02:02:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/54018-plain-load-image/m-p/826585#M33036</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2018-08-15T02:02:48Z</dc:date>
    </item>
    <item>
      <title>Re: 54018 plain load image</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/54018-plain-load-image/m-p/826586#M33037</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;通过loader启动的方式有一些进展，&lt;/P&gt;&lt;P&gt;1. main app以qspi flash启动的方式，loader可以调用通过，但是main app还是不能对flash进行读写，所以这个不是我们想要的方式。&lt;/P&gt;&lt;P&gt;2. main app以plain load image的方式，具体操作如下：&lt;/P&gt;&lt;P&gt;loader的主体代码：&lt;/P&gt;&lt;P&gt;void boot_jump(uint32_t addr)&lt;BR /&gt;{&lt;BR /&gt; __asm("LDR SP,[R0]");&lt;BR /&gt; __asm("LDR PC,[R0,#4]");&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;int main(void)&lt;BR /&gt;{&lt;BR /&gt; uint32_t index = 0;&lt;BR /&gt; uint32_t *sdram = (uint32_t *)SDRAM_BASE_ADDR; /* SDRAM start address. */&lt;/P&gt;&lt;P&gt;/* Hardware Initialization */&lt;BR /&gt; CLOCK_EnableClock(kCLOCK_InputMux);&lt;BR /&gt; /* attach 12 MHz clock to FLEXCOMM0 (debug console) */&lt;BR /&gt; CLOCK_AttachClk(BOARD_DEBUG_UART_CLK_ATTACH);&lt;/P&gt;&lt;P&gt;BOARD_InitPins();&lt;BR /&gt; BOARD_BootClockFROHF96M();&lt;BR /&gt; BOARD_InitDebugConsole();&lt;BR /&gt; BOARD_InitSDRAM();&lt;/P&gt;&lt;P&gt;PRINTF("\r\n Start EMC SDRAM access flash .\r\n");&lt;BR /&gt; SpifiFlashInit();&lt;BR /&gt; SpifiFlashRead(0xa0000000sdram, 0x200000);&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; PRINTF("\r\n Start EMC SDRAM access example.\r\n");&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;boot_jump(0xa0000000);//在这里添加断点，在debugger console中这里添加add-sybol-file mainapp.axf&amp;nbsp;0xa0000000,就可以跳转到main app的resetISR，但是单步再往下执行就跳到HardFault_Hander(这个是loader中的函数)中。&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt; //boot_jump(0x10800000);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/* Prepare data and write to SDRAM. */&lt;BR /&gt; &lt;BR /&gt; while (1)&lt;BR /&gt; {&lt;BR /&gt; }&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/62691i1D85A6C831A9646F/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/62727i637961CF34770743/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loader的设置：&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/62737i56E55F7F6319C13C/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_4.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/62692i6BAD224B94CAB3E2/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_4.png" alt="pastedImage_4.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Aug 2018 08:29:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/54018-plain-load-image/m-p/826586#M33037</guid>
      <dc:creator>fisker_avit</dc:creator>
      <dc:date>2018-08-15T08:29:27Z</dc:date>
    </item>
    <item>
      <title>Re: 54018 plain load image</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/54018-plain-load-image/m-p/826587#M33038</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;SPAN class=""&gt;&lt;A _jive_internal="true" data-content-finding="Community" data-userid="324057" data-username="fisker_avit" href="https://community.nxp.com/people/fisker_avit"&gt;fisker avit&lt;/A&gt;&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;我发现两个疑问的地方，&lt;/P&gt;&lt;P&gt;1. 跳转设置还需要VTOR寄存器的。&lt;/P&gt;&lt;P&gt;2. &lt;SPAN style="color: #000000;"&gt;main app采用以plain load image的方式，程序本身运行于RAM中，你在debugger console中添加add-sybol-file mainapp.axf&amp;nbsp;0xa0000000， 不知道是否就是上面的 main app。&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Aug 2018 06:56:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/54018-plain-load-image/m-p/826587#M33038</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2018-08-16T06:56:50Z</dc:date>
    </item>
    <item>
      <title>Re: 54018 plain load image</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/54018-plain-load-image/m-p/826588#M33039</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;针对提问逐条回答：&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;1. 跳转设置还需要时钟VTOR寄存器的。&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;FISKER：是指&lt;SPAN style="border: 0px;"&gt;SysTick-&amp;gt;CTRL = 0;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="border: 0px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SCB-&amp;gt;VTOR = addr &amp;amp; 0xFFFFFF80;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="border: 0px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; boot_jump(addr); ？&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="border: 0px;"&gt;这样我也尝试过，结果一样。&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;2.&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; border: 0px; font-weight: inherit;"&gt;main app采用以plain load image的方式，程序本身运行于RAM中，你在debugger console中添加add-sybol-file mainapp.axf&amp;nbsp;0xa0000000， 不知道是否就是上面的 main app。&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="background-color: #ffffff; border: 0px; color: #51626f; font-weight: inherit;"&gt;FISKER： 是同一个，我采用的main app会load到external sdram上，如果不使用add-symbol-file，会提示Break at address "" with no debug information available, or outside of programe code.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="background-color: #ffffff; border: 0px; color: #51626f; font-weight: inherit;"&gt;&amp;nbsp; 如果不采用&lt;SPAN style="color: #000000;"&gt;plain load image方式，就是qspi方式启动main的话，是可以从loader到debug 调试的。&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="background-color: #ffffff; border: 0px; color: #000000; font-weight: inherit;"&gt;所以我检测0x10800000地址以及0xa0000000地址的内容，发现内容也是一模一样，但表现的现象不一样（如上次回复所说）。&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Aug 2018 08:01:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/54018-plain-load-image/m-p/826588#M33039</guid>
      <dc:creator>fisker_avit</dc:creator>
      <dc:date>2018-08-16T08:01:12Z</dc:date>
    </item>
    <item>
      <title>Re: 54018 plain load image</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/54018-plain-load-image/m-p/826589#M33040</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;SPAN class=""&gt;&lt;A _jive_internal="true" data-containerid="-1" data-containertype="-1" data-content-finding="Community" data-objectid="324057" data-objecttype="3" href="https://community.nxp.com/people/fisker_avit"&gt;fisker avit&lt;/A&gt;&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;1）时钟两字是我多打的，请忽略。&lt;/P&gt;&lt;P&gt;2）我很迷惑了，一个已经在芯片内运行程序将存储在QSPI中的‘自己’搬运到SDRAM中，然后跳转？？&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 即使成功了有什么目的，你还是运行自己吗，而现在此程序不就在RAM中运行吗？&lt;/P&gt;&lt;P&gt;3) 最好分享一篇文章，希望有帮助：&lt;A class="link-titled" href="https://mcuoneclipse.com/2017/01/21/no-source-available-or-how-to-debug-multiple-binaries-with-gdb-and-eclipse/#more-20414" title="https://mcuoneclipse.com/2017/01/21/no-source-available-or-how-to-debug-multiple-binaries-with-gdb-and-eclipse/#more-20414"&gt;“No source available”, or how to Debug Multiple Binaries with GDB and Eclipse | MCU on Eclipse&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Aug 2018 03:16:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/54018-plain-load-image/m-p/826589#M33040</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2018-08-17T03:16:56Z</dc:date>
    </item>
    <item>
      <title>Re: 54018 plain load image</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/54018-plain-load-image/m-p/826590#M33041</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;最近出差，没时间回复，请见谅。&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;有两个程序，1为loader， 2为 main app .&lt;/P&gt;&lt;P&gt;通过QSPI方式启动loader，通过loader获取存储与flash中的main，并拷贝到外部sdram运行。&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;再请教另外一个问题：&lt;/P&gt;&lt;P&gt;通过外部flash QSPI方式启动程序， 怎么操作外部flash的读写？（测试demo发现会在外部flash reset的时候卡住）&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Aug 2018 08:03:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/54018-plain-load-image/m-p/826590#M33041</guid>
      <dc:creator>fisker_avit</dc:creator>
      <dc:date>2018-08-27T08:03:49Z</dc:date>
    </item>
    <item>
      <title>Re: 54018 plain load image</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/54018-plain-load-image/m-p/826591#M33042</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;A _jive_internal="true" class="" data-content-finding="Community" data-userid="324057" data-username="fisker_avit" href="https://community.nxp.com/people/fisker_avit"&gt;fisker avit&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;如果通过外部QSPI启动，要读写操作此QSPI，可以试试把这一操作的代码放在内部的RAM中执行。&lt;/P&gt;&lt;P&gt;Have a great day,&lt;/P&gt;&lt;P&gt;TIC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2018 01:41:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/54018-plain-load-image/m-p/826591#M33042</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2018-08-28T01:41:28Z</dc:date>
    </item>
  </channel>
</rss>

