This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM263P4: HSM

Part Number: AM263P4

Hi,

What is the difference between

HSM_M4_ROM,    HSM_M4_SEC_ROM,    HSM_M4_RAM and 

HSM_ROM,           HSM_SEC_ROM,           HSM_RAM 

 

Regards,

Geeths K

  • Hi Geeths K,

    The difference between these memory region names is primarily about perspective and addressing, not physical memory:

    HSM_M4_ROM, HSM_M4_SEC_ROM, and HSM_M4_RAM refer to memory regions as accessed from within the HSM itself, while HSM_ROM, HSM_SEC_ROM, and HSM_RAM refer to the exact same physical memory regions but as accessed from the MSS perspective.

    To clarify:
    - HSM_ROM and HSM_M4_ROM refer to the same physical "Public ROM" (Partition-0 of ROM)
    - HSM_M4_ROM: Address range 0x00000000 to 0x0000BFFC (HSM internal view)
    - HSM_ROM: Address range 0x20000000 to 0x2000BFFC (MSS external view)

    - Similarly, HSM_SEC_ROM and HSM_M4_SEC_ROM refer to the same physical secure ROM region, just accessed through different address spaces depending on which processor is accessing it.

    - HSM_RAM and HSM_M4_RAM follow the same pattern for RAM regions within the HSM.

    The infix "M4" in the region name (e.g., HSM_ROM → HSM_M4_ROM) indicates the logical view of the memory from the HSM's perspective, while the versions without "M4" represent how these same memory regions appear in the MSS address map.

    Hope this helps clarify the naming convention.

    Best regards,

  • Hi Ajeet,

     Could also explain the difference between HSM_ROM, HSM_SEC_ROM(Secure ROM) ?

    Thank You,

    Geetha

  • Hi Geetha,

    The difference between HSM_ROM and HSM_SEC_ROM is based on their functional partitioning:

    HSM_ROM (Public ROM - Partition 0):
    - Size: 48 KBytes
    - Address Range: 0x20000000 to 0x2000BFFC (from MSS view) or 0x00000000 to 0x0000BFFC (from HSM M4 view)
    - Purpose: Contains standard SoC boot configurations such as PLL configurations, Pinmux settings, and general boot sequence
    code
    - Access: Generally accessible during normal operation

    HSM_SEC_ROM (Secure ROM - Partition 1):
    - Size: 48 KBytes
    - Address Range: 0x20010000 to 0x2001BFFC (from MSS view) or 0x00010000 to 0x0001BFFC (from HSM M4 view)
    - Purpose: Contains secure functions including authentication routines, security services, and secure boot code
    - Access: Protected by access control mechanisms.

    Total ROM: 96 KBytes (48 KB Public ROM + 48 KB Secure ROM)

    Both ROMs have ECC protection and operate at 200 MHz. The Secure ROM plays a critical role in secure boot operations, including
    authentication using RSA and AES algorithms.

    Best regards,