<?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: S32K148 EVB with secure boot cannot be connected in S32K</title>
    <link>https://community.nxp.com/t5/S32K/S32K148-EVB-with-secure-boot-cannot-be-connected/m-p/1400075#M13669</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/37795"&gt;@lukaszadrapa&lt;/a&gt;&amp;nbsp;again,&lt;BR /&gt;&lt;BR /&gt;Is there any progress on this issue, because this issue still maintains its importance and urgency for me.&lt;/P&gt;&lt;P&gt;Best Regards.&lt;/P&gt;</description>
    <pubDate>Mon, 17 Jan 2022 08:01:07 GMT</pubDate>
    <dc:creator>nevozade</dc:creator>
    <dc:date>2022-01-17T08:01:07Z</dc:date>
    <item>
      <title>S32K148 EVB with secure boot cannot be connected</title>
      <link>https://community.nxp.com/t5/S32K/S32K148-EVB-with-secure-boot-cannot-be-connected/m-p/1396759#M13594</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I worked on S32K148 EVB for a project and after upload an example code that named csec_keyconfig_s32k148 to understand the CSEc secure boot. It was uploaded successfully. However, I cannot have any connection to the board from Pemicro debugger or openSDA. It is blocked. I looked for some similiar issues but I do not understand them and cannot solve this problem. Is there anyone who describe the procedure to reset to factory state/save the board?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jan 2022 08:23:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K148-EVB-with-secure-boot-cannot-be-connected/m-p/1396759#M13594</guid>
      <dc:creator>nevozade</dc:creator>
      <dc:date>2022-01-11T08:23:55Z</dc:date>
    </item>
    <item>
      <title>Re: S32K148 cannot be connected</title>
      <link>https://community.nxp.com/t5/S32K/S32K148-EVB-with-secure-boot-cannot-be-connected/m-p/1396844#M13596</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have faced same problem before but I cannot find any solution. Is there anyone who knows the solution?&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jan 2022 16:59:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K148-EVB-with-secure-boot-cannot-be-connected/m-p/1396844#M13596</guid>
      <dc:creator>hkaracali</dc:creator>
      <dc:date>2022-01-10T16:59:11Z</dc:date>
    </item>
    <item>
      <title>Re: S32K148 cannot be connected</title>
      <link>https://community.nxp.com/t5/S32K/S32K148-EVB-with-secure-boot-cannot-be-connected/m-p/1397314#M13609</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I run&amp;nbsp;csec_keyconfig_s32k148 example on the S32K148 EVB. However I cannot connect or reprogram EVB via OpenSDA or Multilink debugger. How can I solve this issue?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Best reagrds.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jan 2022 10:11:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K148-EVB-with-secure-boot-cannot-be-connected/m-p/1397314#M13609</guid>
      <dc:creator>hkaracali</dc:creator>
      <dc:date>2022-01-11T10:11:26Z</dc:date>
    </item>
    <item>
      <title>Re: S32K148 EVB with secure boot cannot be connected</title>
      <link>https://community.nxp.com/t5/S32K/S32K148-EVB-with-secure-boot-cannot-be-connected/m-p/1397462#M13614</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Important point is that once the CSE is enabled, mass erase cannot be executed. To be able to mass erase the flash, it’s necessary to reset the chip back to factory state using CMD_DBG_CHAL and CMD_DBG_AUTH commands. For this operation, you need to know MASTER_ECU_KEY. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;There are following reasons why the chip is (or seems to be) bricked:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;- if your debugger uses mass erase when loading new project to flash, it won’t work due to reasons described above. Some debuggers erase individual blocks instead of performing mass erase, so this works. But you should be still able to establish the connection via JTAG/SWD and you should be able to load a project to RAM memory.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;- if you enabled strict sequential boot mode and the flash content does not corresponds to calculated CMAC. In this case, the chip will never leave reset state and it cannot be recovered. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;So, my recommendation is to check if the reset signal is asserted all the time and if you are able to enter debug mode via JTAG/SWD. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;To destroy the partition / disable CSE, you can use project 5_Resetting_flash_to_the_factory_state from AN5401:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com/webapp/Download?colCode=AN5401&amp;amp;location=null" target="_blank"&gt;https://www.nxp.com/webapp/Download?colCode=AN5401&amp;amp;location=null&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com/webapp/Download?colCode=AN5401SW&amp;amp;location=null" target="_blank"&gt;https://www.nxp.com/webapp/Download?colCode=AN5401SW&amp;amp;location=null&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Notice that it needs to be executed from RAM and it is necessary to update your MASTER_ECU_KEY in file CSEc_functions.c, function DBG_AUTH. Change this as needed and run the project:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;uint32_t MASTER_ECU_KEY_VALUE[4] = {0xD275F12C, 0xA863A7B5, 0xF933DF92, 0x6498FB4D}; &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Then mass erase should work and it should be possible to load new project to the flash. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Lukas&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jan 2022 14:53:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K148-EVB-with-secure-boot-cannot-be-connected/m-p/1397462#M13614</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2022-01-11T14:53:36Z</dc:date>
    </item>
    <item>
      <title>Re: S32K148 EVB with secure boot cannot be connected</title>
      <link>https://community.nxp.com/t5/S32K/S32K148-EVB-with-secure-boot-cannot-be-connected/m-p/1398032#M13624</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/37795"&gt;@lukaszadrapa&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;Thank you for your detailed explanations. The problem is going to be solved by this method. However, the example project 5 was created for S32K144, I cannot convert it to S32K148 properly. Can you explain it how?&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jan 2022 10:03:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K148-EVB-with-secure-boot-cannot-be-connected/m-p/1398032#M13624</guid>
      <dc:creator>nevozade</dc:creator>
      <dc:date>2022-01-12T10:03:21Z</dc:date>
    </item>
    <item>
      <title>Re: S32K148 EVB with secure boot cannot be connected</title>
      <link>https://community.nxp.com/t5/S32K/S32K148-EVB-with-secure-boot-cannot-be-connected/m-p/1398833#M13633</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;DIV style="color: #000000; font-family: arial; font-size: 12pt;"&gt;&lt;FONT face="arial" size="2"&gt;In case you have different derivative than S32K144, you can simply create new project for S32K148 and copy following files to your new project:&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV style="color: #000000; font-family: arial; font-size: 12pt;"&gt;&lt;FONT face="arial" size="2"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV style="color: #000000; font-family: arial; font-size: 12pt;"&gt;&lt;FONT face="arial" size="2"&gt;main.c&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV style="color: #000000; font-family: arial; font-size: 12pt;"&gt;&lt;FONT face="arial" size="2"&gt;CSEc_functions.c&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV style="color: #000000; font-family: arial; font-size: 12pt;"&gt;&lt;FONT face="arial" size="2"&gt;CSEc_functions.h&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV style="color: #000000; font-family: arial; font-size: 12pt;"&gt;&lt;FONT face="arial" size="2"&gt;CSEc_keys.h&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV style="color: #000000; font-family: arial; font-size: 12pt;"&gt;&lt;FONT face="arial" size="2"&gt;CSEc_macros.h&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV style="color: #000000; font-family: arial; font-size: 12pt;"&gt;&lt;FONT face="arial" size="2"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV style="color: #000000; font-family: arial; font-size: 12pt;"&gt;&lt;FONT face="arial" size="2"&gt;Also don't forget to change:&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV style="color: #000000; font-family: arial; font-size: 12pt;"&gt;&lt;FONT face="arial" size="2"&gt;#include "S32K144.h"&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV style="color: #000000; font-family: arial; font-size: 12pt;"&gt;&lt;FONT face="arial" size="2"&gt;to&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV style="color: #000000; font-family: arial; font-size: 12pt;"&gt;&lt;FONT face="arial" size="2"&gt;#include "S32K148.h"&lt;BR clear="none" /&gt;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV style="color: #000000; font-family: arial; font-size: 12pt;"&gt;&lt;FONT face="arial" size="2"&gt;in those files.&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV style="color: #000000; font-family: arial; font-size: 12pt;"&gt;&lt;FONT face="arial" size="2"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV style="color: #000000; font-family: arial; font-size: 12pt;"&gt;&lt;FONT face="arial" size="2"&gt;This is much easier than trying to reconfigure original project to different derivative.&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV style="color: #000000; font-family: arial; font-size: 12pt;"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV style="color: #000000; font-family: arial; font-size: 12pt;"&gt;&lt;FONT face="arial" size="2"&gt;Regards,&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV style="color: #000000; font-family: arial; font-size: 12pt;"&gt;&lt;FONT face="arial" size="2"&gt;Lukas&lt;/FONT&gt;&lt;/DIV&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jan 2022 10:41:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K148-EVB-with-secure-boot-cannot-be-connected/m-p/1398833#M13633</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2022-01-13T10:41:30Z</dc:date>
    </item>
    <item>
      <title>Re: S32K148 EVB with secure boot cannot be connected</title>
      <link>https://community.nxp.com/t5/S32K/S32K148-EVB-with-secure-boot-cannot-be-connected/m-p/1399463#M13647</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/37795"&gt;@lukaszadrapa&lt;/a&gt;&amp;nbsp; again,&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;I want&amp;nbsp; to give details about the situation. Now, I created a new S32K148 project 'named as unblocker' and copied the specified files from example reset flash to factory state project, then it was built successfully. However, I tried to load this 'unblocker' project both openSDA and Multilink, but it did not work, so I think that I am missing something about the MASTER_ECU_KEY_VALUE. It's like I can't access the board at all, let alone checking the key. I attached some figures. Two of them represent&amp;nbsp;the keys which were uploaded with the csec_keyconfig_s32k148 example project from csec_utils.c. One of them refers the MASTER_ECU_KEY_VALUE to unblock the board from 'unblocker' project (CSEc_functions.c). The last one shows the error window while connecting. Moreover, the project which blocked our board after uploading (csec_keyconfig_s32k148) is attached as used before. Briefly, by looking these keys that entered, may you say to me what I am doing wrong to unblock the board? Please, it is urgent.&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Best Regards.&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 14 Jan 2022 12:43:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K148-EVB-with-secure-boot-cannot-be-connected/m-p/1399463#M13647</guid>
      <dc:creator>nevozade</dc:creator>
      <dc:date>2022-01-14T12:43:10Z</dc:date>
    </item>
    <item>
      <title>Re: S32K148 EVB with secure boot cannot be connected</title>
      <link>https://community.nxp.com/t5/S32K/S32K148-EVB-with-secure-boot-cannot-be-connected/m-p/1400075#M13669</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/37795"&gt;@lukaszadrapa&lt;/a&gt;&amp;nbsp;again,&lt;BR /&gt;&lt;BR /&gt;Is there any progress on this issue, because this issue still maintains its importance and urgency for me.&lt;/P&gt;&lt;P&gt;Best Regards.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jan 2022 08:01:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K148-EVB-with-secure-boot-cannot-be-connected/m-p/1400075#M13669</guid>
      <dc:creator>nevozade</dc:creator>
      <dc:date>2022-01-17T08:01:07Z</dc:date>
    </item>
    <item>
      <title>Re: S32K148 EVB with secure boot cannot be connected</title>
      <link>https://community.nxp.com/t5/S32K/S32K148-EVB-with-secure-boot-cannot-be-connected/m-p/1400786#M13691</link>
      <description>&lt;P&gt;Friends, is there any update on the title for the solution?&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jan 2022 08:33:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K148-EVB-with-secure-boot-cannot-be-connected/m-p/1400786#M13691</guid>
      <dc:creator>turgaykale</dc:creator>
      <dc:date>2022-01-18T08:33:10Z</dc:date>
    </item>
    <item>
      <title>Re: S32K148 EVB with secure boot cannot be connected</title>
      <link>https://community.nxp.com/t5/S32K/S32K148-EVB-with-secure-boot-cannot-be-connected/m-p/1403205#M13758</link>
      <description>&lt;P&gt;Hello Everyone,&lt;/P&gt;&lt;P&gt;Is there any progress about this issue?&lt;/P&gt;&lt;P&gt;Best regards.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jan 2022 10:21:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K148-EVB-with-secure-boot-cannot-be-connected/m-p/1403205#M13758</guid>
      <dc:creator>hkaracali</dc:creator>
      <dc:date>2022-01-21T10:21:35Z</dc:date>
    </item>
    <item>
      <title>Re: S32K148 EVB with secure boot cannot be connected</title>
      <link>https://community.nxp.com/t5/S32K/S32K148-EVB-with-secure-boot-cannot-be-connected/m-p/1604317#M20888</link>
      <description>&lt;P&gt;Hi, I have tried to use&amp;nbsp;&lt;SPAN&gt;csec_keyconfig_s32k148 example code but it is giving some errors can you please guide which Version of S32 DS IDE you are using?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Feb 2023 06:17:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K148-EVB-with-secure-boot-cannot-be-connected/m-p/1604317#M20888</guid>
      <dc:creator>baseerahmadpiracha</dc:creator>
      <dc:date>2023-02-23T06:17:24Z</dc:date>
    </item>
  </channel>
</rss>

