-->
Page 5 of 9

Re: ROM + Bootloader Dump

PostPosted: Mon Oct 06, 2014 6:23 pm
by tinhead
Attached my version of the xtensa.py for IDA. Haven't checked everything, but now IDA and Xtensa Xplorer disasm looks very similar.

Changes:
# bug fix for 'l8ui','l16si','l16ui','l32i','s8i','s16i' and 's32i' size and shift
# bug fix for 'rsr.epc2','rsr.epc3' detection
# 'ill' added, normally one can work without
# 'rsr.epc4','rsr.epc5','rsr.epc6','rsr.epc7' added

EDIT: attachment deleted, see next page^^

Re: ROM + Bootloader Dump

PostPosted: Tue Oct 07, 2014 5:31 am
by 0ff
That's great, thank you for posting your updates!
I can confirm all the changes, except the rsr.epc[2..7] instructions, where did you get them?
I can't seem to find them in the ISA Reference, any pointers to where you found them?

Oh, and does anyone know how IDA can be made to "reprocess" a segment without loosing symbols?
Can I export them and import them later?

Re: ROM + Bootloader Dump

PostPosted: Tue Oct 07, 2014 5:47 am
by tinhead
0ff wrote:except the rsr.epc[2..7] instructions, where did you get them?
I can't seem to find them in the ISA Reference, any pointers to where you found them?


Chapter 5, page 226, Processr state, Table 5–161. EPC2..7 - Special Register #178-183

Re: ROM + Bootloader Dump

PostPosted: Tue Oct 07, 2014 6:07 am
by 0ff
tinhead wrote:Chapter 5, page 226, Processr state, Table 5–161. EPC2..7 - Special Register #178-183

Ah, I see, thank you!

Then shouldn't there also be corresponding "wsr.epc[2..7]" instructions? (0x13b200..0x13b700)