AnsweredAssumed Answered

How to change instruction memory directly in BF50x?

Question asked by popzhuo on Aug 13, 2014
Latest reply on Aug 21, 2014 by popzhuo

I try to modify the instruction memory as below:


        U32 *pCode = &RidCocurrent; /*RidCocurrent is a function */
        pCode[0] = 0;


when "pCode[0] = 0;" was executed, the exception occur:

A fatal error or exception has occurred.

  Description:   An illegal data memory access has occurred.

  General Type:  RunTimeError

  Specific Type: DCPLBProtectionViolation

  General Code:  0x8

  Specific Code: 0x330

  Error Value:   0xffa02500

  Error PC:  0xffa04452


Is there any method to modify the instruction memory directly?