Simulator for 80C320

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

Reply to
Rowan Sylvester-Bradley
Loading thread data ...

On Feb 9, 6:09=A0am, "Rowan Sylvester-Bradley"

e

Google finds this ?

formatting link

-jg

Reply to
-jg

Google finds this ?

formatting link

and also this - somewhat newer ?

formatting link

-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

Reply to
-jg

Other variations in the 8051 devices are more complex:

- Dual or multiple DPTR registers, with various SFR-based methods for selecting the active DPTR (some devices can even auto-switch, toggling the active DPTR choice after each MOVX...) The 80320 has dual DPTRs.

- SFR-controlled MOVX timing, dynamically adjustable as the program runs.

- Nonstandard "unified" address mappings, for example letting MOVX instructions access internal data and SFRs.

--
Niklas Holsti
Tidorum Ltd
niklas holsti tidorum fi
       .      @       .
Reply to
Niklas Holsti

In message , Rowan Sylvester-Bradley writes

You will need the Keil simulator. There is nothing else to touch it particularly for the Dallas cores. Keil worked very closely with Dallas during development of the parts.

AFAIK none of the other simulators come close as the Dallas parts used many extensions to the hardware.

BTW There are over 50 different 8051 family cores with different timing and extensions.

All do

:-) It was Vista that failed.

Sorry but the "free" stuff is just not going to cut it for these parts. It is not a standard 8051 core. Where most do a reasonable simulation for the standard cores the Dallas parts had a lot of extensions.

Also all the free/open source/shareware tools are going to be quite old I would think as the circus moved on to ARM years ago. SO I doubt you will get anything that is Vista compatible except by luck

BTW which compiler are you using?

You will need a compiler that will output the relevant extended OMF debug files. Otherwise you will be debugging assembler not C.

--
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
\/\/\/\/\ Chris Hills  Staffs  England     /\/\/\/\/
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
Reply to
Chris H

In message , Rowan Sylvester-Bradley writes

No. IF you want to use a free/cheap set of tools you will have to restrict yourself to the "standard" 8051 parts with no major extensions.

--
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
\/\/\/\/\ Chris Hills  Staffs  England     /\/\/\/\/
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
Reply to
Chris H

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.