XCSIM and XCASM are available as integral PIC components of the ZMech CASE tool. XCSIM also provides high level debug support for XCSB (optimising structured BASIC compiler) |
Developing assembly language programs has traditionally left programmers with the unenviable task of building a development environment by hand from tools that haven't changed much in the last twenty years. These tools have a poor user interface, are rarely portable, have many obscure options and sometimes downright confusing behaviour.Just because you're developing low-level code doesn't mean you should have to work in a low-level environment.
miSim DE started life as a portable, fast and powerful PIC simulator - concentrating on simulating real-world applications rather than limited test cases. On April 26th, version 2.0 was released and the software has changed beyond recognition.
miSim DE 2.0 features a syntax-highlighting editor, macro assembler, disassembler and sophisticated simulator. The simulator allows anyone to develop Plugins that can simulate devices connected to the microcontroller. Plugins can also provide virtual debugging tools, logging and many other facilities. The GUI is designed to allow you to get on with the job of writing software, and properly integrates the tools together so you can move effortlessly from editing to assembly to debugging your code.
In addition to being stable and very compatible with standard assemblers and other tools, miSim DE 2.0 features automatic upgrades via the internet. Web Update allows the latest components, projects, documents and Plugins to be installed with a single click. The software continues to grow and has an active developer community and some very enthusiastic users.
miSim DE runs under Windows, Linux and Solaris as well as other operating systems.
Carlos Fiestas says:
Get speed.exe or from Eric Schlaepfer's ftp site speed.zip Execute this program during MPLAB session. This will decrease your program simulation times. It looks like Windows messages for other applications are slowly managed so MPLAB have more [processor time because of these] messages. Increasing the number the events [...increases] its run time simulation. Be careful because a great number would decrease another Windows applications performance.
While many microcontroller simulators include a disassembler, some stand-alone disassemblers give arguably better results. See: dissassemblers.htm .
PICdeSIM and WizPIC from Forest Electronic Developments. Also includes an excellent logic-analyser style display of registers, pins etc. http://www.fored.co.uk
Interested:
See:
Questions:
Hi,I'm trying to simulate input to the analog inputs of the F877. It would be nice if I could force the contents of ADRESL/H. Or better yet to let the simulator put a 'real' voltage on the ANx pins. I have no idea how to do this since the manual only explains how to force the contents of program memory. But I want to debug if the ADRESL/H data actually ends up where I put it. Your help is appreciated. Bliek1@telusplanet.net
Al Williams of AWC Says:
You should be able to do this in MPLAB by setting a "register stimulus file". Go to Debug | Simulator Stimulus | Register Stimulus and press the Help button. You can cause a list of values to be forced into a register at a certain point in your program
Good luck!
See also:
http://dattalo.com/gnupic/gpsim.html gpsim is a full-featured software simulator for Microchip PIC microcontrollers distributed under the GNU General Public License.
http://dattalo.com/gnupic/gpsim.html
JALss is a freeware logic simulator with limited analog capabilities, running under windows.
It's mainly designed to simulate PICs but the user can add any device through a DLL.
High level debugging is supported for JAL and XCSB.
JALss works fluently together with JALcc, which is an Integrated Development Environement (IDE) specially designed for JAL and XCSB.
David
A Cary Says:
"
RS232 communication simulated inside MPLAB
/techref/microchip/mplab/sti-rs232.htm
"
David A Cary Says:
gpsim is a full-featured software simulator for Microchip PIC microcontrollers distributed under the GNU General Public License.
http://dattalo.com/gnupic/gpsim.html
David A Cary Says:
"A CPU core simulator is build into the [JAL] compiler... It might also be usefull for debugging and testing stand-alone code." /techref/microchip/language/jal/doc/summary.html
Archive:
deva seetharam Says:
Simulpic is a free and open-sourced simulator that can be compiled with gcc.
i think the significance of Simulpic lies in its simplicity - the system is easy to understand, use and modify. for instance, i built a distributed embedded system simulator that is composed of thousands of 16F84's and i found Simulpic to be amenable to hacking. you might find it useful as a stand-alone simulator and/or as a building block for more complex systems.
Simulpic is available at: http://www.dseetharam.org/software/simulpic.tar.gz