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.

AM2434: Regarding the processing of Bootloader_socOpenFirewalls() in Firewall.ID23 of the bootloader in the SDK

Part Number: AM2434

Tool/software:

Hello

The SDK references MCU_PLUS_SDK_AM243x_09.00.00.35

I was reading the Bootloader_socOpenFirewalls() function to understand the registers related to CBASS

For Firewall.ID14 to 19, the permission settings are set according to the table (line 1187),

I understood about Firewall.ID24 from the comments in the source,

but it seems that only Firewall.ID23 is treated specially

The path of the relevant code is as follows

C:\ti\mcu_plus_sdk_am243x_09_00_00_35\source\drivers\bootloader\soc\am64x_am243x\bootloader_soc.c

Line 1213 of the above code: status = Bootloader_socOpenFirewallRegion(23, 1, fwlControl, 0, 0);
Line 1223: status = Bootloader_socOpenFirewallRegion(23, 0, fwlControl, startAddr, (startAddr + CSL_MSRAM_256K0_RAM_SIZE - 1));

I would like to know why this process is necessary.

Thank you in advance.

  • Hello,

    Line 1213 of the above code: status = Bootloader_socOpenFirewallRegion(23, 1, fwlControl, 0, 0);

    This is for clearing the leftover Region 1 configurations from ROM or SYSFW.

    Line 1223: status = Bootloader_socOpenFirewallRegion(23, 0, fwlControl, startAddr, (startAddr + CSL_MSRAM_256K0_RAM_SIZE - 1));

    After clearing, this configures the Region 0 as required (open access to everyone).

    Regards,

    Prashant