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.

AM62A7: HSM IPC Communication Stability Issue

Part Number: AM62A7


Tool/software:

Hello,

We are developing an HSM application on AM62A using mcu_plus_sdk_am62ax_09_02_00_38 and HSM_care_package_kit_v00.08.00. We encountered intermittent communication failures when using Secure Proxy-based IPC between the DM core (R5) and HSM (M4).

We implemented a periodic message exchange where the DM-R5 core sends a message every second via Secure Proxy, and HSM responds in the interrupt handler. However, the communication randomly stops after a few successful exchanges, with HSM no longer responding.

To debug the issue, We enabled SYSFW Trace logs, and after restarting the device, we observed that the A-core prints error logs as shown below, but no logs are seen from MCU, DM cores, or HSM.

  

The SBL logs indicate normal boot behavior.

Below is the log printed by Trace.

                  FWL Exception  0x1008000
                                           0x90000
                                                   0x400A78
                                                            0x0
                                                                0xFF922D4
                                                                          0x8

                                                                             0x421110
                                                                                     0x820024
                                                                                             0x4F8A00FF
                                                                                                       0x4F8B0001
                                                                                                                 0x4F80001A
                                                                                                                           0x4100001A
                                                                                                                                     0x4F8A00FF
                                                                                                                                               0x4F8B0001
                                                                                                                                                         0x4F80001A
                                                                                                                                                                   0x4100001A
                                                                                                                                                                             0x41070000
                                                                                                                                                                                      0x410800BF
         0x4F8A00FF
                   0x4F8B0001
                             0x4F80001A
                                       0x4100001A
                                                 0x421205
                                                         0x820024
                                                                 0x4F8A00FF
                                                                           0x4F8B0001
                                                                                     0x4F80001A
                                                                                               0x4380001A
                                                                                                         0x420002
                                                                                                                 0x820024
                                                                                                                         0x4003007
                                                                                                                                  0x4400927
                                                                                                                                           0x42C120
                                                                                                                                                   0x820024
                                                                                                                                                           0x42C000
                                                                                                                                                                   0x820024
                                                                                                                                                                           0x42C400
                                                                                                                                                                                   0x820024
    0x42C100
            0x820024
                    0x42C101
                            0x820024
                                    0x42C120
                                            0x820024
                                                    0x42C100
                                                            0x820024
                                                                    0x42C101
                                                                            0x820024
                                                                                    0x42C001
                                                                                            0x820024
                                                                                                    0x420021
                                                                                                            0x820024
                                                                                                                    0x42000C
                                                                                                                            0x820024
                                                                                                                                    0x4F8A00FF
                                                                                                                                              0x4F8B0001
                                                                                                                                                        0x4F80001C
                                                                                                                                                                  0x4F8A00FF
                                                                                                                                                                            0x4F8B0001
                                                                                                                                                                                      0x4F8000C8
         0x4F8A00FF
                   0x4F8B0001
                             0x4F80001A
                                       0x4F8A00FF
                                                 0x4F8B0001
                                                           0x4F80001E
                                                                     0x4F8A00FF
                                                                               0x4F8B0001
                                                                                         0x4F8000C7
                                                                                                   0x4F8A00FF
                                                                                                             0x4F8B0001
                                                                                                                       0x4F80001A
                                                                                                                                 0x4F8A00FF
                                                                                                                                           0x4F8B0001
                                                                                                                                                     0x4F80001E
                                                                                                                                                               0x4F8A00FF
                                                                                                                                                                         0x4F8B0001
                                                                                                                                                                                   0x4F8000C7
      0x420002
              0x820024
                      0x4003007
                               0x4400927
                                        FWL Bit  0x4
                                                    Except0x421110
                                                                  0x820024
                                                                          ion addr  0x45B09000
                                                                                              FWL Exception  0x1008000
                                                                                                                       0x90000
                                                                                                                               0x400A78
                                                                                                                                        0x0
                                                                                                                                            0xFF922D4
                                                                                                                                                      0x8

                                                                                                                                                         0x4F8A00FF
                                                                                                                                                                   0x4F8B0001
                                                                                                                                                                             0x4F80001A
                                                                                                                                                                                      0x4100001A
         0x4F8A00FF
                   0x4F8B0001
                             0x4F80001A
                                       0x4100001A
                                                 0x41070000
                                                           0x410800BF
                                                                     0x4F8A00FF
                                                                               0x4F8B0001
                                                                                         0x4F80001A
                                                                                                   0x4100001A
                                                                                                             0x421205
                                                                                                                     0x820024
                                                                                                                             0x4F8A00FF
                                                                                                                                       0x4F8B0001
                                                                                                                                                 0x4F80001A
                                                                                                                                                           0x4380001A
                                                                                                                                                                     0x420002
                                                                                                                                                                             0x820024
                                                                                                                                                                                     0x4003007
       0x4400927
                0x42C120
                        0x820024
                                0x42C000
                                        0x820024
                                                0x42C400
                                                        0x820024
                                                                0x42C101
                                                                        0x820024
                                                                                0x42C100
                                                                                        0x820024
                                                                                                0x42C120
                                                                                                        0x820024
                                                                                                                0x42C120
                                                                                                                        0x820024
                                                                                                                                0x42C000
                                                                                                                                        0x820024
                                                                                                                                                0x42C120
                                                                                                                                                        0x820024
                                                                                                                                                                0x42C000
                                                                                                                                                                        0x820024
                                                                                                                                                                                0x42C100
 0x820024
         0x400002
                 0x80000A
                         0x0x42C001
                                   0x820024
                                           4003007
                                                  0x4400927
                                                           0x400200
                                                                   0x80000A
                                                                           0x42C101
                                                                                   0x820024
                                                                                           0x4F8A00FF
                                                                                                     0x4F8B0040
                                                                                                               0x4F80001C
                                                                                                                         0x4F8A00FF
                                                                                                                                   0x4F8B0040
                                                                                                                                             0x4F8000C8
                                                                                                                                                       0x4003007
                                                                                                                                                                0x4400927
                                                                                                                                                                         0x42C001
                                                                                                                                                                                 0x820024
  0x509000
          0x9000FD
                  0x42C100
                          0x820024
                                  0x509000
                                          0x9000FD
                                                  0x509000
                                                          0x9000FD
                                                                  0x509000
                                                                          0x9000FD

What do these SYSFW Trace logs indicate? Are these errors related to Secure Proxy or firewall permissions?

What could be causing the HSM IPC to become unresponsive?

Why do logs from MCU, DM, and HSM disappear when SYSFW Trace is enabled?

Thank you for your support. 

Best regards, 

Yang

  • Hi Yang, I am reaching out some colleagues, please allow us few days. Ping us if you haven't heard from us in a week

    thank you,

    Paula

  • Dear customer, 

       Check the log, the "Exception addr  0x45B09000" , which is CSL_PSCSS0_GLB_BASE.

        And this area is  fw_639 region 3 owner is tifs,rwd.  

        hdr0 0x1008000  firewall volation happend. 

       hdr1 0x90000

       data0 0x400A78

       data1 0x0

       data2 0xFF922D4 ,  which means the issue happend on main_0_r5_0  privte wite operation. 

       data3 0x8 , the operation is 8 byte. 

       Could you please connect main_0_r5_0 to CCS, feedback  the contex?

       Thanks.

    LinJun