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.

Failure of MMU initialization on EVM-AM335x board

Hi

I have AM335x General Purpose EVM and want to run "enet_echo" example of StarterWare. I was able to complie this example, and download to EVM board. But the program carries out a loop infinitely in "CP15TlbInvalidate" function.

Could anyone tell me about this issue? If you need additional information to solve this problem, please reply to me.

Regards.

  • Hi Yuta, 

    Hope you are using StarterWare_02.00.00.07 version. Had you modified any code and built it ? Or is it the prebuilt binary available with the starterware package causing the issue ?

    I think its aborting somewhere. We will try to trap that first. Can you modify the array vecTbl[] in /system_config/armv7a/am335x/startup.c as below

    static unsigned int const vecTbl[14]=
    {
    0xE59FF018, /* Opcode for loading PC with the contents of [PC + 0x18] */
    0xE24FF008, /* Opcode for loading PC with (PC - 8) (eq. to while(1)) */
    0xE59FF018, /* Opcode for loading PC with the contents of [PC + 0x18] */
    0xE24FF008, /* Opcode for loading PC with (PC - 8) (eq. to while(1)) */
    0xE24FF008, /* Opcode for loading PC with (PC - 8) (eq. to while(1)) */
    0xE24FF008, /* Opcode for loading PC with (PC - 8) (eq. to while(1)) */
    0xE59FF010, /* Opcode for loading PC with the contents of [PC + 0x10] */
    0xE59FF010, /* Opcode for loading PC with the contents of [PC + 0x10] */
    (unsigned int)Entry,
    (unsigned int)UndefInstHandler,
    (unsigned int)SVCHandler,
    (unsigned int)AbortHandler,
    (unsigned int)IRQHandler,
    (unsigned int)FIQHandler
    };

    Then build the code and execute the same ? This time, it should loop somewhere @ address 0x4030FCXX.

    Regards,

    Sujith.

  • Hi Yuta and Sujith, I have the same problem with a different Starterware's example named "usb_dev_bulk", I tried to modify the array but nothing happens, could somebody solve this problem?

    Regards,

    Alessandro.