<?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>ColdFire/68K Microcontrollers and ProcessorsのトピックRe: Strange problem when re-arrange flash blocks</title>
    <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Strange-problem-when-re-arrange-flash-blocks/m-p/212838#M10593</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Don't put bootloader in the begining of flash. Try to put it from 1000~1fff instead. It seems like we shouldn't modify address for these vector tables.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 Aug 2010 21:00:20 GMT</pubDate>
    <dc:creator>doublev724</dc:creator>
    <dc:date>2010-08-02T21:00:20Z</dc:date>
    <item>
      <title>Strange problem when re-arrange flash blocks</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Strange-problem-when-re-arrange-flash-blocks/m-p/212837#M10592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using 52255 for current project. It's working only with internal flash and SRAM, and works fine.&lt;/P&gt;&lt;P&gt;When I try to re-arrange flash blocks for putting something like bootloader in front of normal program, problem happened.&lt;/P&gt;&lt;P&gt;The original flash blocks like following&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;# original settings&lt;/DIV&gt;&lt;P&gt;## intflash &amp;nbsp; &amp;nbsp;(RX): ORIGIN = 0x00000000, LENGTH = 0x00080000&lt;/P&gt;&lt;P&gt;## sram &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;(RW): ORIGIN = 0x20000000, LENGTH = 0x00010000&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; vectorrom &amp;nbsp; (RX): ORIGIN = 0x00000000, LENGTH = 0x00000400&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; cfmprotrom &amp;nbsp;(RX): ORIGIN = 0x00000400, LENGTH = 0x00000020&lt;/P&gt;&lt;P&gt;&amp;nbsp; rom &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; (RX): ORIGIN = 0x00000420, LENGTH = 0x0007FBE0 &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; ram &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; (RW): ORIGIN = 0x20000000, LENGTH = 0x00010000&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I put bootloader in first 64KB like this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;## intflash &amp;nbsp; &amp;nbsp;(RX): ORIGIN = 0x00000000, LENGTH = 0x00080000&lt;/P&gt;&lt;P&gt;## sram &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;(RW): ORIGIN = 0x20000000, LENGTH = 0x00010000&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; bootloader &amp;nbsp;(RX): ORIGIN = 0x00000000, LENGTH = 0x00010000 &amp;nbsp; &amp;nbsp; &amp;nbsp; # bootloader&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; vectorrom &amp;nbsp; (RX): ORIGIN = 0x00010000, LENGTH = 0x00000400&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; cfmprotrom &amp;nbsp;(RX): ORIGIN = 0x00010400, LENGTH = 0x00000020&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; rom &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; (RX): ORIGIN = 0x00010430, LENGTH = 0x0006FBD0 &amp;nbsp;# Code + Const data &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; ram &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; (RW): ORIGIN = 0x20000000, LENGTH = 0x00010000 &amp;nbsp;# SRAM - RW data&lt;/P&gt;&lt;DIV&gt;I create another project for bootloader, but I just put an direct jump to normal program start for testing.&lt;/DIV&gt;&lt;DIV&gt;Program stopped in initializing PHY.&lt;/DIV&gt;&lt;DIV&gt;There is an loop for&amp;nbsp;auto-negotiate with PHY in BSP of MQX.&lt;/DIV&gt;&lt;DIV&gt;Normally it works fine. But it stuck when I shift all program at 0x00010000.&lt;/DIV&gt;&lt;DIV&gt;Is that anything I missed when moving blocks?&lt;/DIV&gt;&lt;DIV&gt;Please help, I've try days for this, I cannot understand why the same code cause different results.&lt;/DIV&gt;&lt;DIV&gt;Thanks!&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jul 2010 11:14:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Strange-problem-when-re-arrange-flash-blocks/m-p/212837#M10592</guid>
      <dc:creator>ck_max</dc:creator>
      <dc:date>2010-07-14T11:14:56Z</dc:date>
    </item>
    <item>
      <title>Re: Strange problem when re-arrange flash blocks</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Strange-problem-when-re-arrange-flash-blocks/m-p/212838#M10593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Don't put bootloader in the begining of flash. Try to put it from 1000~1fff instead. It seems like we shouldn't modify address for these vector tables.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Aug 2010 21:00:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Strange-problem-when-re-arrange-flash-blocks/m-p/212838#M10593</guid>
      <dc:creator>doublev724</dc:creator>
      <dc:date>2010-08-02T21:00:20Z</dc:date>
    </item>
  </channel>
</rss>

