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.

Mistral OMAP 3530 board + Memory Mapping

Hi,

I am trying to build a standalone program, there i am trying to initializing the UART1. But as i am trying to read or write the 0x4806A000 location, i am getting the prefetch abort exception.

I cant use any boot. Here in the board i check all the memory, i am able to access only SRAM(internal) and DDR, and some memory which is for GPMC reg purpose. and if i am trying to access other memory, i am getting the prefetch abort exception.

I am using the Mistral_Omap35xx_CortexA8.gel file.

Shall anyone guide me, why am i not able to access this? and how shall i?

  • Please note that many of the peripherals, including UART1, are disabled by default from reset.  You will need to enable the functional clock and interface clock (L4 clock) to the UART1 in order to access its registers.

    The OMAP35xx Technical Reference Manual (SPRUF98) Chapter 4 provides information on the PRCM register/bits to modify in order to enable the UART1 peripheral.

    Specifically, you need to modify CM_FCLKEN1_CORE 0x48004A00 (bit 13 = 1) and CM_ICLKEN1_CORE 0x48004A10 (bit 13 = 1) in order to enable access to the UART1.

  • Hi BrandonAzbell,

                    Thanks for the Reply. Even after doing the setting you have mentioned i am not able to acces the address 0x4806A000. Is there any setting i need to do, to access this address?