NishanthMenon changed the topic of #openocd to: this is the place to discuss all things OpenOCD | Logs: https://libera.irclog.whitequark.org/openocd/
renrelkha has quit [Ping timeout: 255 seconds]
renrelkha has joined #openocd
tsal has quit [Ping timeout: 265 seconds]
tsal has joined #openocd
boru` has joined #openocd
boru has quit [Killed (NickServ (GHOST command used by boru`))]
boru` is now known as boru
emeb has quit [Quit: Leaving.]
tsal has quit [Ping timeout: 250 seconds]
tsal has joined #openocd
akaWolf has quit [Ping timeout: 265 seconds]
nerozero has joined #openocd
sbach has quit [Read error: Connection reset by peer]
sbach has joined #openocd
akaWolf has joined #openocd
tomtastic has quit [Ping timeout: 265 seconds]
tomtastic has joined #openocd
thinkfat has joined #openocd
thinkfat has quit [Ping timeout: 240 seconds]
tomtastic has quit [Ping timeout: 265 seconds]
tomtastic has joined #openocd
tomtastic has quit [Ping timeout: 258 seconds]
tomtastic has joined #openocd
tomtastic has quit [Ping timeout: 245 seconds]
tomtastic has joined #openocd
tomtastic_ has joined #openocd
tomtastic has quit [Ping timeout: 240 seconds]
thinkfat has joined #openocd
tomtastic_ has quit [Ping timeout: 256 seconds]
tomtastic has joined #openocd
thinkfat has quit [Ping timeout: 240 seconds]
CodeEstate has joined #openocd
<CodeEstate> On an unknown embedded target, is there a way to loop through memory addresses to find ones that are dumpable? For example, on my unknown target I can read from 0x0 for a length of 0x400, but past that I get "memory read caused data abort." I know some of the other valid regions, but I can't be certain I got them all.
dliviu has joined #openocd
<sys64738> id imagine you now have some code, right? eg. if its an arm, id try inserting some code snippet that dumps the mpu state (and maybe the processor version/revision numbers) & running that & reading out its output
<sys64738> (if it has an mpu, that is, but a cortex-m0+ has one, so most things will i think? except if its an arm7tdmi)
thinkfat has joined #openocd
thinkfat has quit [Ping timeout: 265 seconds]
Hawk777 has joined #openocd
emeb has joined #openocd
rkta has quit [Quit: leaving]
rkta has joined #openocd
<CodeEstate> I do have some code, but I don't know what code I could insert that would get me more information on the memory mapping. I've manually found info at 0xffff0000 and around 0x00178000, and I have an idea where some peripherals are (saw a timer being loaded from an address in one function I was reversing).
<CodeEstate> I believe the chip is based on ARMv5
<PaulFertser> CodeEstate: you can script OpenOCD in Tcl internally or use RPC with any other language you prefer.
<sys64738> 0xffff0000 is where the vectors are, feels rom-y. 0x00178000 sounds like a possible ram address. armv5 means youll have to go through cp15 to get the mpu state, see http://problemkaputt.de/gbatek.htm#armcp15systemcontrolcoprocessor (yeah i use this one because it is easier to look stuff up in than arm pdfs imo)
tomtastic_ has joined #openocd
tomtastic has quit [Ping timeout: 272 seconds]
thinkfat has joined #openocd
thinkfat has quit [Ping timeout: 265 seconds]
crabbedhaloablut has quit [Ping timeout: 244 seconds]
crabbedhaloablut has joined #openocd
joconor has quit [Ping timeout: 268 seconds]
joconor has joined #openocd
thinkfat has joined #openocd
thinkfat has quit [Quit: Konversation terminated!]
thinkfat has joined #openocd
nerozero has quit [Remote host closed the connection]
thinkfat has quit [Ping timeout: 265 seconds]
thinkfat has joined #openocd
thinkfat has quit [Ping timeout: 265 seconds]
c4017w_ has joined #openocd
c4017w__ has quit [Ping timeout: 258 seconds]
emeb has quit [Quit: Leaving.]