<?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: LPC54606J512BD100 vs LPC54606J256BD100 program execution</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54606J512BD100-vs-LPC54606J256BD100-program-execution/m-p/1252664#M44441</link>
    <description>&lt;P&gt;Hello vijo,&lt;/P&gt;
&lt;P&gt;Yes, there isn't mentioned in UM and DS, I will submit a ticket to document team.&lt;/P&gt;
&lt;P&gt;Thanks for your sharing.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Alice&lt;/P&gt;</description>
    <pubDate>Fri, 26 Mar 2021 07:15:33 GMT</pubDate>
    <dc:creator>Alice_Yang</dc:creator>
    <dc:date>2021-03-26T07:15:33Z</dc:date>
    <item>
      <title>LPC54606J512BD100 vs LPC54606J256BD100 program execution</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54606J512BD100-vs-LPC54606J256BD100-program-execution/m-p/1249744#M44379</link>
      <description>&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;my 75k program build for the LPC54606J512BD100 internal flash runs ok, but for some reason the same program loaded in a LPC54606J256BD100 CPU does not run.&lt;/P&gt;&lt;P&gt;Any good ideas of what to check ?&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Viggo&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Mar 2021 14:17:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54606J512BD100-vs-LPC54606J256BD100-program-execution/m-p/1249744#M44379</guid>
      <dc:creator>vijo</dc:creator>
      <dc:date>2021-03-22T14:17:33Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54606J512BD100 vs LPC54606J256BD100 program execution</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54606J512BD100-vs-LPC54606J256BD100-program-execution/m-p/1249763#M44381</link>
      <description>&lt;P&gt;The&amp;nbsp;&lt;SPAN&gt;LPC54606J256BD100&amp;nbsp;has only half the Flash size.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Did you check the map file, if the code layout is compatible with both types, i.e. the associated address ranges ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Tried to debug ?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Mar 2021 15:00:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54606J512BD100-vs-LPC54606J256BD100-program-execution/m-p/1249763#M44381</guid>
      <dc:creator>frank_m</dc:creator>
      <dc:date>2021-03-22T15:00:58Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54606J512BD100 vs LPC54606J256BD100 program execution</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54606J512BD100-vs-LPC54606J256BD100-program-execution/m-p/1249782#M44382</link>
      <description>&lt;P&gt;hi frank&lt;/P&gt;&lt;P&gt;yes I'm avare of the 256K flash size(address from 0 to 0x4 0000) but my programs last/max load address is 0x1 7e90 according to the map file.&lt;/P&gt;&lt;P&gt;The memory mapadresses&amp;nbsp; is the same for the 2 CPUs according to the datasheet.&lt;/P&gt;&lt;P&gt;No haven't debugged yet. I was just assuming that the program would load and run directly.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Mar 2021 15:39:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54606J512BD100-vs-LPC54606J256BD100-program-execution/m-p/1249782#M44382</guid>
      <dc:creator>vijo</dc:creator>
      <dc:date>2021-03-22T15:39:37Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54606J512BD100 vs LPC54606J256BD100 program execution</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54606J512BD100-vs-LPC54606J256BD100-program-execution/m-p/1249793#M44383</link>
      <description>&lt;P&gt;That assumption is not unjustified - from a superficial comparison, I can't see any other difference between both types.&lt;/P&gt;&lt;P&gt;There might be other reasons, but that involves assumptions about your application, i.e. the code.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Mar 2021 16:04:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54606J512BD100-vs-LPC54606J256BD100-program-execution/m-p/1249793#M44383</guid>
      <dc:creator>frank_m</dc:creator>
      <dc:date>2021-03-22T16:04:24Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54606J512BD100 vs LPC54606J256BD100 program execution</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54606J512BD100-vs-LPC54606J256BD100-program-execution/m-p/1250308#M44395</link>
      <description>&lt;P&gt;Hello Vijo,&lt;/P&gt;
