MCU-PLUS-SDK-AM275x: fread error caused by incorrect MMU settings

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: High
    • SITSW-7819
    • 1532945
    • 11.01.00
    • 11.02.00
    • am275x-evm

      DIRAC reported the following issue:

      (7) AUDIO-AM275-EVM: fread() on AM275x C7x DSP via JTAG not returning expected data - Simulation, hardware & system design tools forum - Simulation, hardware & system design tools - TI E2E support forums

       

      Because the CCS_DEBUG_LOG_MEM is defined before the MSRAM_BANK0_TO_BANK3, so its MAIR4 (non-cacheable) will be overwritten by the MSRAM_BANK0_TO_BANK3's MAIR7 (cacheable). CCS_DEBUG_LOG_MEM defined memory region will be used as C75_0_CIO_MEM in linker command file linker.cmd for host file IO. By set the C75_0_CIO_MEM to MAIR7 will cause the fread error. 

      The above issue exists in hello_world_am275x-evm_c75ss0-0_freertos_ti-c7000 and hello_world_cpp_am275x-evm_c75ss0-0_freertos_ti-c7000, but it may exist for other C7x examples. 

            Assignee:
            TI User
            Reporter:
            TI User
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Connection: Intermediate to External PROD System
                EXTSYNC-6218 - MCU-PLUS-SDK-AM275x: fread error ca...
                SYNCHRONIZED
                • Last Sync Date: