Is it possible to perform a loadbin without resetting a device?
I have a ram dump that I need to inject in the memory, but the device sets some output state before arriving at that point so I can not manually set PC and LR (and other registers).
Any hint about that?
my .Jlink file looks like this at the moment (writing to registers commented out becouse I am testing the reset part of loadfile):
Code
connect
h
loadfile RAM_dump_1.bin, 0x20000000
// Wreg R0 0x00000000
// Wreg R1 0x20000920
// Wreg R2 0xEF000000
// Wreg R3 0x00000000
// Wreg R4 0x0803ADC0
// Wreg R5 0x0803ADC0
// Wreg R6 0x00000000
// Wreg R7 0x00000000
// Wreg R8 0x00000000
// Wreg R9 0x00000000
// Wreg R10 0x00000000
// Wreg R11 0x00000000
// Wreg R12 0x00000000
//SetPC 0x08033A96
//Wreg CycleCnt 0x001855B0
//Wreg "R13 (SP)" 0x2000CE90
//RReg "R13 (SP)"
//Wreg MSP 0x200116F0
//Wreg PSP 0x2000CE90
//Wreg R14 0x00000000
//Wreg XPSR 0x01000000
//Wreg EPSR 0x01000000
//Wreg CFBP 0x02000000
h
g
q
Display More