sábado, 4 de fevereiro de 2023

PICSIMLAB WITH VISUINO


PICSIMLAB WITH VISUINO

PICSimLab is a realtime emulator of development boards with MPLABX/avr-gdb debugger integration. PICSimLab supports microcontrollers from picsim, simavr, uCsim, qemu-stm32, qemu-esp32, and gpsim. PICSimLab has integration with MPLABX/Arduino IDE for programming the microcontroller's boards. As the purpose of PICSimLab is to emulate real hardware it does not have any source code editing support. For code editing and debugging the same tools used for a real board should be used with PICSimLab, such as MPLABX, Arduino IDE, or VSCode with PlatformIO.
PICSimLab supports several devices (spare parts) that can be connected to the boards for simulation. Such as example LEDs and push buttons for simple outputs and inputs and some more complex ones like the ethernet shield w5500 for internet connection or the color graphic display ili9340 with touchscreen. The complete list of parts can be accessed in the documentation.


VISUINO
Visuino is the latest innovative software from Mitov Software. A visual programming environment that allows you to program your Arduino boards.
The components found in the Visuino software represent your hardware components and you will be able to easily create and design your programs using drag and drop. No equipment or hardware is required to run the software in design mode. Once you have completed the design, you can connect the Arduino board upload and run it.
For those people who are not strong in writing code then designing, compiling and creating Arduino programs has never been easier! Why waste time coding when all the hard work is done for you? You've got your Arduino board and great hardware design, get it up and running in minutes, not hours!
How to run Visuino code on PICSIMLAB ?
Download and Install the PICSIMLAB
(Arduino EMULATOR)

  • UPLOAD OF HEX BY SERIAL 

Download and install Virtual COMM
(Will created a bridge between two VIRTUAL COMM, one will be used by the PICSIMLAB and other will be used by the VISUINO), both to UPLOAD and LOGS.


In this case, i created a COM27 (reference on Visuino) and COM28 (reference to PICSIMLAB), pay attention to CHECKBOX  (use Port Class and enable buffer overrun).



Execute PICSIMLAB e select on File menu Configure, one of Virtual COMM created, in this case COM27.



Change too the Clk (MHz) to 16


Execute now Visuino and select the Virtual COMM28, wich is bridged with PICSIMLAB Virtual COMM27.
In Visuino Project a 1Hz Blink on Arduino LED (13) is created, compile it.

In the PICSIMLAB, you need to download the Arduino Bootloader, yes, need first run the BOOTLODER to allow the UPLOAD :)


On Visuino, select COMM28, and make the UPLOAD.



You will see the LED Builtin Blinking on PICSIMLAB
  • UPLOAD OF HEX BY File Load Hex on PICSIMLAB

If the VIRTUAL COMXX not work for you, choose the File Load Hex option in PICSIMLAB and Load the HEX file created by VISUINO.

To know where is the HEX file created by Arduino, click here


You will see the LED Builtin Blinking on PICSIMLAB

Video



Display test

Ref

PICSimLab - Prog. IC Simulator Lab. download | SourceForge.net

Home - Visuino - Visual Development for Arduino

Nenhum comentário:

Postar um comentário