Prev: Embedded Processor Market
Next: Call for Papers: The 2010 International Conference on Computer Design (CDES'10), USA, July 2010
From: Anton Erasmus on 8 Feb 2010 14:00 On Mon, 8 Feb 2010 17:09:21 -0000, "Rowan Sylvester-Bradley" <rowan(a)sylvester-bradley.org> wrote: >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? You can try Avocet. I used their stuff donkey years ago on DOS. Was quite useable then, no idea how they are now. Look at http://www.avocetsystems.com/company/techshee/asheets/8051.htm They have a downloadable demo, so you can see whether it will work for you or not. Regards Anton Erasmus
From: Niklas Holsti on 8 Feb 2010 15:38 -jg wrote: > 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. 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 . @ .
From: Chris H on 11 Feb 2010 17:33 In message <Xcibn.52155$_96.20962(a)newsfe02.iad>, Rowan Sylvester-Bradley <rowan(a)sylvester-bradley.org> writes >Can anyone recommend a simulator/debugger for 8051 family >microcomputers (specifically I need it to support the Dallas 80C320)? 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. >It needs to: >- run on Windows, All do >preferably Vista but failing that, XP :-) It was Vista that failed. >- be free or a lot cheaper than the Keil package, which I would use if >I could justify it for this project. 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 /\/\/\/\/ \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
From: Chris H on 11 Feb 2010 17:35 In message <9zXbn.37384$Fm7.30236(a)newsfe16.iad>, Rowan Sylvester-Bradley <rowan(a)sylvester-bradley.org> writes > >Does anyone know of _any_ simulator/debugger that will definitely >simulate the 80C320, and that's cheaper than the Keil? 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 /\/\/\/\/ \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
From: RockyG on 12 Feb 2010 00:15
>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. > Try http://home.arcor.de/jensaltmann/jsim_entry.htm The author has released the source code and it already has rudimentary 80C320 support. Beware of pop-ups on entry. --------------------------------------- Posted through http://www.EmbeddedRelated.com |