GithubHelp home page GithubHelp logo

amr-mkamal / picsimlab Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lcgamboa/picsimlab

0.0 1.0 0.0 43.55 MB

PICsimLab - PIC Simulator Laboratory

License: GNU General Public License v2.0

Makefile 0.38% C++ 94.79% C 2.46% Shell 0.42% JavaScript 0.97% Python 0.98%

picsimlab's Introduction

PICSimLab - PIC Simulator Laboratory

PICSimLab is a realtime emulator of development boards with integrated MPLABX/avr-gdb debugger. PICSimLab supports some picsim microcontrollers and some simavr microcontrollers. PICSimLab have integration with MPLABX/Arduino IDE for programming the boards microcontrollers.

PICsimLab

PICsimLab

Requirements for compiling:

wxwidget - For graphic suport http://www.wxwidgets.org

picsim - PIC simulator https://github.com/lcgamboa/picsim

lxrad - Graphic library https://github.com/lcgamboa/lxrad

simavr - AVR simulator https://github.com/buserror/simavr

Utils:

picsimlab_md - for debug with MPLABX https://github.com/lcgamboa/picsimlab_md

com0com - For serial emulation in windows http://com0com.sourceforge.net/

tty0tty - For serial emulation in linux https://github.com/lcgamboa/tty0tty

Stable version executables download

https://github.com/lcgamboa/picsimlab/releases

If you are on macOS you can run picsimlab using Wine:

  • Download and install xquartz
  • Download and install Wine
  • Download the executable and double-click it to run the installer

Install from source

In Debian Linux and derivatives:

git clone https://github.com/lcgamboa/picsimlab.git
cd picsimlab
./picsimlab_build_all_and_deps.sh

Cross-compiling for windows 64bits (from linux or wsl on win10)

In Debian Linux and derivatives:

git clone https://github.com/lcgamboa/picsimlab.git
cd picsimlab
./picsimlab_build_w64.sh

Troubleshooting:

The simulation in PICSimLab consists of 3 parts:

  • The microcontroller program
  • Microcontroller simulation (made by picsim and simavr)
  • Simulation of boards and parts

When a problem occurs it is important to detect where it is occurring.

One of the most common problems is the error in the microcontroller program. Before creating an issue, test your code on a real circuit (even partially) to make sure the problem is not there.

Errors in the microcontroller simulation can be detected using code debugging. Any instruction execution or peripheral behavior outside the expected should be reported in the project of simulator used (picsim or simavr).

If the problem is not in either of the previous two options, the problem is probably in PICSimLab. A good practice is to send a source code together with a PICSimLab workspace (.pzw file) to open the issue about the problem.

Info

Online Documentation

Development Documentation

Changelog

TODO list

Online version of PICSimLab

picsimlab's People

Contributors

lcgamboa avatar tomashubelbauer avatar jsmith-solectria avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.