<?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: Secure Debug on ls1028a in Layerscape</title>
    <link>https://community.nxp.com/t5/Layerscape/Secure-Debug-on-ls1028a/m-p/2325291#M16543</link>
    <description>dear &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/255919"&gt;@tomzy_0&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;you need to set the SB_EN = 1 and&lt;BR /&gt;IT_S =0 &lt;BR /&gt;download the SEC reference manual &lt;BR /&gt;&lt;A href="https://www.nxp.com/webapp/sps/download/preDownload.jsp?render=true" target="_blank"&gt;https://www.nxp.com/webapp/sps/download/preDownload.jsp?render=true&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;you could try the next approach (adjust it for LS1028a)  :&lt;BR /&gt;Check the SecMon_HP Status Register (location 0x1e90014), Bits OTPMK_ZERO, OTMPK_SYNDROME and PE should be 0 otherwise there is some error in the OTPMK fuse blown by you.&lt;BR /&gt;b. If OTMPK fuse is correct (see Step 1), check the SCRATCHRW2(0x1ee0204) register for errors.&lt;BR /&gt;c. If Error code of step b is 0 then check the System Security Monitor State filed of HPSR.&lt;BR /&gt;System Security Monitor State (0x9)&lt;BR /&gt;If ITS fuse = 1, then it means ISBC code has reset the board. This may be due to the following reasons:&lt;BR /&gt;Hash of the public key used to sign the ESBC u-boot doesn't match with the value in SRK Hash Fuse&lt;BR /&gt;Or&lt;BR /&gt;Signature verification of the image failed.&lt;BR /&gt;SSM_STATE (0xd) or Non Secure State (0xb)&lt;BR /&gt;Check the entry point field in the ESBC header. &lt;BR /&gt;&lt;BR /&gt;If entry point is correct, ensure that u-boot image has been compiled with the required secure boot configuration. &lt;BR /&gt;&lt;BR /&gt;BR&lt;BR /&gt;LFGP</description>
    <pubDate>Tue, 03 Mar 2026 02:10:03 GMT</pubDate>
    <dc:creator>LFGP</dc:creator>
    <dc:date>2026-03-03T02:10:03Z</dc:date>
    <item>
      <title>Secure Debug on ls1028a</title>
      <link>https://community.nxp.com/t5/Layerscape/Secure-Debug-on-ls1028a/m-p/2319429#M16487</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I want to test Secure Debug on a ls1028a based custom board. For now, I performed following steps:&lt;BR /&gt;&lt;BR /&gt;1. Fuse registers using fuse_fip and the following input_fuse_file&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;/*&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;* Copyright 2018 NXP&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;*/&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;---------------------------------------------------&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;PLATFORM&lt;/SPAN&gt;&lt;SPAN&gt;=LS1028&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;---------------------------------------------------&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;POVDD_GPIO&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;---------------------------------------------------&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;OTPMK_FLAGS&lt;/SPAN&gt;&lt;SPAN&gt;=0010&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;OTPMK_0&lt;/SPAN&gt;&lt;SPAN&gt;=11111111&lt;/SPAN&gt;&lt;/DIV&gt;&lt;D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PAN&gt;&lt;SPAN&gt;=34bec8dd&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;SRKH_5&lt;/SPAN&gt;&lt;SPAN&gt;=500d48bb&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;SRKH_6&lt;/SPAN&gt;&lt;SPAN&gt;=665582c0&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;SRKH_7&lt;/SPAN&gt;&lt;SPAN&gt;=8b826a4f&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;---------------------------------------------------&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;OEM_UID_0&lt;/SPAN&gt;&lt;SPAN&gt;=11223344&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;OEM_UID_1&lt;/SPAN&gt;&lt;SPAN&gt;=55667788&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;OEM_UID_2&lt;/SPAN&gt;&lt;SPAN&gt;=99001122&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;OEM_UID_3&lt;/SPAN&gt;&lt;SPAN&gt;=33445566&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;OEM_UID_4&lt;/SPAN&gt;&lt;SPAN&gt;=77889900&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;---------------------------------------------------&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;DCV_0&lt;/SPAN&gt;&lt;SPAN&gt;=68686868&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;DCV_1&lt;/SPAN&gt;&lt;SPAN&gt;=67676767&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;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;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;K5&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;K6&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;FR0&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;FR1&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;---------------------------------------------------&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;OUTPUT_FUSE_FILENAME&lt;/SPAN&gt;&lt;SPAN&gt;=fuse_scr.bin&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN&gt;---------------------------------------------------&lt;BR /&gt;&lt;BR /&gt;DRV created with gen_drv_drbg&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;P&gt;λ ./gen_drv_drbg A2 6168745f5f726e6e&lt;/P&gt;&lt;P&gt;#----------------------------------------------------#&lt;BR /&gt;#------- -------- -------- -------#&lt;BR /&gt;#------- CST (Code Signing Tool) Version 2.0 -------#&lt;BR /&gt;#------- -------- -------- -------#&lt;BR /&gt;#----------------------------------------------------#&lt;/P&gt;&lt;P&gt;DRV[63:0] after Hamming Code is:&lt;BR /&gt;6168745f5f726e6e&lt;BR /&gt;NAME | BITS | VALUE&lt;BR /&gt;_________|______________|____________&lt;BR /&gt;DRV 0 | 63 - 32 | 6168745f&lt;BR /&gt;DRV 1 | 31 - 0 | 5f726e6e&lt;BR /&gt;&lt;BR /&gt;I am able to confirm that those were correctly fused, by booting, and checking from U-Boot shell&lt;BR /&gt;&lt;BR /&gt;no hamming code error&lt;BR /&gt;&lt;BR /&gt;md 0x1e80024 1&lt;BR /&gt;01e80024: 00000000 ....&lt;BR /&gt;&lt;BR /&gt;dblev set to 1, dcvr also fused&lt;BR /&gt;&lt;BR /&gt;=&amp;gt; md 0x1e80204 3&lt;BR /&gt;01e80204: 00000001 68686868 67676767 ....hhhhgggg&lt;BR /&gt;&lt;BR /&gt;drvr set to 1&lt;BR /&gt;&lt;BR /&gt;=&amp;gt; md 0x1e80210 2&lt;BR /&gt;01e80210: ffffffff ffffffff ........&lt;BR /&gt;&lt;BR /&gt;Yet I am not able to connect. When I try with code warrior (Version: 11.5.12; Build Id: 221209), in target connection configuration I set `Secure debug key:` and provide the key there&amp;nbsp; `0x6e6e725f5f746861` (reversed endianness) and try to inspect i got an error with info&lt;BR /&gt;[CCS: subcore error during multicore operation]&lt;BR /&gt;&lt;BR /&gt;I was trying to follow Secure_boot.pptx presentation (link: &lt;A href="https://community.nxp.com/t5/Layerscape-Knowledge-Base/Secure-boot-Fuse-Provisioning-Secure-debug/ta-p/1988564" target="_blank"&gt;https://community.nxp.com/t5/Layerscape-Knowledge-Base/Secure-boot-Fuse-Provisioning-Secure-debug/ta-p/1988564&lt;/A&gt;) and test it from CCS but got the following&lt;BR /&gt;&lt;BR /&gt;(bin) 54 % delete all&lt;BR /&gt;(bin) 55 % config cc cwtap:192.168.0.32&lt;BR /&gt;(bin) 56 % show cc&lt;BR /&gt;0: CodeWarrior TAP (cwtap:192.168.0.32) CC software ver. {0.0}&lt;BR /&gt;(bin) 57 %&lt;BR /&gt;(bin) 57 % ccs::config_chain {ls1028a dap}&lt;BR /&gt;SAP2: Secure debug violation&lt;BR /&gt;(bin) 58 % display ccs::get_config_chain&lt;BR /&gt;Chain Position 0: LS1028A&lt;BR /&gt;Chain Position 1: DAP&lt;BR /&gt;Chain Position 2: SAP2&lt;BR /&gt;(bin) 59 %&lt;BR /&gt;(bin) 59 % ccs::config_chain {ls1028a dap sap2}&lt;BR /&gt;LS1028A: std::bad_alloc&lt;BR /&gt;(bin) 60 % ccs::config_chain {ls1028a dap}&lt;BR /&gt;SAP2: Secure debug violation&lt;BR /&gt;(bin) 61 % display ccs::get_config_chain&lt;BR /&gt;Chain Position 0: LS1028A&lt;BR /&gt;Chain Position 1: DAP&lt;BR /&gt;Chain Position 2: SAP2&lt;BR /&gt;(bin) 62 % display ccs::read_reg 0 sdcr 1 8&lt;BR /&gt;SAP2 error - read SAP_STATUS&lt;BR /&gt;&lt;BR /&gt;what is SAP2 error? I am unable to find any kind of information about it.&lt;BR /&gt;&lt;BR /&gt;Is there something I am doing wrongly?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 18 Feb 2026 11:56:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Secure-Debug-on-ls1028a/m-p/2319429#M16487</guid>
      <dc:creator>tomzy_0</dc:creator>
      <dc:date>2026-02-18T11:56:39Z</dc:date>
    </item>
    <item>
      <title>Re: Secure Debug on ls1028a</title>
      <link>https://community.nxp.com/t5/Layerscape/Secure-Debug-on-ls1028a/m-p/2319460#M16488</link>
      <description>&lt;P&gt;Are there any additional conditions under which the Secure Debug can work? Do I need to boot with Secure Boot? Be in any kind of SECMON state?&lt;/P&gt;</description>
      <pubDate>Wed, 18 Feb 2026 12:51:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Secure-Debug-on-ls1028a/m-p/2319460#M16488</guid>
      <dc:creator>tomzy_0</dc:creator>
      <dc:date>2026-02-18T12:51:39Z</dc:date>
    </item>
    <item>
      <title>Re: Secure Debug on ls1028a</title>
      <link>https://community.nxp.com/t5/Layerscape/Secure-Debug-on-ls1028a/m-p/2320007#M16493</link>
      <description>&lt;P&gt;dear&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/255919"&gt;@tomzy_0&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;DIV&gt;&lt;STRONG&gt;What is SAP2&lt;/STRONG&gt;&amp;nbsp;meaning? ans. it is the &lt;EM&gt;Secure Access Port&lt;/EM&gt;.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;If the device is set to open&amp;nbsp;the JTAG port, the SAP2 stays locked until you authenticate by the challenge/response event.&lt;/DIV&gt;