&lt;P&gt;Could you please describe more detail about "CPU dose not run" ?&lt;/P&gt;
&lt;P&gt;How about debug it? Does it stop at one step or can't run up ? Or something others?&lt;/P&gt;
&lt;P&gt;What about your project ? How change to other project?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Alice&lt;/P&gt;</description>
      <pubDate>Tue, 23 Mar 2021 09:37:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54606J512BD100-vs-LPC54606J256BD100-program-execution/m-p/1250308#M44395</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2021-03-23T09:37:18Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54606J512BD100 vs LPC54606J256BD100 program execution</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54606J512BD100-vs-LPC54606J256BD100-program-execution/m-p/1250348#M44397</link>
      <description>&lt;P&gt;hello Alice,&lt;/P&gt;&lt;P&gt;well I can se that my application is not behaving correctly in the 256K CPU. Exactely the same application is running fine in the 512K CPU.&lt;/P&gt;&lt;P&gt;I'm loading the application as a bin file via the USB port in mass storage mode in both CPUs.&lt;/P&gt;&lt;P&gt;I have not done further debugging of the problem as we only have 3 pcs of the 256K CPU(due to the market situation), and we are switching to the flashless LPC54016 in stead of, and concentrtate on that.&lt;/P&gt;&lt;P&gt;I write this support ticket to see if others have had the same problem - and maybe a solution.&lt;/P&gt;&lt;P&gt;By studying the data sheet, the memory map is exactely the same for the 256K and the 512K variants and I was naive enough just to try it - and now my curiosity is waked up;-)&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Viggo&lt;/P&gt;</description>
      <pubDate>Tue, 23 Mar 2021 10:12:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54606J512BD100-vs-LPC54606J256BD100-program-execution/m-p/1250348#M44397</guid>
      <dc:creator>vijo</dc:creator>
      <dc:date>2021-03-23T10:12:05Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54606J512BD100 vs LPC54606J256BD100 program execution</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54606J512BD100-vs-LPC54606J256BD100-program-execution/m-p/1250382#M44401</link>
      <description>&lt;P&gt;IIRC, the LPC546xx 256KB flash devices have less RAM on board than the 512KB flash devices.&lt;/P&gt;&lt;P&gt;I would suspect that your 512KB device targeted project is placing the stack pointer at a RAM location that doesn't exist on the 256KB device. Which will cause a hard fault or similar as your application starts executing.&lt;/P&gt;&lt;P&gt;If this is the case, then the solution would probably be to change the location that the stack pointer in being placed at. If using MCUXpresso IDE, you could probably do this by just using the memory configuration editor to reduce the size of the first RAM bank (more info in the IDE User Guide).&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;</description>
      <pubDate>Tue, 23 Mar 2021 10:57:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54606J512BD100-vs-LPC54606J256BD100-program-execution/m-p/1250382#M44401</guid>
      <dc:creator>abnxpweb</dc:creator>
      <dc:date>2021-03-23T10:57:18Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54606J512BD100 vs LPC54606J256BD100 program execution</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54606J512BD100-vs-LPC54606J256BD100-program-execution/m-p/1250473#M44405</link>
      <description>&lt;P&gt;A simple look at the data sheet shows that the 256 variant has less RAM than the 512 variant, so I suggest you review the placement of the stack and heap as they are likely to have been placed into locations that do not exist, thus causing a hard fault.&lt;/P&gt;&lt;P&gt;if you want a single binary that runs on both variants, build it for the smaller one - never for the larger one.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Mar 2021 13:34:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54606J512BD100-vs-LPC54606J256BD100-program-execution/m-p/1250473#M44405</guid>
      <dc:creator>converse</dc:creator>
      <dc:date>2021-03-23T13:34:05Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54606J512BD100 vs LPC54606J256BD100 program execution</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54606J512BD100-vs-LPC54606J256BD100-program-execution/m-p/1250489#M44406</link>
      <description>&lt;P&gt;&lt;EM&gt;&amp;gt; ...so I suggest you review the placement of the stack and heap as they are likely to have been placed into locations that do not exist, thus causing a hard fault.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Definitely, since most linkers put the stack at the very and of the RAM.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;A rebuild with the proper linker script (i.e. MCU variant) should suffice.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Yes, reading the fine print ... not that I never neglected it &lt;LI-EMOJI id="lia_winking-face" title=":winking_face:"&gt;&lt;/LI-EMOJI&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Mar 2021 13:59:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54606J512BD100-vs-LPC54606J256BD100-program-execution/m-p/1250489#M44406</guid>
      <dc:creator>frank_m</dc:creator>
      <dc:date>2021-03-23T13:59:27Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54606J512BD100 vs LPC54606J256BD100 program execution</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54606J512BD100-vs-LPC54606J256BD100-program-execution/m-p/1251331#M44419</link>
      <description>&lt;P&gt;tank you for the input.&lt;/P&gt;&lt;P&gt;From the ordering options 256K flash type is only with 136K RAM, not 200K.&lt;/P&gt;&lt;P&gt;Neither datasheet nor manual states which areas are left out, but it must be the SRAM2 and SRAM3 32K areas.&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Viggo&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Mar 2021 14:57:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54606J512BD100-vs-LPC54606J256BD100-program-execution/m-p/1251331#M44419</guid>
      <dc:creator>vijo</dc:creator>
      <dc:date>2021-03-24T14:57:56Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54606J512BD100 vs LPC54606J256BD100 program execution</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54606J512BD100-vs-LPC54606J256BD100-program-execution/m-p/1251929#M44429</link>
      <description>&lt;P&gt;Hello &lt;SPAN class="UserName lia-user-name lia-user-rank-Contributor-III lia-component-message-view-widget-author-username"&gt;&lt;A id="link_12" class="lia-link-navigation lia-page-link lia-user-name-link" style="color: #333f48;" href="https://community.nxp.com/t5/user/viewprofilepage/user-id/104965" target="_self"&gt;&lt;SPAN class=""&gt;vijo&lt;/SPAN&gt;&lt;/A&gt;&lt;/SPAN&gt;,&lt;/P&gt;
