<?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>Kinetis MicrocontrollersのトピックRe: Error reading Kinetis internal flash</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Error-reading-Kinetis-internal-flash/m-p/304083#M12858</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you please send me the demo project and the problem screenshot? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 Apr 2014 08:52:29 GMT</pubDate>
    <dc:creator>ZhangJennie</dc:creator>
    <dc:date>2014-04-29T08:52:29Z</dc:date>
    <item>
      <title>Error reading Kinetis internal flash</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Error-reading-Kinetis-internal-flash/m-p/304082#M12857</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have written a bootloader for a Kinetis K61FN1M0 using CW MCU 10.6 and Processor Expert.&amp;nbsp; Immediately after PE_low_level_init(); in main() I am calling a function that looks at some values at the top of the FLASH at location 0xFFF00.&amp;nbsp; I get an error when I hit the instruction shown below at 00009ca4 that causes the code to .jump to the PE_ISR(Cpu_Interrupt) routine.&amp;nbsp; Can anyone tell me why this might be happening?&amp;nbsp; The Memory window of the IDE shows the expected values are at the location I am trying to read.&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt; 47&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;&amp;nbsp; pAppDef = (APPLICATION_DEF_PTR)__AppInfo__;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;00009c98:&amp;nbsp;&amp;nbsp; mov r3,#0xff00&lt;/P&gt;&lt;P&gt;00009c9c:&amp;nbsp;&amp;nbsp; movt r3,#0xf&lt;/P&gt;&lt;P&gt;00009ca0:&amp;nbsp;&amp;nbsp; str r3,[r7,#4]&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt; 48&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;&amp;nbsp; if( pAppDef-&amp;gt;InfoVersion != 0xFFFFFFFF )&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;00009ca2:&amp;nbsp;&amp;nbsp; ldr r3,[r7,#4]&lt;/P&gt;&lt;P&gt;00009ca4:&amp;nbsp;&amp;nbsp; ldr r3,[r3,#12]&lt;/P&gt;&lt;P&gt;00009ca6:&amp;nbsp;&amp;nbsp; cmp r3,#0xffffffff&lt;/P&gt;&lt;P&gt;00009caa:&amp;nbsp;&amp;nbsp; beq Check_App_CSM+0xf2 (0x9d46); 0x00009d46&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Apr 2014 11:42:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Error-reading-Kinetis-internal-flash/m-p/304082#M12857</guid>
      <dc:creator>kecart</dc:creator>
      <dc:date>2014-04-25T11:42:53Z</dc:date>
    </item>
    <item>
      <title>Re: Error reading Kinetis internal flash</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Error-reading-Kinetis-internal-flash/m-p/304083#M12858</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you please send me the demo project and the problem screenshot? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Apr 2014 08:52:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Error-reading-Kinetis-internal-flash/m-p/304083#M12858</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2014-04-29T08:52:29Z</dc:date>
    </item>
    <item>
      <title>Re: Error reading Kinetis internal flash</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Error-reading-Kinetis-internal-flash/m-p/304084#M12859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would check the value of R3 just when 0x9CA4 will be executed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Looking at the base address, R3+12 would be 0xFFF0C which seems to be good, but my current guess is that probably the address calculated isn't 0xFFF0C but something non-even that causes a misaligned access?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 May 2014 16:41:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Error-reading-Kinetis-internal-flash/m-p/304084#M12859</guid>
      <dc:creator>carlos_neri</dc:creator>
      <dc:date>2014-05-13T16:41:17Z</dc:date>
    </item>
  </channel>
</rss>

