Memory test failed in _InitOnce

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • Memory test failed in _InitOnce

    Hi.

    I receive the message in the subjuct during my board init.

    Running step by step with my debugger I see that the init fail around this piece of code of GUI_Alloc:

    //

    // Test 8 bit access

    //


    NumItems = NumBytes;

    for (j = 0; j < 2; j++) {


    pByte = (U8 *)Addr;

    for (i = 0; i < NumItems; i++) {


    Byte = (i + j) % 255;

    *pByte++ = Byte;

    }

    pByte = (U8 *)Addr;

    for (i = 0; i < NumItems; i++) {


    Byte = *pByte++;

    if (Byte != (U8 ((i + j) % 255)) {

    return 1; // 8 bit access error


    }

    }

    }


    Could you explain which kind of error I'm encountering?

    BR

    MC