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.

Cannot access internal RAM on AM3359 starting at address 0x402F0400

Hi,

     We are currently looking for a nice safe memory location that stays around (as long as power is on) from u-boot into StarterWare and back. It seems that the end of internal memory, say SRAM internal 0x402FFFF0 (right before the beginning of L3 OCMC0 @0x40300000). Writing works fine in u-boot but when I reach StarterWare code it is not accessible and we assume it is because that area has not been programmed into the mmu. Our question is that the MMU page table size is programmed in 1Mbytes increments (in the MMUMemRegionMap function of StarterWare). It seems if we programmed part of the SRAM into the MMU it would overlap with the L3 OCMC0 memory which starts at 0x40300000. Does someone have a recommendation for being able to access this SRAM area from StarterWare?

Thanks,

     John C.

  • Because the mmu needs memory aligned on a 1Mbyte boundary we changed our L3 OCMC0 section from 0x40300000 to 0x40200000 and extended the

    size of the section from 1 to 2 Mbytes in length. This seems to work.

    Thanks,

          John C.