I try to modify the instruction memory as below:
|U32 *pCode = &RidCocurrent; /*RidCocurrent is a function */|
|pCode = 0;|
when "pCode = 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
Is there any method to modify the instruction memory directly?