<?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>topic Re: isr_vctor in KDS in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/isr-vector-in-KDS/m-p/1174683#M58652</link>
    <description>&lt;P&gt;Yeah it in fact does not reset every time it enters this "__isr_vector() at 0x0" -mode&lt;/P&gt;&lt;P&gt;The Call Stack view in KDS is empty &amp;amp; does not show anything when it is stopped.&lt;/P&gt;</description>
    <pubDate>Wed, 28 Oct 2020 18:14:03 GMT</pubDate>
    <dc:creator>stdcerr</dc:creator>
    <dc:date>2020-10-28T18:14:03Z</dc:date>
    <item>
      <title>isr_vector in KDS</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/isr-vector-in-KDS/m-p/1170487#M58558</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm working on a project in Kinetis Design Studio using a SEGGER J-Link debugger. Now, when I run the application, KDS seemingly randomly after some time jumps to a tab that reads "isr_vector" and only shows "No source available for "__isr_vector() at 0x0" and a [View Disassembly...] button (which clicked only shows a dotted line in the Disassemby window. Sometimes, the application keeps running as if nothing had happened while other times it does stop. There is a debug console hooked up to UART0 and an RFID reader to UART4 and nothing else should be active. How do I best go about finding the seemingly misconfigured isr vector?&lt;/P&gt;</description>
      <pubDate>Thu, 22 Oct 2020 23:17:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/isr-vector-in-KDS/m-p/1170487#M58558</guid>
      <dc:creator>stdcerr</dc:creator>
      <dc:date>2020-10-22T23:17:44Z</dc:date>
    </item>
    <item>
      <title>Re: isr_vctor in KDS</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/isr-vector-in-KDS/m-p/1170830#M58566</link>
      <description>&lt;P&gt;Hi stderr,&lt;/P&gt;
&lt;P&gt;When you go into debug mode, does the disassembly window display dotted line at address 0x0? It display something like "movs r0,r0" in my demo project.&lt;/P&gt;
&lt;P&gt;SCB-&amp;gt;VTOR register assign the vector table start address.&lt;/P&gt;
&lt;P&gt;And you can check NVIC-&amp;gt; ISER(interrupt set enable register at 0xe000e100) and NVIC-&amp;gt;ISPR(interrupt set pending register at 0xe000e200) to see what interrupt is happening.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Jing&lt;/P&gt;</description>
      <pubDate>Wed, 21 Oct 2020 07:56:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/isr-vector-in-KDS/m-p/1170830#M58566</guid>
      <dc:creator>jingpan</dc:creator>
      <dc:date>2020-10-21T07:56:43Z</dc:date>
    </item>
    <item>
      <title>Re: isr_vctor in KDS</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/isr-vector-in-KDS/m-p/1172592#M58594</link>
      <description>&lt;P&gt;Hi Jing,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the reply:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/61241"&gt;@jingpan&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;Hi stderr,&lt;/P&gt;&lt;P&gt;When you go into debug mode, does the disassembly window display dotted line at address 0x0? It display something like "movs r0,r0" in my demo project.&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Yes, all I see is:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="stdcerr_0-1603478395485.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/128171iB01799A72B7E4FEF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="stdcerr_0-1603478395485.png" alt="stdcerr_0-1603478395485.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/61241"&gt;@jingpan&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;SCB-&amp;gt;VTOR register assign the vector table start address.&lt;/P&gt;&lt;P&gt;And you can check NVIC-&amp;gt; ISER(interrupt set enable register at 0xe000e100) and NVIC-&amp;gt;ISPR(interrupt set pending register at 0xe000e200) to see what interrupt is happening.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;There is no SCB or NVIC register, the only ones I see are:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="stdcerr_1-1603478487477.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/128172iCABC3771D069327D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="stdcerr_1-1603478487477.png" alt="stdcerr_1-1603478487477.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;s0 is followed up with registers up to s31.&lt;/P&gt;&lt;P&gt;One thing I found it, that the sp register reads:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Name : sp
	Hex:0x0
	Decimal:0
	Octal:0
	Binary:0
	Default:0x0 &amp;lt;__isr_vector&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;when I click on it, also the pc looks like:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Name : pc
	Hex:0x0
	Decimal:0
	Octal:0
	Binary:0
	Default:0x0 &amp;lt;__isr_vector&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;all others just show 0s which I find odd.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Oct 2020 18:49:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/isr-vector-in-KDS/m-p/1172592#M58594</guid>
      <dc:creator>stdcerr</dc:creator>
      <dc:date>2020-10-23T18:49:56Z</dc:date>
    </item>
    <item>
      <title>Re: isr_vctor in KDS</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/isr-vector-in-KDS/m-p/1173013#M58609</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;It seems everything is crash. All registers is zero.&lt;/P&gt;
&lt;P&gt;NVIC and SCB register can't be read in that window. You can read them in memory window by input address.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Jing&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Oct 2020 09:23:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/isr-vector-in-KDS/m-p/1173013#M58609</guid>
      <dc:creator>jingpan</dc:creator>
      <dc:date>2020-10-26T09:23:29Z</dc:date>
    </item>
    <item>
      <title>Re: isr_vctor in KDS</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/isr-vector-in-KDS/m-p/1173361#M58618</link>
      <description>&lt;P&gt;I have the same situation now, KDS stopped, "No source available for "__isr_vector() at 0x0", All registers are 0x0 but in the disassembly window I now have:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;00000000:   Failed to execute MI command:
          -data-disassemble -s 0 -e 140 -- 3
          Error message from debugger back end:
          Cannot access memory at address 0x0
