<?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: [S32N55 / HSE2] Debug Card Request — HSE_DEBUG_INVALID_DEBUG_DOMAIN_MAP_ERR in S32G</title>
    <link>https://community.nxp.com/t5/S32G/S32N55-HSE2-Debug-Card-Request-HSE-DEBUG-INVALID-DEBUG-DOMAIN/m-p/2397624#M16662</link>
    <description>&lt;P&gt;Hello,&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/243574"&gt;@EddiePark&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for your post.&lt;/P&gt;
&lt;P&gt;1. It is pleased to hear that the phase1 has been passed without issues.2.&amp;nbsp; For your phase2 queries, I am still checking with it for a more clear description, and would reply you later if there are any valuable updates&lt;/P&gt;
&lt;P&gt;To make it aligned, would you mind sharing with me the latest logs and corresponding scripts used again, which could be shared via message as usual.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Chenyin&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 22 Jul 2026 08:43:09 GMT</pubDate>
    <dc:creator>chenyin_h</dc:creator>
    <dc:date>2026-07-22T08:43:09Z</dc:date>
    <item>
      <title>[S32N55 / HSE2] Debug Card Request — HSE_DEBUG_INVALID_DEBUG_DOMAIN_MAP_ERR</title>
      <link>https://community.nxp.com/t5/S32G/S32N55-HSE2-Debug-Card-Request-HSE-DEBUG-INVALID-DEBUG-DOMAIN/m-p/2397465#M16661</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Following up on S32N55 (HSE2) Secure Debug. CRS(APP) challenge-response authentication now works (final response 0x4A4A4A4A). I am now on the debug card request (HSE_DEBUG_CMD_CARD_REQUEST), and it returns:&lt;/P&gt;&lt;P&gt;HSE_DEBUG_INVALID_DEBUG_DOMAIN_MAP_ERR ((hseDebugError_t)0x20) — "invalid debug domain map in debug card."&lt;/P&gt;&lt;P&gt;What I send (per your earlier feedback):&lt;/P&gt;&lt;P&gt;Packet2 Debug Domain Signal List: array style, List[22..26] = 0x01 each (CRS: Cortex-M7, PCIe, CRS NoC/CAN NoC, CANXL0-1, CANXL2-3), all other bytes 0x00.&lt;/P&gt;&lt;P&gt;Packet3 enabledDebugDomainMap (uint64_t): 0x07C00000 as advised (bits 22-26).&lt;/P&gt;&lt;P&gt;AuthScheme: macAlgo = HSE_MAC_ALGO_CMAC = 0x11.&lt;/P&gt;&lt;P&gt;AuthTag: AES256-CMAC over the card info, authLen = 16.&lt;/P&gt;&lt;P&gt;What I have tried for enabledDebugDomainMap (uint64_t, 8 bytes on the wire):&lt;/P&gt;&lt;P&gt;Little-endian: 00 00 C0 07 00 00 00 00 → 0x20&lt;BR /&gt;Big-endian: 00 00 00 00 07 C0 00 00 → 0x20&lt;BR /&gt;bit27 (0x08000000, matching AUTH target 0x1B) → 0x20&lt;BR /&gt;All return the same 0x20.&lt;/P&gt;&lt;P&gt;Questions:&lt;/P&gt;&lt;P&gt;1. For CRS, what is the exact enabledDebugDomainMap (uint64_t) value HSE expects, and in what wire byte order?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;2. Must enabledDebugDomainMap (Packet3 bitmask) be consistent with the Debug Domain Signal List (Packet2, array List[22..26])? What is the exact relationship?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;3. The RM example states "domain 1,3 enabled → 0x00..A0." Could you clarify the domain-to-bit mapping so I can compute the CRS value?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;4. Does HSE validate the domain map before verifying the AuthTag? I want to confirm whether 0x20 indicates only the domain map is wrong, or whether other fields (e.g. the AuthTag / signed data range) could also be causing HSE to stop at this point.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I also want to confirm the signed data range for the card AuthTag: I currently compute AES256-CMAC over the card info fields (authKeyRef + reserved0 + ownerId + authScheme + signal list + domain map + UID list). Is this the correct data to sign?&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jul 2026 01:41:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/S32N55-HSE2-Debug-Card-Request-HSE-DEBUG-INVALID-DEBUG-DOMAIN/m-p/2397465#M16661</guid>
      <dc:creator>EddiePark</dc:creator>
      <dc:date>2026-07-22T01:41:52Z</dc:date>
    </item>
    <item>
      <title>Re: [S32N55 / HSE2] Debug Card Request — HSE_DEBUG_INVALID_DEBUG_DOMAIN_MAP_ERR</title>
      <link>https://community.nxp.com/t5/S32G/S32N55-HSE2-Debug-Card-Request-HSE-DEBUG-INVALID-DEBUG-DOMAIN/m-p/2397624#M16662</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/243574"&gt;@EddiePark&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for your post.&lt;/P&gt;
&lt;P&gt;1. It is pleased to hear that the phase1 has been passed without issues.2.&amp;nbsp; For your phase2 queries, I am still checking with it for a more clear description, and would reply you later if there are any valuable updates&lt;/P&gt;
&lt;P&gt;To make it aligned, would you mind sharing with me the latest logs and corresponding scripts used again, which could be shared via message as usual.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Chenyin&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jul 2026 08:43:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/S32N55-HSE2-Debug-Card-Request-HSE-DEBUG-INVALID-DEBUG-DOMAIN/m-p/2397624#M16662</guid>
      <dc:creator>chenyin_h</dc:creator>
      <dc:date>2026-07-22T08:43:09Z</dc:date>
    </item>
  </channel>
</rss>

