From: Rowan Sylvester-Bradley on
Can anyone recommend a simulator/debugger for 8051 family microcomputers
(specifically I need it to support the Dallas 80C320)? It needs to:
- run on Windows, preferably Vista but failing that, XP
- allow code to run and be debugged without hardware
- allow breakpoints to be inserted, single stepping, step-into etc.
- allow the values of registers and memory locations to be inspected and if
necessary changed when the code is stopped
- allow the states of hardware inputs (usually digital input pins) to be
changed and outputs to be inspected when the code is stopped
- be free or a lot cheaper than the Keil package, which I would use if I
could justify it for this project.

Of course it could do a lot more besides, but the above would be enough as a
minimum.

I've seen many packages recommended or mentioned in this group and
elsewhere, but many of these recommendations go back 5 or 10 years, don't
mention modern versions of Windows, or the packages they refer to don't seem
to be available any more (Medwin, for example).

Thanks - Rowan

From: TTman on

"Rowan Sylvester-Bradley" <rowan(a)sylvester-bradley.org> wrote in message
news:Xcibn.52155$_96.20962(a)newsfe02.iad...
> Can anyone recommend a simulator/debugger for 8051 family microcomputers
> (specifically I need it to support the Dallas 80C320)? It needs to:
> - run on Windows, preferably Vista but failing that, XP
> - allow code to run and be debugged without hardware
> - allow breakpoints to be inserted, single stepping, step-into etc.
> - allow the values of registers and memory locations to be inspected and
> if necessary changed when the code is stopped
> - allow the states of hardware inputs (usually digital input pins) to be
> changed and outputs to be inspected when the code is stopped
> - be free or a lot cheaper than the Keil package, which I would use if I
> could justify it for this project.
>
> Of course it could do a lot more besides, but the above would be enough as
> a minimum.
>
> I've seen many packages recommended or mentioned in this group and
> elsewhere, but many of these recommendations go back 5 or 10 years, don't
> mention modern versions of Windows, or the packages they refer to don't
> seem to be available any more (Medwin, for example).
>
> Thanks - Rowan

I use this.... http://www.edsim51.com/
It may not support the 320/450 but should go a long way.
Also consider using the inbuilt ISP and RS232 to develop your own internal
debug dump routines....nad op data to a PC vioa the com port. easy....


From: Rowan Sylvester-Bradley on
Thanks for your reply.
> I use this.... http://www.edsim51.com/
> It may not support the 320/450 but should go a long way.

If it won't simulate the features of the 80C320 that my code uses, then it
won't really do the job, it seems to me. I have written to the author to see
if either he will enhance it to do this, or will allow me to do so. No reply
yet.

> Also consider using the inbuilt ISP and RS232 to develop your own internal
> debug dump routines....nad op data to a PC vioa the com port. easy....

Yes - it's worth considering this technique, but my first requirement is to
be able to debug the code in a simulator environment.

Does anyone know of _any_ simulator/debugger that will definitely simulate
the 80C320, and that's cheaper than the Keil?

Thanks - Rowan

From: -jg on
On Feb 9, 6:09 am, "Rowan Sylvester-Bradley"
> Does anyone know of _any_ simulator/debugger that will definitely simulate
> the 80C320, and that's cheaper than the Keil?

Google finds this ?
http://gsim51.sourceforge.net/

-jg

From: -jg on
On Feb 9, 6:58 am, -jg <jim.granvi...(a)gmail.com> wrote:
>

Google finds this ?http://gsim51.sourceforge.net/

and also this - somewhat newer ?
http://sol.gfxile.net/files/emu8051_4.pdf
-but I could not see a Source URL.

If EdSim is table based, on the Opcode-times, it should be simple
enough to spin a 80320 version.
There are a lot of C51 core variants now, so you'd need half a dozen
timing tables at least. - and some have more than one timing choice.

-jg