&lt;DIV&gt;Any attempt to enumerate or access it before you passed the challenge/response event, it will yield a &lt;STRONG&gt;“Secure debug violation”&lt;/STRONG&gt;, that’s why your are seeing the CCS logs message "Secure debug violation” and “SAP2 error – read SAP_STATUS”.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;please review the next case, it is related your case.&lt;/DIV&gt;
&lt;DIV&gt;&lt;A href="https://community.nxp.com/t5/CodeWarrior-for-QorIQ/JTAG-debug-challenge-response-in-CodeWarrior-connection-server/m-p/1281386" target="_blank"&gt;https://community.nxp.com/t5/CodeWarrior-for-QorIQ/JTAG-debug-challenge-response-in-CodeWarrior-connection-server/m-p/1281386&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;BR&lt;/DIV&gt;
&lt;DIV&gt;LFGP&lt;/DIV&gt;</description>
      <pubDate>Thu, 19 Feb 2026 01:26:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Secure-Debug-on-ls1028a/m-p/2320007#M16493</guid>
      <dc:creator>LFGP</dc:creator>
      <dc:date>2026-02-19T01:26:40Z</dc:date>
    </item>
    <item>
      <title>Re: Secure Debug on ls1028a</title>
      <link>https://community.nxp.com/t5/Layerscape/Secure-Debug-on-ls1028a/m-p/2320093#M16494</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/203371"&gt;@LFGP&lt;/a&gt;&amp;nbsp;thanks for quick reply. Unfortunately I already followed the steps provided in thread that you mentioned - the same were in the presentation I linked in my post. I also posted results of running such commands. I am even unable to read DCV as CCS in return print error log.&lt;BR /&gt;&lt;BR /&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/52411"&gt;@yipingwang&lt;/a&gt;&amp;nbsp;hello. Sorry for direct mention but I saw you was the one who replied in the thread. If I am not mistaken, you was also responsible for making the Secure Boot presentation.&lt;BR /&gt;&lt;BR /&gt;Would you be able to help? Difference between presentation and my case is that I am using ls1028a.&lt;BR /&gt;&lt;BR /&gt;The chain needs to be configured differently ({ls1028a dap/sap2} vs {ls1043a dap sap2}). But it is hard to tell if this is a real issue here. I guess there is no such thing as CCS documentation - without this it is hard to even debug further.&lt;BR /&gt;&lt;BR /&gt;I will go back to one of my questions. Does Secure Debug needs&amp;nbsp;&lt;SPAN&gt;additional conditions under which it can work? ITS set? Maybe SB_EN will be enough? Maybe other bit of RCW should be set?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Feb 2026 08:06:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Secure-Debug-on-ls1028a/m-p/2320093#M16494</guid>
      <dc:creator>tomzy_0</dc:creator>
      <dc:date>2026-02-19T08:06:59Z</dc:date>
    </item>
    <item>
      <title>Re: Secure Debug on ls1028a</title>
      <link>https://community.nxp.com/t5/Layerscape/Secure-Debug-on-ls1028a/m-p/2320940#M16504</link>
      <description>&lt;P&gt;dear&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/255919"&gt;@tomzy_0&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Please be sure that your device partnumber nomenclature has a letter E on it.&lt;/P&gt;
