I’m trying to run the RLPLite demo on the Cerberus and getting nowhere. As soon as i try to invoke RLP_MemSet it just disconnects and dies. I’ve updated as follows:
R/O Base: 0x2001A000
R/W Base: 0x2001C000
// Load code
byte[] binfile = Resources.GetBytes(Resources.BinaryResources.ArMF);
AddressSpace.Write(0x2001A000, binfile, 0, binfile.Length);
binfile = null;
Debug.GC(true);
RLPLite.Procedure RLP_MemSet = new RLPLite.Procedure(0x2001a0bc);
const int ARRAYSIZE = 100;
byte[] byteArray = new byte[ARRAYSIZE];
int[] length = new int[1];
length[0] = ARRAYSIZE;
byte[] value = new byte[1];
value[0] = 1;
RLP_MemSet.Invoke(byteArray, length, value);
From the MAP:
RLP_MemSet 0x2001a0bc ARM Code 52 rlplite.o(.text)
What to do?