<?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のトピックS32K116 with IAR doesn't start without debugger</title>
    <link>https://community.nxp.com/t5/S32K/S32K116-with-IAR-doesn-t-start-without-debugger/m-p/980256#M5644</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using an S32K116 with an application compiled with IAR.&lt;/P&gt;&lt;P&gt;I'm using Segger J-Link debugger.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can flash the SW using J-Link but when I reset the board without the debugger connected, the SW will not start.&lt;/P&gt;&lt;P&gt;I used IAR to "attahced to running target and found that the SW is stuck in HardFault_Handler from function init_data_bss at step&amp;nbsp;&lt;EM&gt;/* Copy initialized data from ROM to RAM */&lt;/EM&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What are the steps to investigate on this issue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 Jan 2020 15:15:55 GMT</pubDate>
    <dc:creator>antoine_monmarc</dc:creator>
    <dc:date>2020-01-20T15:15:55Z</dc:date>
    <item>
      <title>S32K116 with IAR doesn't start without debugger</title>
      <link>https://community.nxp.com/t5/S32K/S32K116-with-IAR-doesn-t-start-without-debugger/m-p/980256#M5644</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using an S32K116 with an application compiled with IAR.&lt;/P&gt;&lt;P&gt;I'm using Segger J-Link debugger.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can flash the SW using J-Link but when I reset the board without the debugger connected, the SW will not start.&lt;/P&gt;&lt;P&gt;I used IAR to "attahced to running target and found that the SW is stuck in HardFault_Handler from function init_data_bss at step&amp;nbsp;&lt;EM&gt;/* Copy initialized data from ROM to RAM */&lt;/EM&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What are the steps to investigate on this issue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jan 2020 15:15:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K116-with-IAR-doesn-t-start-without-debugger/m-p/980256#M5644</guid>
      <dc:creator>antoine_monmarc</dc:creator>
      <dc:date>2020-01-20T15:15:55Z</dc:date>
    </item>
    <item>
      <title>Re: S32K116 with IAR doesn't start without debugger</title>
      <link>https://community.nxp.com/t5/S32K/S32K116-with-IAR-doesn-t-start-without-debugger/m-p/980257#M5645</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please find attached my IAR linker file.&lt;/P&gt;&lt;P&gt;it is based on S32_SDK_RTM_3.0.0 file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jan 2020 08:30:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K116-with-IAR-doesn-t-start-without-debugger/m-p/980257#M5645</guid>
      <dc:creator>antoine_monmarc</dc:creator>
      <dc:date>2020-01-21T08:30:48Z</dc:date>
    </item>
    <item>
      <title>Re: S32K116 with IAR doesn't start without debugger</title>
      <link>https://community.nxp.com/t5/S32K/S32K116-with-IAR-doesn-t-start-without-debugger/m-p/980258#M5646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See also attached my map file&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jan 2020 09:47:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K116-with-IAR-doesn-t-start-without-debugger/m-p/980258#M5646</guid>
      <dc:creator>antoine_monmarc</dc:creator>
      <dc:date>2020-01-21T09:47:04Z</dc:date>
    </item>
    <item>
      <title>Re: S32K116 with IAR doesn't start without debugger</title>
      <link>https://community.nxp.com/t5/S32K/S32K116-with-IAR-doesn-t-start-without-debugger/m-p/980259#M5647</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;With JLink debugger and JFlash v6.60b software I can start manually the application by using Target-&amp;gt;Manual Programing-&amp;gt;Start Application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It gives me the following log:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Starting application ...&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; - Connecting via USB to J-Link device 0&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; - J-Link firmware: J-Link V10 compiled Jan 7 2020 16:51:47&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; - Device "S32K116" selected.&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; - InitTarget()&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; - Found SW-DP with ID 0x0BC11477&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; - Scanning AP map to find all available APs&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; - AP[2]: Stopped AP scan as end of AP map has been reached&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; - AP[0]: AHB-AP (IDR: 0x04770031)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; - AP[1]: JTAG-AP (IDR: 0x001C0020)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; - Iterating through AP map to find AHB-AP to use&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; - AP[0]: Core found&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; - AP[0]: AHB-AP ROM base: 0xF0002000&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; - CPUID register: 0x410CC601. Implementer code: 0x41 (ARM)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; - Found Cortex-M0 r0p1, Little endian.&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; - FPUnit: 2 code (BP) slots and 0 literal slots&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; - CoreSight components:&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; - ROMTbl[0] @ F0002000&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; - ROMTbl[0][0]: F0000000, CID: B105900D, PID: 001BB932 MTB-M0+&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; - ROMTbl[0][1]: F0001000, CID: B105900D, PID: 0008E000 MTBDWT&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; - ROMTbl[0][2]: E00FF000, CID: B105100D, PID: 000BB4C0 ROM Table&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; - ROMTbl[1] @ E00FF000&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; - ROMTbl[1][0]: E000E000, CID: B105E00D, PID: 000BB008 SCS&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; - ROMTbl[1][1]: E0001000, CID: B105E00D, PID: 000BB00A DWT&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; - ROMTbl[1][2]: E0002000, CID: B105E00D, PID: 000BB00B FPB&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; - Initializing 15360 bytes work RAM @ 0x1FFFFC00&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; - Reset: Halt core after reset via DEMCR.VC_CORERESET.&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; - Reset: Reset device via AIRCR.SYSRESETREQ.&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; - Reset: Halt core after reset via DEMCR.VC_CORERESET.&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; - Reset: Reset device via AIRCR.SYSRESETREQ.&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; - Target application started&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jan 2020 10:03:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K116-with-IAR-doesn-t-start-without-debugger/m-p/980259#M5647</guid>
      <dc:creator>antoine_monmarc</dc:creator>
      <dc:date>2020-01-21T10:03:03Z</dc:date>
    </item>
    <item>
      <title>Re: S32K116 with IAR doesn't start without debugger</title>
      <link>https://community.nxp.com/t5/S32K/S32K116-with-IAR-doesn-t-start-without-debugger/m-p/980260#M5648</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Issue is fixed after adding&amp;nbsp;START_FROM_FLASH in assembly preprocessor.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jan 2020 12:51:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K116-with-IAR-doesn-t-start-without-debugger/m-p/980260#M5648</guid>
      <dc:creator>antoine_monmarc</dc:creator>
      <dc:date>2020-01-21T12:51:05Z</dc:date>
    </item>
    <item>
      <title>Re: S32K116 with IAR doesn't start without debugger</title>
      <link>https://community.nxp.com/t5/S32K/S32K116-with-IAR-doesn-t-start-without-debugger/m-p/980261#M5649</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for posting this, had the same problem with an S32K118 using S32 design studio... Can't believe the default project settings are this bad!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Feb 2020 13:27:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K116-with-IAR-doesn-t-start-without-debugger/m-p/980261#M5649</guid>
      <dc:creator>ianchuter</dc:creator>
      <dc:date>2020-02-06T13:27:10Z</dc:date>
    </item>
  </channel>
</rss>

