<?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>S32K中的主题 HardFault Exception during startup when board has enabled CSE and keys were not erased</title>
    <link>https://community.nxp.com/t5/S32K/HardFault-Exception-during-startup-when-board-has-enabled-CSE/m-p/1283106#M10977</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I enabled the CSE by partitioning the flash with CSE keys size to 512 bytes.&lt;/P&gt;&lt;P&gt;I can now see that the CSE PRAM is accessible.&lt;/P&gt;&lt;P&gt;But after partitioning, when I load an application and run it, I encounter a Hardfault Exception at the startup.c specifically on these lines:&lt;/P&gt;&lt;P&gt;#if !defined(__ARMCC_VERSION)&lt;BR /&gt;/* Copy initialized data from ROM to RAM */&lt;BR /&gt;while (data_rom_end != data_rom)&lt;BR /&gt;{&lt;BR /&gt;*data_ram = *data_rom;&lt;BR /&gt;data_ram++;&lt;BR /&gt;data_rom++;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Why is this so?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 27 May 2021 06:12:10 GMT</pubDate>
    <dc:creator>warai</dc:creator>
    <dc:date>2021-05-27T06:12:10Z</dc:date>
    <item>
      <title>HardFault Exception during startup when board has enabled CSE and keys were not erased</title>
      <link>https://community.nxp.com/t5/S32K/HardFault-Exception-during-startup-when-board-has-enabled-CSE/m-p/1283106#M10977</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I enabled the CSE by partitioning the flash with CSE keys size to 512 bytes.&lt;/P&gt;&lt;P&gt;I can now see that the CSE PRAM is accessible.&lt;/P&gt;&lt;P&gt;But after partitioning, when I load an application and run it, I encounter a Hardfault Exception at the startup.c specifically on these lines:&lt;/P&gt;&lt;P&gt;#if !defined(__ARMCC_VERSION)&lt;BR /&gt;/* Copy initialized data from ROM to RAM */&lt;BR /&gt;while (data_rom_end != data_rom)&lt;BR /&gt;{&lt;BR /&gt;*data_ram = *data_rom;&lt;BR /&gt;data_ram++;&lt;BR /&gt;data_rom++;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Why is this so?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 May 2021 06:12:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/HardFault-Exception-during-startup-when-board-has-enabled-CSE/m-p/1283106#M10977</guid>
      <dc:creator>warai</dc:creator>
      <dc:date>2021-05-27T06:12:10Z</dc:date>
    </item>
    <item>
      <title>Re: HardFault Exception during startup when board has enabled CSE and keys were not erased</title>
      <link>https://community.nxp.com/t5/S32K/HardFault-Exception-during-startup-when-board-has-enabled-CSE/m-p/1283138#M10978</link>
      <description>&lt;P&gt;This is all good. I was using a different micro, so my linker file was all messed up.&lt;/P&gt;</description>
      <pubDate>Thu, 27 May 2021 06:50:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/HardFault-Exception-during-startup-when-board-has-enabled-CSE/m-p/1283138#M10978</guid>
      <dc:creator>warai</dc:creator>
      <dc:date>2021-05-27T06:50:03Z</dc:date>
    </item>
  </channel>
</rss>

