Use this forum to chat about hardware specific topics for the ESP8266 (peripherals, memory, clocks, JTAG, programming)

User avatar
By tinhead
#1347 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^^
Last edited by tinhead on Tue Oct 07, 2014 6:46 am, edited 1 time in total.
User avatar
By 0ff
#1365 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?
User avatar
By tinhead
#1367
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
User avatar
By 0ff
#1368
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)