<?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>S32 SDKのトピックRe: Demo sdhc_fatfs_mpc5748g error</title>
    <link>https://community.nxp.com/t5/S32-SDK/Demo-sdhc-fatfs-mpc5748g-error/m-p/712499#M208</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can find MCSRR0 in the Special Purpose Registers.&lt;/P&gt;&lt;P&gt;Window -&amp;gt; Show View -&amp;gt; Other -&amp;gt; SPR registers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, from the regs above, the Link Register (LR) is likely giving the needed information. Can you post the disassembly (with full opcodes) for a few rows before and after address 0x10042b8.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;James&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Nov 2017 10:32:18 GMT</pubDate>
    <dc:creator>jamesmurray</dc:creator>
    <dc:date>2017-11-15T10:32:18Z</dc:date>
    <item>
      <title>Demo sdhc_fatfs_mpc5748g error</title>
      <link>https://community.nxp.com/t5/S32-SDK/Demo-sdhc-fatfs-mpc5748g-error/m-p/712493#M202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We try to run the&amp;nbsp;sdhc_fatfs_mpc5748g demo which is included in "S32_SDK_MPC574xx_EAR_0.8.1" on our EVB (MPC574XG-MB + MPC574XG-176DS), but get error message as below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/467i367D993D671947C4/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What should we do to make it run?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Oct 2017 05:43:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/Demo-sdhc-fatfs-mpc5748g-error/m-p/712493#M202</guid>
      <dc:creator>jeromeli</dc:creator>
      <dc:date>2017-10-23T05:43:27Z</dc:date>
    </item>
    <item>
      <title>Re: Demo sdhc_fatfs_mpc5748g error</title>
      <link>https://community.nxp.com/t5/S32-SDK/Demo-sdhc-fatfs-mpc5748g-error/m-p/712494#M203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can anyone help?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Oct 2017 03:41:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/Demo-sdhc-fatfs-mpc5748g-error/m-p/712494#M203</guid>
      <dc:creator>jeromeli</dc:creator>
      <dc:date>2017-10-30T03:41:42Z</dc:date>
    </item>
    <item>
      <title>Re: Demo sdhc_fatfs_mpc5748g error</title>
      <link>https://community.nxp.com/t5/S32-SDK/Demo-sdhc-fatfs-mpc5748g-error/m-p/712495#M204</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;could you please write me content of MCSRR0 register while you are in IVOR1 exception? This could help us to identify, which instruction caused the IVOR exception.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Nov 2017 13:00:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/Demo-sdhc-fatfs-mpc5748g-error/m-p/712495#M204</guid>
      <dc:creator>martin_kovar</dc:creator>
      <dc:date>2017-11-01T13:00:02Z</dc:date>
    </item>
    <item>
      <title>Re: Demo sdhc_fatfs_mpc5748g error</title>
      <link>https://community.nxp.com/t5/S32-SDK/Demo-sdhc-fatfs-mpc5748g-error/m-p/712496#M205</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't know if it is related, but are the Linflex register definitions correct?&lt;/P&gt;&lt;P&gt;Perhaps similar to this?&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/463193"&gt;https://community.nxp.com/thread/463193&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;James&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Nov 2017 22:02:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/Demo-sdhc-fatfs-mpc5748g-error/m-p/712496#M205</guid>
      <dc:creator>jamesmurray</dc:creator>
      <dc:date>2017-11-03T22:02:40Z</dc:date>
    </item>
    <item>
      <title>Re: Demo sdhc_fatfs_mpc5748g error</title>
      <link>https://community.nxp.com/t5/S32-SDK/Demo-sdhc-fatfs-mpc5748g-error/m-p/712497#M206</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello James,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do not think so (but I am not 100% sure ;-)). I have tested this example using Lauterbach debugger and it worked correct on my side. So, I think this could be some PEMicro related problem or something like that. This is the reason I would like to know, which instruction causes IVOR1 exception.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Nov 2017 13:03:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/Demo-sdhc-fatfs-mpc5748g-error/m-p/712497#M206</guid>
      <dc:creator>martin_kovar</dc:creator>
      <dc:date>2017-11-08T13:03:44Z</dc:date>
    </item>
    <item>
      <title>Re: Demo sdhc_fatfs_mpc5748g error</title>
      <link>https://community.nxp.com/t5/S32-SDK/Demo-sdhc-fatfs-mpc5748g-error/m-p/712498#M207</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Martin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know where to find the&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;MCSRR0 register. If it is among the general registers, here are the register values when IVOR1 exception occurs:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt; r0 16804154 &lt;BR /&gt; r1 1073814928 &lt;BR /&gt; r2 1073809716 &lt;BR /&gt; r3 260 &lt;BR /&gt; r4 4102 &lt;BR /&gt; r5 -256252 &lt;BR /&gt; r6 1 &lt;BR /&gt; r7 -1507328 &lt;BR /&gt; r8 0 &lt;BR /&gt; r9 0 &lt;BR /&gt; r10 0 &lt;BR /&gt; r11 1073814992 &lt;BR /&gt; r12 0 &lt;BR /&gt; r13 1073809700 &lt;BR /&gt; r14 0 &lt;BR /&gt; r15 0 &lt;BR /&gt; r16 0 &lt;BR /&gt; r17 0 &lt;BR /&gt; r18 0 &lt;BR /&gt; r19 0 &lt;BR /&gt; r20 0 &lt;BR /&gt; r21 0 &lt;BR /&gt; r22 0 &lt;BR /&gt; r23 0 &lt;BR /&gt; r24 0 &lt;BR /&gt; r25 0 &lt;BR /&gt; r26 0 &lt;BR /&gt; r27 0 &lt;BR /&gt; r28 0 &lt;BR /&gt; r29 0 &lt;BR /&gt; r30 0 &lt;BR /&gt; r31 1073814928 &lt;BR /&gt; pc 0x1002bcc &amp;lt;IVOR1_Handler&amp;gt; &lt;BR /&gt; msr 0 &lt;BR /&gt; cr 572522498 &lt;BR /&gt; lr 0x10042b8 &amp;lt;InitializeUART+68&amp;gt; &lt;BR /&gt; ctr 0 &lt;BR /&gt; xer 536870912 &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Nov 2017 08:26:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/Demo-sdhc-fatfs-mpc5748g-error/m-p/712498#M207</guid>
      <dc:creator>jeromeli</dc:creator>
      <dc:date>2017-11-15T08:26:26Z</dc:date>
    </item>
    <item>
      <title>Re: Demo sdhc_fatfs_mpc5748g error</title>
      <link>https://community.nxp.com/t5/S32-SDK/Demo-sdhc-fatfs-mpc5748g-error/m-p/712499#M208</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can find MCSRR0 in the Special Purpose Registers.&lt;/P&gt;&lt;P&gt;Window -&amp;gt; Show View -&amp;gt; Other -&amp;gt; SPR registers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, from the regs above, the Link Register (LR) is likely giving the needed information. Can you post the disassembly (with full opcodes) for a few rows before and after address 0x10042b8.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;James&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Nov 2017 10:32:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/Demo-sdhc-fatfs-mpc5748g-error/m-p/712499#M208</guid>
      <dc:creator>jamesmurray</dc:creator>
      <dc:date>2017-11-15T10:32:18Z</dc:date>
    </item>
    <item>
      <title>Re: Demo sdhc_fatfs_mpc5748g error</title>
      <link>https://community.nxp.com/t5/S32-SDK/Demo-sdhc-fatfs-mpc5748g-error/m-p/712500#M209</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;MCSRR0 value as follows:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/33194iA7A3EA6A3D4711B5/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know why the Disassembly window shows nothing:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/33261iC0BF1402A22E6967/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I can tell address 0x10041bc&amp;nbsp;is within function LINFlexD_2_Init whose base address is 0x10041a0:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/33290i74F4AC5CE6CD10F8/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the address offset from&amp;nbsp;&lt;SPAN&gt;LINFlexD_2_Init&amp;nbsp;is&amp;nbsp;0x10041&lt;SPAN&gt;bc&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;-&amp;nbsp;0x10041a0 = 0x1c. I disassemble uart.c and get:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_5.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/33329i8CDECC1F633D49B1/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_5.png" alt="pastedImage_5.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;If I didn't go wrong,&amp;nbsp;0x10041&lt;SPAN&gt;bc&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;should be "se_stw&amp;nbsp; r6,0(r7)"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Nov 2017 03:36:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/Demo-sdhc-fatfs-mpc5748g-error/m-p/712500#M209</guid>
      <dc:creator>jeromeli</dc:creator>
      <dc:date>2017-11-17T03:36:08Z</dc:date>
    </item>
    <item>
      <title>Re: Demo sdhc_fatfs_mpc5748g error</title>
      <link>https://community.nxp.com/t5/S32-SDK/Demo-sdhc-fatfs-mpc5748g-error/m-p/712501#M210</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've had the problem where the Disassembly stops working numerous times. What I do to fix it, is to use the X to close that sub-window and then go back to Window -&amp;gt; Show View -&amp;gt; Disassembly to re-open it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Assuming you've found the relevant address, that's storing the value of r6 (which is 1) into the address pointed to by r7.&lt;/P&gt;&lt;P&gt;r7 was just set to 0xffe90000. That is the address of&amp;nbsp;LINFlexD_2_LINCR1 (from page 1891 for MPC5748G RM) so that looks ok to me? (The problem I had was that the supplier header file pointed to reserved addresses causing a crash.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Probably best to set a breakpoint at the start of that function and single-step to see exactly where it is bombing out.&lt;/P&gt;&lt;P&gt;The lines at 0xc and 0x12 aren't complete in that disassembly because they haven't been linked yet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;James&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Nov 2017 12:45:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/Demo-sdhc-fatfs-mpc5748g-error/m-p/712501#M210</guid>
      <dc:creator>jamesmurray</dc:creator>
      <dc:date>2017-11-17T12:45:39Z</dc:date>
    </item>
    <item>
      <title>Re: Demo sdhc_fatfs_mpc5748g error</title>
      <link>https://community.nxp.com/t5/S32-SDK/Demo-sdhc-fatfs-mpc5748g-error/m-p/712502#M211</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, now I can see the assemble codes after re-opening the Disassembly window. The last line before going to IVOR1 is as follows:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/33422i0FABC5220389E549/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I've still got no idea of why the exception occurs.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Nov 2017 06:38:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/Demo-sdhc-fatfs-mpc5748g-error/m-p/712502#M211</guid>
      <dc:creator>jeromeli</dc:creator>
      <dc:date>2017-11-20T06:38:09Z</dc:date>
    </item>
    <item>
      <title>Re: Demo sdhc_fatfs_mpc5748g error</title>
      <link>https://community.nxp.com/t5/S32-SDK/Demo-sdhc-fatfs-mpc5748g-error/m-p/712503#M212</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sometimes the indication here can be misleading. Earlier I said "LR=0x10042b8" so look there... well that's what the disassembly window is doing, but that's the wrong place. (It is the return address where the code would go _after_ LINFlexD_2_Init had completed.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What you had earlier with "&lt;SPAN&gt;LINFlexD_2_Init&amp;nbsp;is&amp;nbsp;0x10041bc&amp;nbsp;-&amp;nbsp;0x10041a0 = 0x1c." is the correct place to be looking.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Put a breakpoint just before the call (e.g. line 130 "fifostate = FIFO_ENABLED"), re-run the code and when the breakpoint hits, step into LinFlexD_2_Init and keep stepping until it goes wrong.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;James&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Nov 2017 16:51:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/Demo-sdhc-fatfs-mpc5748g-error/m-p/712503#M212</guid>
      <dc:creator>jamesmurray</dc:creator>
      <dc:date>2017-11-20T16:51:29Z</dc:date>
    </item>
    <item>
      <title>Re: Demo sdhc_fatfs_mpc5748g error</title>
      <link>https://community.nxp.com/t5/S32-SDK/Demo-sdhc-fatfs-mpc5748g-error/m-p/712504#M213</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I did exactly what you said, the interesting thing was that when I ran it step by step, it didn't go to exception anymore. It executed the whole&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;LINFlexD_2_Init function without any mistake.&amp;nbsp;Then I let it run freely again, and it&amp;nbsp;finally stopped at DevAssert, see as below. Totally beyond my understanding :smileysilly:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/33435i42687CBFEB4D8B85/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Nov 2017 02:41:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/Demo-sdhc-fatfs-mpc5748g-error/m-p/712504#M213</guid>
      <dc:creator>jeromeli</dc:creator>
      <dc:date>2017-11-21T02:41:32Z</dc:date>
    </item>
    <item>
      <title>Re: Demo sdhc_fatfs_mpc5748g error</title>
      <link>https://community.nxp.com/t5/S32-SDK/Demo-sdhc-fatfs-mpc5748g-error/m-p/712505#M214</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I&amp;nbsp;installed the brand new release of S32DS&amp;nbsp;(2007&amp;nbsp;R1), and found that this problem disappeared in the new version. I think we can close this topic now. Thank you! lol&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Nov 2017 10:55:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/Demo-sdhc-fatfs-mpc5748g-error/m-p/712505#M214</guid>
      <dc:creator>jeromeli</dc:creator>
      <dc:date>2017-11-21T10:55:00Z</dc:date>
    </item>
  </channel>
</rss>

