lcgamboa / picsimlab

PICsimLab - Programmable IC Simulator Laboratory
GNU General Public License v2.0
442 stars 85 forks source link

PicsimLab will not run #64

Closed synolope closed 1 year ago

synolope commented 1 year ago

PicsimLab was working until I tried to change the board to STM32. Ever since I cannot run PicsimLab for the life of me. All the other applications that come with it works. I have tried reinstalling and restarting my PC. Nothing is working. If I try opening the program it just does not open. Please help.

synolope commented 1 year ago

Note: If I try compiling it via the sh file I get this error: fatal error: lxrad.h: No such file or directory

lcgamboa commented 1 year ago

Hi @synolope , there are some instructions to use build scripts here. Probably some problem with STM32 support is preventing the simulator from working, if you are using a Linux version open the program in a terminal and check the error messages. It's possible to reset PICSimLab to the initial state changing the board with command line picsimlab Arduino_Uno or loading one of the examples. Sending more information about which OS and PICSimLab version you are using can make it easier to detect the cause of the problem.

synolope commented 1 year ago

i am running on windows 11 and picsimlab 0.8.11. i am installing it using the windows installer. resetting the board back to arduino uno worked! but, i really need the stm32 board. what can i do now?

synolope commented 1 year ago

the following boards are not working for me: Blue Pill ESP32 STM32

lcgamboa commented 1 year ago

Looks like some problem with qemu support. The normal version for Windows does not generate messages in the terminal, please install the experimental version and check for any error messages in terminal.

serbianwizard commented 1 year ago

Hi @synolope , there are some instructions to use build scripts here. Probably some problem with STM32 support is preventing the simulator from working, if you are using a Linux version open the program in a terminal and check the error messages. It's possible to reset PICSimLab to the initial state changing the board with command line picsimlab Arduino_Uno or loading one of the examples. Sending more information about which OS and PICSimLab version you are using can make it easier to detect the cause of the problem.

On Windows 10, running "picsimlab.exe Arduino_Uno" from the PicsimLab directory in Program Files via command prompt fixed this issue for me. Thanks!

lcgamboa commented 1 year ago

The new version 0.8.12 has support to show error logs.