Replies: 1 comment 1 reply
-
|
From the stack trace, it looks like we have a bug in (at least) the Memory viewer. You can try disabling/closing it and seeing what happens (just for curiosity). Otherwise, go ahead and file an actual issue and let us know what version of Ghidra this happened in. When we get a chance, we can try replicating it on our end. Thanks for the artifacts, because that usually makes it much easier. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I'm trying to debug a 8051 firmware in Ghidra (regular Ghidra or pyGhidra) in Windows. For test purposes I compiled a small assembler file. I imported it into a new Ghidra project using as
8051:BE:16:default (2.0).When I start "Emulate Program in new Trace", execute a couple of instruction and then try to browse memory during program execution I get a lot of exceptions like this:
or
Sometimes the exceptions get into infinite loop and I have to kill Ghidra.
Of course I need to browse different memory areas - Internal, external, bits, SFRs. Am I doing something wrong?
Thanks,
G.
This is how my program looks like in debugger a couple of instructions into the code.

This is my memory map. I used the default memory map provided by Ghidra - only added external memory.
The error looks like this:

I attach the binary - which is a tiny program I padded with zeros to fill the whole 64KB. I compiled it from assembler
.sfile.test8051.zip
Beta Was this translation helpful? Give feedback.
All reactions