&lt;P&gt;On the other hand, please be sure regarding the "debug level" register has not been closet, see below&lt;/P&gt;
&lt;P&gt;--------------------------------------------------&lt;BR /&gt;# Specify Debug Level in binary form. [Optional]&lt;BR /&gt;# 000 -&amp;gt; Wide open: Debug portals are enabled unconditionally.&lt;BR /&gt;# 001 -&amp;gt; Conditionally open via challenge response, without notification.&lt;BR /&gt;# 01x -&amp;gt; Conditionally open via challenge response, with notification.&lt;BR /&gt;# 1xx -&amp;gt; Closed. All debug portals are disabled.&lt;BR /&gt;DBG_LVL=&lt;BR /&gt;---------------------------------------------------&lt;/P&gt;
&lt;DIV id="tinyMceEditor_8664aa7b01106LFGP_1" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;best regards&lt;/P&gt;
&lt;P&gt;LFGP&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Feb 2026 23:53:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Secure-Debug-on-ls1028a/m-p/2320940#M16504</guid>
      <dc:creator>LFGP</dc:creator>
      <dc:date>2026-02-20T23:53:24Z</dc:date>
    </item>
    <item>
      <title>Re: Secure Debug on ls1028a</title>
      <link>https://community.nxp.com/t5/Layerscape/Secure-Debug-on-ls1028a/m-p/2321041#M16505</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/203371"&gt;@LFGP&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;IIUC SoC with E in part number means that security is on? I will confirm that tomorrow, but I am nearly sure that it has to have E since I am able to run Secure Boot procedure on it.&lt;BR /&gt;&lt;BR /&gt;As for debug level.. I mentioned in my original post that right now I have lvl 001 which is&lt;BR /&gt;&lt;SPAN&gt;# 001 -&amp;gt; Conditionally open via challenge response, without notification.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;Below output from U-Boot shell.&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;=&amp;gt; md 0x1e80204 3&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;01e80204: 00000001 68686868 67676767 ....hhhhgggg&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;So 0x1e80204 is 00000001 -&amp;gt; DB_LVL set to 001.&lt;BR /&gt;&lt;BR /&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/203371"&gt;@LFGP&lt;/a&gt;&amp;nbsp; What else can be wrong here? How I can debug this further?&lt;/P&gt;</description>
      <pubDate>Sun, 22 Feb 2026 15:27:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Secure-Debug-on-ls1028a/m-p/2321041#M16505</guid>
      <dc:creator>tomzy_0</dc:creator>
      <dc:date>2026-02-22T15:27:42Z</dc:date>
    </item>
    <item>
      <title>Re: Secure Debug on ls1028a</title>
      <link>https://community.nxp.com/t5/Layerscape/Secure-Debug-on-ls1028a/m-p/2321154#M16506</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/203371"&gt;@LFGP&lt;/a&gt;&amp;nbsp;I am using&amp;nbsp;&lt;A href="https://www.nxp.com/part/LS1027AXE7NQA" target="_blank"&gt;https://www.nxp.com/part/LS1027AXE7NQA&lt;/A&gt;&amp;nbsp;so it &lt;SPAN&gt;has a letter E on it.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Feb 2026 08:28:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Secure-Debug-on-ls1028a/m-p/2321154#M16506</guid>
      <dc:creator>tomzy_0</dc:creator>
      <dc:date>2026-02-23T08:28:07Z</dc:date>
    </item>
    <item>
      <title>Re: Secure Debug on ls1028a</title>
      <link>https://community.nxp.com/t5/Layerscape/Secure-Debug-on-ls1028a/m-p/2322786#M16521</link>
      <description>&lt;P&gt;Is there something more I can try? Or maybe challenge/response procedure cannot be executed on ls1028a? Right now it behave like I had closed the jtag, but IIUC configuration used in input_fuse_file should set it to conditionally closed without notification. Also register read from U-Boot shell tell me the same information.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Feb 2026 01:45:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Secure-Debug-on-ls1028a/m-p/2322786#M16521</guid>
      <dc:creator>tomzy_0</dc:creator>
      <dc:date>2026-02-26T01:45:50Z</dc:date>
    </item>
    <item>
      <title>Re: Secure Debug on ls1028a</title>
      <link>https://community.nxp.com/t5/Layerscape/Secure-Debug-on-ls1028a/m-p/2325291#M16543</link>
      <description>dear &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/255919"&gt;@tomzy_0&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;you need to set the SB_EN = 1 and&lt;BR /&gt;IT_S =0 &lt;BR /&gt;download the SEC reference manual &lt;BR /&gt;&lt;A href="https://www.nxp.com/webapp/sps/download/preDownload.jsp?render=true" target="_blank"&gt;https://www.nxp.com/webapp/sps/download/preDownload.jsp?render=true&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;you could try the next approach (adjust it for LS1028a)  :&lt;BR /&gt;Check the SecMon_HP Status Register (location 0x1e90014), Bits OTPMK_ZERO, OTMPK_SYNDROME and PE should be 0 otherwise there is some error in the OTPMK fuse blown by you.&lt;BR /&gt;b. If OTMPK fuse is correct (see Step 1), check the SCRATCHRW2(0x1ee0204) register for errors.&lt;BR /&gt;c. If Error code of step b is 0 then check the System Security Monitor State filed of HPSR.&lt;BR /&gt;System Security Monitor State (0x9)&lt;BR /&gt;If ITS fuse = 1, then it means ISBC code has reset the board. This may be due to the following reasons:&lt;BR /&gt;Hash of the public key used to sign the ESBC u-boot doesn't match with the value in SRK Hash Fuse&lt;BR /&gt;Or&lt;BR /&gt;Signature verification of the image failed.&lt;BR /&gt;SSM_STATE (0xd) or Non Secure State (0xb)&lt;BR /&gt;Check the entry point field in the ESBC header. &lt;BR /&gt;&lt;BR /&gt;If entry point is correct, ensure that u-boot image has been compiled with the required secure boot configuration. &lt;BR /&gt;&lt;BR /&gt;BR&lt;BR /&gt;LFGP</description>
      <pubDate>Tue, 03 Mar 2026 02:10:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Secure-Debug-on-ls1028a/m-p/2325291#M16543</guid>
      <dc:creator>LFGP</dc:creator>
      <dc:date>2026-03-03T02:10:03Z</dc:date>
    </item>
    <item>
      <title>Re: Secure Debug on ls1028a</title>
      <link>https://community.nxp.com/t5/Layerscape/Secure-Debug-on-ls1028a/m-p/2337444#M16595</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/203371"&gt;@LFGP&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Hi, sorry for late reply. Below are outputs from the U-Boot shell.&lt;BR /&gt;&lt;BR /&gt;```&lt;BR /&gt;=&amp;gt; md 0x1e90014 1&lt;BR /&gt;01e90014: 80002900 .)..&lt;BR /&gt;```&lt;BR /&gt;&lt;BR /&gt;So, SecMon State set to Check. OTPMK_ZERO is 0. I do not know what is the OTPMK_SYNDROM or PE.&lt;BR /&gt;&lt;BR /&gt;```&lt;BR /&gt;=&amp;gt; md 0x1ee0204 1&lt;BR /&gt;01ee0204: 00000000 ....&lt;BR /&gt;```&lt;BR /&gt;&lt;BR /&gt;SCRATCHRW2 set to 0 so no errors. BTW, Hamming code is also zero - so everything should be ok.&lt;BR /&gt;&lt;BR /&gt;```&lt;BR /&gt;=&amp;gt; md 0x1e80024&lt;BR /&gt;01e80024: 00000000 ....&lt;BR /&gt;```&lt;BR /&gt;&lt;BR /&gt;Should the Secure Monitor be in different state?&lt;/P&gt;</description>
      <pubDate>Mon, 23 Mar 2026 09:12:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Secure-Debug-on-ls1028a/m-p/2337444#M16595</guid>
      <dc:creator>tomzy_0</dc:creator>
      <dc:date>2026-03-23T09:12:21Z</dc:date>
    </item>
    <item>
      <title>Re: Secure Debug on ls1028a</title>
      <link>https://community.nxp.com/t5/Layerscape/Secure-Debug-on-ls1028a/m-p/2337524#M16596</link>
      <description>I also checked the connection from CodeWarrior GUI with CCS logs set to DEBUG - this is what I found&lt;BR /&gt;&lt;BR /&gt;ccs_get_config_chain&lt;BR /&gt;serverh = 0&lt;BR /&gt;device_list: (size = 3)&lt;BR /&gt;ccs_get_config_chain; ccs_error = 0&lt;BR /&gt;ccs_get_config_chain&lt;BR /&gt;serverh = 0&lt;BR /&gt;device_list: (size = 3)&lt;BR /&gt;device[0]:: core_type=LS1028A(301)&lt;BR /&gt;device[1]:: core_type=DAP(232)&lt;BR /&gt;device[2]:: core_type=SAP2(272)&lt;BR /&gt;ccs_get_config_chain; ccs_error = 0&lt;BR /&gt;ccs_read_register&lt;BR /&gt;coreh = [serverh:0;cc_index:0;chain_pos:0]&lt;BR /&gt;index = 8192&lt;BR /&gt;count = 1&lt;BR /&gt;size = 8&lt;BR /&gt;value: (size = &lt;LI-EMOJI id="lia_smiling-face-with-sunglasses" title=":smiling_face_with_sunglasses:"&gt;&lt;/LI-EMOJI&gt;&lt;BR /&gt;00000000 00000000&lt;BR /&gt;ccs_read_register; ccs_error = 56&lt;BR /&gt;Error message: SAP2 error - read SAP_STATUS&lt;BR /&gt;ccs_get_config_chain&lt;BR /&gt;serverh = 0&lt;BR /&gt;device_list: (size = 3)&lt;BR /&gt;ccs_get_config_chain; ccs_error = 0&lt;BR /&gt;ccs_get_config_chain&lt;BR /&gt;serverh = 0&lt;BR /&gt;device_list: (size = 3)&lt;BR /&gt;device[0]:: core_type=LS1028A(301)&lt;BR /&gt;device[1]:: core_type=DAP(232)&lt;BR /&gt;device[2]:: core_type=SAP2(272)&lt;BR /&gt;ccs_get_config_chain; ccs_error = 0&lt;BR /&gt;ccs_write_register&lt;BR /&gt;coreh = [serverh:0;cc_index:0;chain_pos:0]&lt;BR /&gt;index = 8193&lt;BR /&gt;count = 1&lt;BR /&gt;size = 8&lt;BR /&gt;value: (size = &lt;LI-EMOJI id="lia_smiling-face-with-sunglasses" title=":smiling_face_with_sunglasses:"&gt;&lt;/LI-EMOJI&gt;&lt;BR /&gt;6168745F 5F726E6E&lt;BR /&gt;ccs_write_register; ccs_error = 56&lt;BR /&gt;Error message: SAP2 error - read SAP_STATUS&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;It looks like reading Challenge Value return all 0's and SAP2 error where it should return the challenge value that I am able to read from U-Boot shell. Why is that happening?</description>
      <pubDate>Mon, 23 Mar 2026 09:38:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Secure-Debug-on-ls1028a/m-p/2337524#M16596</guid>
      <dc:creator>tomzy_0</dc:creator>
      <dc:date>2026-03-23T09:38:14Z</dc:date>
    </item>
  </channel>
</rss>

