Hi,
We need to trigger a dump via the use of ARMV8 instructions but we have not found a reliable way of doing this. We have tried the following:
// Relocate vector table to illegal address ldr x3, 0xE000ED00mov x2, #0x1000000str x2, [x3, #8]
// Trigger PendSV exception to read invalid vectorldr x3, 0xE000ED00mov x2, 0x10000000str x2, [x3, #4]isbnopdsb synop
This is after stopping all cores and then restarting them after issuing these instructions.
Question is, is there a better way to force a dump?
This approach appears to cause an immediate dump sometimes, other times it will hang which is not what we need since our Hard lockup detector then kicks in. Is there a way to force an immediate dump or to put it another way, what could be causing this delay in dumping using the SVC/HVC instruction?