simulator/emulators for 8051/8085 on linux - Page 2

Do you have a question? Post it now! No Registration Necessary

Translate This Thread From English to

Threaded View
Re: simulator/emulators for 8051/8085 on linux

Quoted text here. Click to load it
Keil
linux?
Quoted text here. Click to load it
not
a
code
embedded

There is no assembly course in general, it is specific to the
architecture of the micro you choose. You will need to learn
the assembly language for every core. That's where C is
preferable when you can afford it, but others will argue,
forget that...

They are all similar, though, from a distance, moving data to
and from registers, branching, etc...

If you need an intro, you could try this:
http://search390.techtarget.com/sDefinition/0,,sid10_gci211604,00.html


Re: simulator/emulators for 8051/8085 on linux


Quoted text here. Click to load it

Here's a nice starting point for assembly language programming. There's
an interesting "High Level Assembly" link.

The Urb


_______________________________________________________________________________
Posted Via Uncensored-News.Com - Accounts Starting At $6.95 -
http://www.uncensored-news.com
               <><><><><><><>   The Worlds Uncensored News Source  
<><><><><><><><>
  

Re: simulator/emulators for 8051/8085 on linux
Quoted text here. Click to load it

That is the best Keil compiler for the 8051.  It is limited by size
only. As it is rather efficient you will find it is going to be as good
as some of the less restricted compilers.  Due to it's aggressive data
overlaying it can outperform some of the free unrestricted compilers.

You can download a later version than is on the book. The version on the
CD is now quite old. I think It was a V6?

Quoted text here. Click to load it

You won't get a better sim than the Keil sim.  As for GCC you will be
better of in some cases with the limited Keil compiler.

Quoted text here. Click to load it

Ignore the 8085.  The 8051 is old but it is an expanding family (some
600 variants from 40+ silicon companies) Philips and Infineon added new
ranges this year.

Quoted text here. Click to load it

Yes... still by a LONG way. Also there are plenty of cheap dev kits
around for it.

Other choices are PIC and AVR.  However these are both single source and
in the case of the PIC a bit strange.

You could go to ARM which has a lot of variants, cheap dev kits and many
tools. Also it uses JTAG to debug so you can get a complete professional
dev system quite cheaply.

Quoted text here. Click to load it

C and the 8051 by Thomas Schultz. 3rd Editon Despite the name it does
cover assembler. It is based on a Silicon Labs kit that is not expensive
and uses a JTAG debugger.

/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
\/\/\/\/\ Chris Hills  Staffs  England    /\/\/\/\/\
/\/\/ snipped-for-privacy@phaedsys.org       www.phaedsys.org \/\/
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/




Re: simulator/emulators for 8051/8085 on linux
Chris:

Thanks for all the insights. I had ordered the book (C and the 8051) a
few days ago. Good to know that it is a resource for learning. I have
decided to start off with 8051 and then move onto ARM and PIC archs as
and when I get comfortable.

Thanks,
Hemant


Re: simulator/emulators for 8051/8085 on linux

Quoted text here. Click to load it

You should go to 8052.com and sign on - there is an excellent help forum
there as well as a range of tutorials and links.

Ian

Re: simulator/emulators for 8051/8085 on linux
Quoted text here. Click to load it

Arm is a good move as it is "the 8051 of the 32 bit market"  but I am
not sure I would bother with PIC. The Philips LPC900 range of 8051 cover
much of their functionality and runs standard 51 binary.

PIC's have different architecture and tools across the range.

AVR is a possibility though.


/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
\/\/\/\/\ Chris Hills  Staffs  England    /\/\/\/\/\
/\/\/ snipped-for-privacy@phaedsys.org       www.phaedsys.org \/\/
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/




Re: simulator/emulators for 8051/8085 on linux



Quoted text here. Click to load it

Employer wan to use them, so it is not a waste of time to learn them.  The
architecture is much stranger than the 8052.  But I think the newer 18F
stuff is a bit better.



Re: simulator/emulators for 8051/8085 on linux
Quoted text here. Click to load it

  The 80C51 is certainly, by far, the most widely sourced.
