Hello,
I was attempting to understand the debugger project (https://github.com/seemoo-lab/nexmon_debugger).
From that I understand that the memory mapped interface is being accessed via the base address defined here
|
#define DBGBASE (0x18007000) |
Could you help me understand how that address is found?
In some chips there is a cortex A7 instead of the R4, so this does not work as well as requiring updates to the offsets of the breakpoint and watchpoint register locations (
|
#define DBGBVR0 (*(volatile int *) (DBGBASE + 0x100)) |
)
Any ideas or advice would be appreciated, and thank you for this great work.
Hello,
I was attempting to understand the debugger project (https://github.com/seemoo-lab/nexmon_debugger).
From that I understand that the memory mapped interface is being accessed via the base address defined here
nexmon/patches/include/debug.h
Line 38 in ef25ce3
Could you help me understand how that address is found?
In some chips there is a cortex A7 instead of the R4, so this does not work as well as requiring updates to the offsets of the breakpoint and watchpoint register locations (
nexmon/patches/include/debug.h
Line 166 in ef25ce3
Any ideas or advice would be appreciated, and thank you for this great work.