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-Q1: Last 24 bytes of Bank0, Bank1 in OCRAM are no longer visible

Part Number: AM263P4-Q1

Tool/software:

Hi Team,

One of my customer is facing following problem. Please support.

Problem: When set permissions for L2OCRAM_Bank0_SLV, L2OCRAM_Bank1_SLV in the MPU Firewall, the last 24 bytes of Bank0, Bank1 in OCRAM are no longer visible.

Configuration;

L2OCRAM_BANK0_SLV Conig                                                               L2OCRAM_BANK1_SLV Config

                 

MPU ARMv7 Config

Program:

Firewall setting

Functions

Memory Dump "Before" MPU Firewall setting                        Memory Dump "After" MPU Firewall setting

Last of BANK0                                                                        Last of BANK0

                   

Last of BANK1                                                                       Last of BANK1

                  

Last of BANK2                                                                        Last of BANK2

                 

24Byte data is missing from the end of Bank0, Bank1 after MPU Firewall configuration (red box)

If a program is placed in a missing area, a prefetch abort occurs (and so does the data).

Quetion1: Is this related following description in TRM?

AM263Px_TechnicalReferenceManual.pdf 3.8.3.1 Functional Operation

Question2: Is this expected behavior? If no, What settings will cause these symptoms to occur?  And what settings will be able to avoid the symptom?

What customer wants to do here is "give all permissions to all IDs (R5FSS0_0 - external ID) to the specified area (this time Bank0, 1 of OSCRAM)." Of the device.

Customer think it is OK to set the setting to not check access other than the external ID as shown below. In this case, an invalid C code is output. it looks like a compilation error.

       

Best Regards

  • Hi,

    Could you please confirm the SDK version you are using here?

    The latest SDK version 11.0 has some fixes regarding firewall that went in.

    Can you check if you are able to see this issue on SDK 11.0?

    Thanks and Regards,

    Nikhil Dasan