00000001:   Failed to execute MI command:
          -data-disassemble -s 1 -e 77 -- 3
          Error message from debugger back end:
          Cannot access memory at address 0x0
00000002:   Failed to execute MI command:
          -data-disassemble -s 2 -e 78 -- 3
          Error message from debugger back end:
          Cannot access memory at address 0x2
00000003:   Failed to execute MI command:
          -data-disassemble -s 3 -e 79 -- 3
          Error message from debugger back end:
          Cannot access memory at address 0x2
00000004:   Failed to execute MI command:
          -data-disassemble -s 4 -e 80 -- 3
          Error message from debugger back end:
          Cannot access memory at address 0x4
00000005:   Failed to execute MI command:
          -data-disassemble -s 5 -e 81 -- 3
          Error message from debugger back end:
          Cannot access memory at address 0x4
00000006:   Failed to execute MI command:
          -data-disassemble -s 6 -e 82 -- 3
          Error message from debugger back end:
          Cannot access memory at address 0x6
00000007:   Failed to execute MI command:
          -data-disassemble -s 7 -e 83 -- 3
          Error message from debugger back end:
          Cannot access memory at address 0x6
00000008:   Failed to execute MI command:
          -data-disassemble -s 8 -e 84 -- 3
          Error message from debugger back end:
          Cannot access memory at address 0x8
00000009:   Failed to execute MI command:
          -data-disassemble -s 9 -e 85 -- 3
          Error message from debugger back end:
          Cannot access memory at address 0x8
0000000a:   Failed to execute MI command:
          -data-disassemble -s 10 -e 86 -- 3
          Error message from debugger back end:
          Cannot access memory at address 0xa
0000000b:   Failed to execute MI command:
          -data-disassemble -s 11 -e 87 -- 3
          Error message from debugger back end:
          Cannot access memory at address 0xa
0000000c:   Failed to execute MI command:
          -data-disassemble -s 12 -e 88 -- 3
          Error message from debugger back end:
          Cannot access memory at address 0xc
0000000d:   Failed to execute MI command:
          -data-disassemble -s 13 -e 89 -- 3
          Error message from debugger back end:
          Cannot access memory at address 0xc
0000000e:   Failed to execute MI command:
          -data-disassemble -s 14 -e 90 -- 3
          Error message from debugger back end:
          Cannot access memory at address 0xe
0000000f:   Failed to execute MI command:
          -data-disassemble -s 15 -e 91 -- 3
          Error message from debugger back end:
          Cannot access memory at address 0xe
00000010:   Failed to execute MI command:
          -data-disassemble -s 16 -e 92 -- 3
          Error message from debugger back end:
          Cannot access memory at address 0x10
00000011:   Failed to execute MI command:
          -data-disassemble -s 17 -e 93 -- 3
          Error message from debugger back end:
          Cannot access memory at address 0x10

...
...&lt;/LI-CODE&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;and this all while the application still runs on the MCU, I'm confused to say the least.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Oct 2020 21:46:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/isr-vector-in-KDS/m-p/1173361#M58618</guid>
      <dc:creator>stdcerr</dc:creator>
      <dc:date>2020-10-26T21:46:49Z</dc:date>
    </item>
    <item>
      <title>Re: isr_vctor in KDS</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/isr-vector-in-KDS/m-p/1173372#M58619</link>
      <description>&lt;P&gt;in fact, when the isr error kicks in, the application seems to reset and to start running from beginning but then run just fine....&lt;/P&gt;</description>
      <pubDate>Mon, 26 Oct 2020 22:14:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/isr-vector-in-KDS/m-p/1173372#M58619</guid>
      <dc:creator>stdcerr</dc:creator>
      <dc:date>2020-10-26T22:14:39Z</dc:date>
    </item>
    <item>
      <title>Re: isr_vctor in KDS</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/isr-vector-in-KDS/m-p/1173479#M58623</link>
      <description>&lt;P&gt;Hi stdcerr,&lt;/P&gt;
&lt;P&gt;When this bug comes, cpu may also stay in unknow state and the reset condition will not happen. You must check what is wrong both in hardware and software. There is a stack window in KDS. You can see the pc position and stack status before crash.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Jing&amp;nbsp; &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Oct 2020 02:27:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/isr-vector-in-KDS/m-p/1173479#M58623</guid>
      <dc:creator>jingpan</dc:creator>
      <dc:date>2020-10-27T02:27:36Z</dc:date>
    </item>
    <item>
      <title>Re: isr_vctor in KDS</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/isr-vector-in-KDS/m-p/1174683#M58652</link>
      <description>&lt;P&gt;Yeah it in fact does not reset every time it enters this "__isr_vector() at 0x0" -mode&lt;/P&gt;&lt;P&gt;The Call Stack view in KDS is empty &amp;amp; does not show anything when it is stopped.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Oct 2020 18:14:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/isr-vector-in-KDS/m-p/1174683#M58652</guid>
      <dc:creator>stdcerr</dc:creator>
      <dc:date>2020-10-28T18:14:03Z</dc:date>
    </item>
    <item>
      <title>Re: isr_vctor in KDS</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/isr-vector-in-KDS/m-p/1175037#M58660</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I can't think of any smart way to debug. If you believe this is caused by isr, you can toggle a gpio when in/out interrupt service code. Then shrink the position till find the problem.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Jing&lt;/P&gt;</description>
      <pubDate>Thu, 29 Oct 2020 06:17:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/isr-vector-in-KDS/m-p/1175037#M58660</guid>
      <dc:creator>jingpan</dc:creator>
      <dc:date>2020-10-29T06:17:51Z</dc:date>
    </item>
  </channel>
</rss>

