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.

AM2432: Firewall configuration not working

Part Number: AM2432
Other Parts Discussed in Thread: SYSCONFIG
  1. Currently we are trying to configure the Firewall for few peripherals and to do that the first step is to change the ownership of the Firewall ID to M4 core. We don’t have any example code for changing the ownership in AM243x’s SDK. We got an example code provided by TI (for changing the ownership) on AM62AX and applied the same for AM243x. For example, we need to change the ownership of the ADC registers to M4 core(see the image below).

           We have faced below challenges during the configuring the firewall.

    1. The response structure(tisci_msg_fwl_change_owner_info_resp) of API Sciclient_firewallChangeOwnerInfo is always returning to zero.
    2. On further investigation, we came to know that though API, Sciclient_service returns no error, but sciResp.flags is returning 0(TISCI_MSG_FLAG_NAK) that is no acknowledgement.
    3. While further going inside the Sciclient_service API, Sciclient_sendMessage API seems to not reflect the write on the thread address via CSL_REG32_WR API.

         We wanted to know why is the Write not getting reflected in the thread address. Is there any initial step like unlocking these APIs or assigning the ownership to none must be performed to change the ownership of these Firewall ID? Can you provide a tested example/sample code on the firewall configuration for AM243x?