&lt;P&gt;Yes, you are right, the 256K chip LPC54606j256 doesn't includes SRAM2 and SRAM3.&lt;/P&gt;
&lt;P&gt;The memory detail should like below:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Alice_Yang_0-1616659053434.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/140626i2708AF7DB70B727C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Alice_Yang_0-1616659053434.png" alt="Alice_Yang_0-1616659053434.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Alice&lt;/P&gt;</description>
      <pubDate>Thu, 25 Mar 2021 07:57:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54606J512BD100-vs-LPC54606J256BD100-program-execution/m-p/1251929#M44429</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2021-03-25T07:57:45Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54606J512BD100 vs LPC54606J256BD100 program execution</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54606J512BD100-vs-LPC54606J256BD100-program-execution/m-p/1251946#M44430</link>
      <description>&lt;P&gt;hello Alice,&lt;/P&gt;&lt;P&gt;great, thank you for the info.&lt;/P&gt;&lt;P&gt;Could this be expressed a bit more visible please in the data sheet or the manual. You screen dump is from the MCUXpresso.&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Viggo&lt;/P&gt;</description>
      <pubDate>Thu, 25 Mar 2021 08:20:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54606J512BD100-vs-LPC54606J256BD100-program-execution/m-p/1251946#M44430</guid>
      <dc:creator>vijo</dc:creator>
      <dc:date>2021-03-25T08:20:37Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54606J512BD100 vs LPC54606J256BD100 program execution</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54606J512BD100-vs-LPC54606J256BD100-program-execution/m-p/1252664#M44441</link>
      <description>&lt;P&gt;Hello vijo,&lt;/P&gt;
&lt;P&gt;Yes, there isn't mentioned in UM and DS, I will submit a ticket to document team.&lt;/P&gt;
&lt;P&gt;Thanks for your sharing.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Alice&lt;/P&gt;</description>
      <pubDate>Fri, 26 Mar 2021 07:15:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54606J512BD100-vs-LPC54606J256BD100-program-execution/m-p/1252664#M44441</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2021-03-26T07:15:33Z</dc:date>
    </item>
  </channel>
</rss>

