<?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 Design StudioのトピックDebug issue with SPU5746C MCU 176 pin</title>
    <link>https://community.nxp.com/t5/S32-Design-Studio/Debug-issue-with-SPU5746C-MCU-176-pin/m-p/984779#M5572</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello NXP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have used a demo board to develop an application in MPU5746C-256 Pin MCU and I can successfuly debug my application.&lt;/P&gt;&lt;P&gt;Then I have ported my application project from 256 pin to 176 pin MCU and trying to debug it. But, I am not able to debug the application. It is haling at address "00000010:&amp;nbsp; &amp;nbsp;se_illegal" and running&amp;nbsp; &lt;SPAN&gt;se_illegal instruction.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I have read the memory region of my application and it has loaded into the flash memory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I&amp;nbsp;need your help to sort this problem. I am sharing the logs which I have got from Console window.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;Connection from "127.0.0.1" via 127.0.0.1. Connection from port "62757" to 7224&lt;BR /&gt;Copyright 2018 P&amp;amp;E Microcomputer Systems,Inc.&lt;BR /&gt;Command Line :C:\NXP\S32DS_Power_v2.1\eclipse\plugins\com.pemicro.debug.gdbjtag.ppc_1.9.9.201907200403\win32\pegdbserver_power_console -device=MPC5746C -startserver -singlesession -serverport=7224 -gdbmiport=6224 -interface=USBMULTILINK -speed=2500 -rese &lt;BR /&gt;Flash Data in range 0x00FA0000-0x00FA0007. &lt;BR /&gt;Flash Data in range 0x00FA0010-0x00FA0013. &lt;BR /&gt;Flash Data in range 0x01000000-0x01000167. &lt;BR /&gt;Flash Data in range 0x01001000-0x010010B3. &lt;BR /&gt;Flash Data in range 0x01002000-0x01002BFB. &lt;BR /&gt;Flash Data in range 0x01002C00-0x010151B2. &lt;BR /&gt;Flash Data in range 0x010151B4-0x01017F17. &lt;BR /&gt;Flash Data in range 0x01140000-0x01140167. &lt;BR /&gt;Flash Data in range 0x01141000-0x011410B3. &lt;BR /&gt;Flash Data in range 0x01142000-0x01142BFB. &lt;BR /&gt;Flash Data in range 0x01142C00-0x0114612B. &lt;BR /&gt; &lt;BR /&gt;CMD&amp;gt;RE&lt;BR /&gt; &lt;BR /&gt;Initializing.&lt;BR /&gt; &lt;BR /&gt;Device IDCODE is $00000085 &lt;BR /&gt;Device ID revision is $00000001 &lt;BR /&gt;Initializing Ram Block 0x40000000-0x40007FFF. &lt;BR /&gt;MPC574xB/C/D Device detected. &lt;BR /&gt;Target has been RESET and is active.&lt;BR /&gt;CMD&amp;gt;CM C:\NXP\S32DS_Power_v2.1\eclipse\plugins\com.pemicro.debug.gdbjtag.ppc_1.9.9.201907200403\win32\gdi\P&amp;amp;E\nxp_mpc5746c_1x32x736k_cflash.pcp&lt;BR /&gt; &lt;BR /&gt;Initializing.&lt;BR /&gt; &lt;BR /&gt;Device IDCODE is $00000085 &lt;BR /&gt;Device ID revision is $00000001 &lt;BR /&gt;Initializing Ram Block 0x40000000-0x40007FFF. &lt;BR /&gt;MPC574xB/C/D Device detected. &lt;BR /&gt;Initialized.&lt;BR /&gt; &lt;BR /&gt;;version 1.06, 06/27/2017, Copyright P&amp;amp;E Microcomputer Systems, &lt;A href="https://community.nxp.com/www.pemicro.com" target="test_blank"&gt;www.pemicro.com&lt;/A&gt; [5746C_2944k]&lt;BR /&gt; &lt;BR /&gt;;device NXP, MPC5746C, 1x32x736k, desc=CFlash&lt;BR /&gt; &lt;BR /&gt;;begin_cs device=$00F90000, length=$002F0000, ram=$40000000&lt;BR /&gt; &lt;BR /&gt;Loading programming algorithm ... &lt;BR /&gt;Done.&lt;BR /&gt;Programming sequency is : erase, blank check, program, and verify {default} &lt;BR /&gt;CMD&amp;gt;VC&lt;BR /&gt;Verifying object file CRC-16 to device ranges ... &lt;BR /&gt; block 00FA0000-00FA0007 ... &lt;BR /&gt;Ok. &lt;BR /&gt; block 00FA0010-00FA0013 ... &lt;BR /&gt;Calculated CRC-16 does not match block. (File = $3331, Device = $6184) &lt;BR /&gt;Current content of flash does not match application to be programmed &lt;BR /&gt; &lt;BR /&gt;CMD&amp;gt;EM&lt;BR /&gt; &lt;BR /&gt;Erasing.&lt;BR /&gt;Module has been erased.&lt;BR /&gt;CMD&amp;gt;PM&lt;BR /&gt; &lt;BR /&gt;Programming.&lt;BR /&gt;Processing Object File Data ... &lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt;. &lt;BR /&gt;Programmed.&lt;BR /&gt;CMD&amp;gt;VC&lt;BR /&gt;Verifying object file CRC-16 to device ranges ... &lt;BR /&gt; block 00FA0000-00FA0007 ... &lt;BR /&gt;Ok. &lt;BR /&gt; block 00FA0010-00FA0013 ... &lt;BR /&gt;Ok. &lt;BR /&gt; block 01000000-01000167 ... &lt;BR /&gt;Ok. &lt;BR /&gt; block 01001000-010010B3 ... &lt;BR /&gt;Ok. &lt;BR /&gt; block 01002000-01002BFB ... &lt;BR /&gt;Ok. &lt;BR /&gt; block 01002C00-010151B2 ... &lt;BR /&gt;Ok. &lt;BR /&gt; block 010151B4-01017F17 ... &lt;BR /&gt;Ok. &lt;BR /&gt; block 01140000-01140167 ... &lt;BR /&gt;Ok. &lt;BR /&gt; block 01141000-011410B3 ... &lt;BR /&gt;Ok. &lt;BR /&gt; block 01142000-01142BFB ... &lt;BR /&gt;Ok. &lt;BR /&gt; block 01142C00-0114612B ... &lt;BR /&gt;Ok. &lt;BR /&gt; Checksum Verification Successful. (Cumulative CRC-16=$38B3) &lt;BR /&gt; &lt;BR /&gt;CMD&amp;gt;RE&lt;BR /&gt; &lt;BR /&gt;Initializing.&lt;BR /&gt; &lt;BR /&gt;Device IDCODE is $00000085 &lt;BR /&gt;Device ID revision is $00000001 &lt;BR /&gt;Initializing Ram Block 0x40000000-0x40007FFF. &lt;BR /&gt;MPC574xB/C/D Device detected. &lt;BR /&gt;Target has been RESET and is active.&lt;BR /&gt; &lt;BR /&gt;Device IDCODE is $00000085 &lt;BR /&gt;Device ID revision is $00000001 &lt;BR /&gt; &lt;BR /&gt;Device IDCODE is $00000085 &lt;BR /&gt;Device ID revision is $00000001 &lt;BR /&gt; &lt;BR /&gt;Starting reset script (C:\NXP\S32DS_Power_v2.1\eclipse\plugins\com.pemicro.debug.gdbjtag.ppc_1.9.9.201907200403\win32\gdi\P&amp;amp;E\s32e200_mpc574xc.mac) ... &lt;BR /&gt;REM This script is compatible with MPC574xC devices. &lt;BR /&gt;REM Clean GPRs to remove residual data after using algorithm &lt;BR /&gt;REM Initialize all of the Main SRAM - 512KB &lt;BR /&gt;Initializing RAM from $40000000 to $4007FFFF. &lt;BR /&gt;Initializing Ram Block 0x40000000-0x4007FFFF. &lt;BR /&gt; &lt;BR /&gt;Reset script (C:\NXP\S32DS_Power_v2.1\eclipse\plugins\com.pemicro.debug.gdbjtag.ppc_1.9.9.201907200403\win32\gdi\P&amp;amp;E\s32e200_mpc574xc.mac) completed. &lt;BR /&gt; &lt;BR /&gt;MPC574xB/C/D Device detected. &lt;BR /&gt;Setting PC as part of Binary Load to 0x01000000.&lt;BR /&gt;Interrupt command received. Halting execution.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Nov 2019 09:35:38 GMT</pubDate>
    <dc:creator>ke_liang</dc:creator>
    <dc:date>2019-11-28T09:35:38Z</dc:date>
    <item>
      <title>Debug issue with SPU5746C MCU 176 pin</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/Debug-issue-with-SPU5746C-MCU-176-pin/m-p/984779#M5572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello NXP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have used a demo board to develop an application in MPU5746C-256 Pin MCU and I can successfuly debug my application.&lt;/P&gt;&lt;P&gt;Then I have ported my application project from 256 pin to 176 pin MCU and trying to debug it. But, I am not able to debug the application. It is haling at address "00000010:&amp;nbsp; &amp;nbsp;se_illegal" and running&amp;nbsp; &lt;SPAN&gt;se_illegal instruction.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I have read the memory region of my application and it has loaded into the flash memory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I&amp;nbsp;need your help to sort this problem. I am sharing the logs which I have got from Console window.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;Connection from "127.0.0.1" via 127.0.0.1. Connection from port "62757" to 7224&lt;BR /&gt;Copyright 2018 P&amp;amp;E Microcomputer Systems,Inc.&lt;BR /&gt;Command Line :C:\NXP\S32DS_Power_v2.1\eclipse\plugins\com.pemicro.debug.gdbjtag.ppc_1.9.9.201907200403\win32\pegdbserver_power_console -device=MPC5746C -startserver -singlesession -serverport=7224 -gdbmiport=6224 -interface=USBMULTILINK -speed=2500 -rese &lt;BR /&gt;Flash Data in range 0x00FA0000-0x00FA0007. &lt;BR /&gt;Flash Data in range 0x00FA0010-0x00FA0013. &lt;BR /&gt;Flash Data in range 0x01000000-0x01000167. &lt;BR /&gt;Flash Data in range 0x01001000-0x010010B3. &lt;BR /&gt;Flash Data in range 0x01002000-0x01002BFB. &lt;BR /&gt;Flash Data in range 0x01002C00-0x010151B2. &lt;BR /&gt;Flash Data in range 0x010151B4-0x01017F17. &lt;BR /&gt;Flash Data in range 0x01140000-0x01140167. &lt;BR /&gt;Flash Data in range 0x01141000-0x011410B3. &lt;BR /&gt;Flash Data in range 0x01142000-0x01142BFB. &lt;BR /&gt;Flash Data in range 0x01142C00-0x0114612B. &lt;BR /&gt; &lt;BR /&gt;CMD&amp;gt;RE&lt;BR /&gt; &lt;BR /&gt;Initializing.&lt;BR /&gt; &lt;BR /&gt;Device IDCODE is $00000085 &lt;BR /&gt;Device ID revision is $00000001 &lt;BR /&gt;Initializing Ram Block 0x40000000-0x40007FFF. &lt;BR /&gt;MPC574xB/C/D Device detected. &lt;BR /&gt;Target has been RESET and is active.&lt;BR /&gt;CMD&amp;gt;CM C:\NXP\S32DS_Power_v2.1\eclipse\plugins\com.pemicro.debug.gdbjtag.ppc_1.9.9.201907200403\win32\gdi\P&amp;amp;E\nxp_mpc5746c_1x32x736k_cflash.pcp&lt;BR /&gt; &lt;BR /&gt;Initializing.&lt;BR /&gt; &lt;BR /&gt;Device IDCODE is $00000085 &lt;BR /&gt;Device ID revision is $00000001 &lt;BR /&gt;Initializing Ram Block 0x40000000-0x40007FFF. &lt;BR /&gt;MPC574xB/C/D Device detected. &lt;BR /&gt;Initialized.&lt;BR /&gt; &lt;BR /&gt;;version 1.06, 06/27/2017, Copyright P&amp;amp;E Microcomputer Systems, &lt;A href="https://community.nxp.com/www.pemicro.com" target="test_blank"&gt;www.pemicro.com&lt;/A&gt; [5746C_2944k]&lt;BR /&gt; &lt;BR /&gt;;device NXP, MPC5746C, 1x32x736k, desc=CFlash&lt;BR /&gt; &lt;BR /&gt;;begin_cs device=$00F90000, length=$002F0000, ram=$40000000&lt;BR /&gt; &lt;BR /&gt;Loading programming algorithm ... &lt;BR /&gt;Done.&lt;BR /&gt;Programming sequency is : erase, blank check, program, and verify {default} &lt;BR /&gt;CMD&amp;gt;VC&lt;BR /&gt;Verifying object file CRC-16 to device ranges ... &lt;BR /&gt; block 00FA0000-00FA0007 ... &lt;BR /&gt;Ok. &lt;BR /&gt; block 00FA0010-00FA0013 ... &lt;BR /&gt;Calculated CRC-16 does not match block. (File = $3331, Device = $6184) &lt;BR /&gt;Current content of flash does not match application to be programmed &lt;BR /&gt; &lt;BR /&gt;CMD&amp;gt;EM&lt;BR /&gt; &lt;BR /&gt;Erasing.&lt;BR /&gt;Module has been erased.&lt;BR /&gt;CMD&amp;gt;PM&lt;BR /&gt; &lt;BR /&gt;Programming.&lt;BR /&gt;Processing Object File Data ... &lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt;. &lt;BR /&gt;Programmed.&lt;BR /&gt;CMD&amp;gt;VC&lt;BR /&gt;Verifying object file CRC-16 to device ranges ... &lt;BR /&gt; block 00FA0000-00FA0007 ... &lt;BR /&gt;Ok. &lt;BR /&gt; block 00FA0010-00FA0013 ... &lt;BR /&gt;Ok. &lt;BR /&gt; block 01000000-01000167 ... &lt;BR /&gt;Ok. &lt;BR /&gt; block 01001000-010010B3 ... &lt;BR /&gt;Ok. &lt;BR /&gt; block 01002000-01002BFB ... &lt;BR /&gt;Ok. &lt;BR /&gt; block 01002C00-010151B2 ... &lt;BR /&gt;Ok. &lt;BR /&gt; block 010151B4-01017F17 ... &lt;BR /&gt;Ok. &lt;BR /&gt; block 01140000-01140167 ... &lt;BR /&gt;Ok. &lt;BR /&gt; block 01141000-011410B3 ... &lt;BR /&gt;Ok. &lt;BR /&gt; block 01142000-01142BFB ... &lt;BR /&gt;Ok. &lt;BR /&gt; block 01142C00-0114612B ... &lt;BR /&gt;Ok. &lt;BR /&gt; Checksum Verification Successful. (Cumulative CRC-16=$38B3) &lt;BR /&gt; &lt;BR /&gt;CMD&amp;gt;RE&lt;BR /&gt; &lt;BR /&gt;Initializing.&lt;BR /&gt; &lt;BR /&gt;Device IDCODE is $00000085 &lt;BR /&gt;Device ID revision is $00000001 &lt;BR /&gt;Initializing Ram Block 0x40000000-0x40007FFF. &lt;BR /&gt;MPC574xB/C/D Device detected. &lt;BR /&gt;Target has been RESET and is active.&lt;BR /&gt; &lt;BR /&gt;Device IDCODE is $00000085 &lt;BR /&gt;Device ID revision is $00000001 &lt;BR /&gt; &lt;BR /&gt;Device IDCODE is $00000085 &lt;BR /&gt;Device ID revision is $00000001 &lt;BR /&gt; &lt;BR /&gt;Starting reset script (C:\NXP\S32DS_Power_v2.1\eclipse\plugins\com.pemicro.debug.gdbjtag.ppc_1.9.9.201907200403\win32\gdi\P&amp;amp;E\s32e200_mpc574xc.mac) ... &lt;BR /&gt;REM This script is compatible with MPC574xC devices. &lt;BR /&gt;REM Clean GPRs to remove residual data after using algorithm &lt;BR /&gt;REM Initialize all of the Main SRAM - 512KB &lt;BR /&gt;Initializing RAM from $40000000 to $4007FFFF. &lt;BR /&gt;Initializing Ram Block 0x40000000-0x4007FFFF. &lt;BR /&gt; &lt;BR /&gt;Reset script (C:\NXP\S32DS_Power_v2.1\eclipse\plugins\com.pemicro.debug.gdbjtag.ppc_1.9.9.201907200403\win32\gdi\P&amp;amp;E\s32e200_mpc574xc.mac) completed. &lt;BR /&gt; &lt;BR /&gt;MPC574xB/C/D Device detected. &lt;BR /&gt;Setting PC as part of Binary Load to 0x01000000.&lt;BR /&gt;Interrupt command received. Halting execution.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Nov 2019 09:35:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/Debug-issue-with-SPU5746C-MCU-176-pin/m-p/984779#M5572</guid>
      <dc:creator>ke_liang</dc:creator>
      <dc:date>2019-11-28T09:35:38Z</dc:date>
    </item>
    <item>
      <title>Re: Debug issue with SPU5746C MCU 176 pin</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/Debug-issue-with-SPU5746C-MCU-176-pin/m-p/984780#M5573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Are you able to figure out which line of code is causing application to jump at 0x0000_0010? There is probably an IVOR exception occured during code execution?&lt;/P&gt;&lt;P&gt;Are you able to reach main() function? If not then I'd recommend you to disable run on reset feature and check if startup code is executed correctly:&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/104262iAC9C81BCD2D99830/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;If the very first instruction causes the IVOR exception please check if MCU Reset Configuration Half Word + reset vector is correct and check ABS/FAB pins so the internel flash boot mode is enabled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it does not help could you send us more information e.g.:&lt;/P&gt;&lt;P&gt;The debugger screenshots that depict the error.&lt;/P&gt;&lt;P&gt;Describe the circumstances before the error occurs.&lt;/P&gt;&lt;P&gt;Are you using a custom board or NXP evaluation board?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will help us to resolve this iisue much faster&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Apr 2020 12:04:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/Debug-issue-with-SPU5746C-MCU-176-pin/m-p/984780#M5573</guid>
      <dc:creator>stanish</dc:creator>
      <dc:date>2020-04-27T12:04:39Z</dc:date>
    </item>
  </channel>
</rss>