It also tends to lead the 8 bit pack, on analog performance, and models
are available at 25/33/50/100 (peak) MIPS
  see http://www.designtools.co.nz/overview.htm

  You are making things _much_ harder for yourself in the training dept,
by mandating Linux. I'd get a minimal 2nd hand Win2000 PC, and use that
as a devel box. You do not need GHz CPUs for Compilers/Emulators.
  You'll spend all of your time in an editor, or debug Sw, anyway, so
you can ignore the windows boot screen..:)

  re simulation, I would suggest you sidestep that, and simply get an
80C51 with inbuilt emulation. Best current devices for that are from
SiLabs, and their C8051F604DK is the lowest price. (less than a book)
- and I'd also check into the develop kits for their new Si8250 80C51,
with 200MHz PWMs, 10MHz loop ADC, & 50 MIPS core.

  That way, you test/learn with real silicon, in a real environment...

  Winbond, Gencore, Goal, and Atmel also have inbuilt debug 80C51's
comming/in release.

-jg


Re: simulator/emulators for 8051/8085 on linux

<snip>
 > Any specific online reference that you guys found useful in learning
Quoted text here. Click to load it

  I'd get a Compiler that has good Assembler Report output, and scan
that for various simple code examples, so you will see how the compiler
maps onto the core.

  Another usefull training tool, is a disassembler (free on the net),
- feed the final HEX file into it, and you get right down to the iron,
and can see all the INT vectors, and startup codes etc,
a true 'bottom up' view of your code.

  Most debug systems include a window that has this view dis-asm as well.

-jg


Re: simulator/emulators for 8051/8085 on linux
Jim:

Thanks a lot for the input. After reading comments by Ian (on Wine) I
have decided to try linux and windows both as far as simulator needs
are concerned. Soon, I should be getting the scilabs kit to experiment
on.

Thanks,
Hemant


Re: simulator/emulators for 8051/8085 on linux

Quoted text here. Click to load it

I currently have several on my machine which run under wine. O tried many
and as expected some work well and others not. The ones I have currently
are:

535 Simulator http://personales.mundivia.es/hvasquez/sim535 /
PDS52 Simulator http://phyton.com
WSIM51 from SPS Sogtware
Simulate 2003 from FST Soft
Emulator 8051 from TS Controls
TopView Simulator
JSIM http://home.t-online.de/home/Jens.Altmann

The Linux distro does not really matter but I am using Slackware 10.0

Ian


Re: simulator/emulators for 8051/8085 on linux


Quoted text here. Click to load it
many
currently


Thanks for the extensive lists on simulators. That should keep me busy
(and hopefully, learning). I have also decided to try out some of the
simulators on linux via wine (I use Suse 9.1).

Thanks
Hemant


Re: simulator/emulators for 8051/8085 on linux
Quoted text here. Click to load it
So how does the Keil sim run on linux?


/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
\/\/\/\/\ Chris Hills  Staffs  England    /\/\/\/\/\
/\/\/ snipped-for-privacy@phaedsys.org       www.phaedsys.org \/\/
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/




Re: simulator/emulators for 8051/8085 on linux


Quoted text here. Click to load it

Provided you have the right fonts installed it runs fine. I have the free
version of uVision 2 on my Linux box right now. I should have included it
in the list.

Ian

Re: simulator/emulators for 8051/8085 on linux
This is a multi-part message in MIME format.
--------------010002010604060307070509
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Hi all,

to get back on topic, I toyed around a bit and I managed to compile
emu51 (http://emu51.sourceforge.net/) under GNU/Linux.
This emulator is very early alpha but better than nothing and free
software, free as in freedom and not as free beer ofcourse.
As it comes as sourcecode + Windoze binary only, I altered the Makefile
so it now compiles under GNU/Linux as long as you have a working
installation of the Allegro library.
I've attached the altered Makefile to this posting.

I know this is not a commercial grade emulator but I hope this proves
useful for hobbyists and students like me who cannot afford commercial
grade software for 100EUR and more.

HTH,
Matthias
--
PGP-Key: http://www.asmsoftware.de/marndt.pgp ICQ: 40358321
We've slightly trimmed the long signature. Click to see the full one.

Site Timeline