<?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 debug on s32k142 48 pin package with generated code from processor expert  in S32 Design Studio</title>
    <link>https://community.nxp.com/t5/S32-Design-Studio/debug-on-s32k142-48-pin-package-with-generated-code-from/m-p/783894#M3142</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently I have some problems with debugging software on s32k142 48 pin processor. After flashing the software on the target, the software jumps in to an default ISR. See the first pic below pls.&lt;/P&gt;&lt;P&gt;It indicating the software stopped at Watchdog ISR in disassembly viewer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The Watchdog is actually disabled by default while debugging. Besides that I disabled the watchdog manually at the beginning of the program and tried again. it jumped still in the Watch dog ISR from the same code line (which is really wired).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;Afterwards I debugged the software step by step and found that&amp;nbsp;the&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;exception&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;is because of the code line which is marked in the second pic. It seems that there would be an error by pointing the Port base in target.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt; This software module was created by processor expert for s32k142_100 100-pins LQFP100. (pic below)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;can i still use processor expert for the 48 pin micro ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS:&amp;nbsp;&lt;/P&gt;&lt;P&gt;I didn't find a description for s32k142 48 pin in reference manual. but i think the memory adress should be the same as the 100-pins microprocessor or even in the whole s32k1xx family.&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone help me to figure out this exception issue ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regrads&amp;nbsp;&lt;/P&gt;&lt;P&gt;Baoyuan&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Dec 2018 09:40:04 GMT</pubDate>
    <dc:creator>bgong</dc:creator>
    <dc:date>2018-12-11T09:40:04Z</dc:date>
    <item>
      <title>debug on s32k142 48 pin package with generated code from processor expert</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/debug-on-s32k142-48-pin-package-with-generated-code-from/m-p/783894#M3142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently I have some problems with debugging software on s32k142 48 pin processor. After flashing the software on the target, the software jumps in to an default ISR. See the first pic below pls.&lt;/P&gt;&lt;P&gt;It indicating the software stopped at Watchdog ISR in disassembly viewer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The Watchdog is actually disabled by default while debugging. Besides that I disabled the watchdog manually at the beginning of the program and tried again. it jumped still in the Watch dog ISR from the same code line (which is really wired).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;Afterwards I debugged the software step by step and found that&amp;nbsp;the&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;exception&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;is because of the code line which is marked in the second pic. It seems that there would be an error by pointing the Port base in target.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt; This software module was created by processor expert for s32k142_100 100-pins LQFP100. (pic below)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;can i still use processor expert for the 48 pin micro ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS:&amp;nbsp;&lt;/P&gt;&lt;P&gt;I didn't find a description for s32k142 48 pin in reference manual. but i think the memory adress should be the same as the 100-pins microprocessor or even in the whole s32k1xx family.&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone help me to figure out this exception issue ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regrads&amp;nbsp;&lt;/P&gt;&lt;P&gt;Baoyuan&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Dec 2018 09:40:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/debug-on-s32k142-48-pin-package-with-generated-code-from/m-p/783894#M3142</guid>
      <dc:creator>bgong</dc:creator>
      <dc:date>2018-12-11T09:40:04Z</dc:date>
    </item>
    <item>
      <title>Re: debug on s32k142 48 pin package with generated code from processor expert</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/debug-on-s32k142-48-pin-package-with-generated-code-from/m-p/783895#M3143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using 100 pin project with 64 pin device causes that your program ends in exception. Pins init function is trying setup pins which aren't physically present on your MCU. Please change package layout from 100 pin to 64:&lt;BR /&gt;&lt;A href="https://community.nxp.com/docs/DOC-334936"&gt;How to change package on S32DS Processor Expert&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jiri&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Dec 2018 12:04:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/debug-on-s32k142-48-pin-package-with-generated-code-from/m-p/783895#M3143</guid>
      <dc:creator>jiri_kral</dc:creator>
      <dc:date>2018-12-11T12:04:25Z</dc:date>
    </item>
    <item>
      <title>Re: debug on s32k142 48 pin package with generated code from processor expert</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/debug-on-s32k142-48-pin-package-with-generated-code-from/m-p/783896#M3144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jiri,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for your quickly reply.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using a s32k142 48 pin package which is not supported in processor expert. Only the&amp;nbsp; LQFP100 and LQFP64 are avaiable.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there another sulotion?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Baoyuan&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Dec 2018 12:26:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/debug-on-s32k142-48-pin-package-with-generated-code-from/m-p/783896#M3144</guid>
      <dc:creator>bgong</dc:creator>
      <dc:date>2018-12-11T12:26:33Z</dc:date>
    </item>
    <item>
      <title>Re: debug on s32k142 48 pin package with generated code from processor expert</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/debug-on-s32k142-48-pin-package-with-generated-code-from/m-p/783897#M3145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Um, I see. I didn't find this part S32k142 48 pin in our portfolio and was assuming that 48 pin is just typo. Well, in this case there is no solution yet. SDK is not supporting 48 pin package.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jiri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Dec 2018 12:36:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/debug-on-s32k142-48-pin-package-with-generated-code-from/m-p/783897#M3145</guid>
      <dc:creator>jiri_kral</dc:creator>
      <dc:date>2018-12-11T12:36:37Z</dc:date>
    </item>
    <item>
      <title>Re: debug on s32k142 48 pin package with generated code from processor expert</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/debug-on-s32k142-48-pin-package-with-generated-code-from/m-p/783898#M3146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;okay, i just tried to assign the register directly instead of using sdk. and it works for me. Maybe i should rewrite some libs. thanks for your information. please let me know if you have some further informations.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;Baoyuan&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Dec 2018 12:50:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/debug-on-s32k142-48-pin-package-with-generated-code-from/m-p/783898#M3146</guid>
      <dc:creator>bgong</dc:creator>
      <dc:date>2018-12-11T12:50:26Z</dc:date>
    </item>
  </channel>
</rss>

