Closed rayhan-shhadeh closed 3 weeks ago
Hi @rayhan-shhadeh ,
This error is related to the OpenAL library used for audio support for PICSimLab. A common problem that causes PICSimLab to freeze is using serial communication with a com0com port without correctly configuring it. If this is the case, connect a serial terminal to the other port of com0com and the PICSimLab will work again.
Actually that's true, I'm using tera term for serial and another bootloader software ( originally for our uni ) that checks for available ports and make the connection to read last byte in memory then upload the code to a hardware basic circuit contains PIC18F4620, my question is how to configure com0com port correctly?
The problems root was from com0com drivers on my laptop so I updated all of them then launch Com0com and put COM1 (or any available port) in Tera Term -> New connection -> Serial -> port,
and another port like COM2 on CuteCom in PICSimLab -> Tools -> Serial Terminal
and that fixes the issue, Thanks for helping.
note: after installing com0c0m and launch it my laptop keeps showing that I need to install Microsoft .NET v2.0 or higher to show. however, I already installed the last version so I fixed this by:
1. Control panel -> Turn windows features on or off.
2. Turn on .NET Framework (include 2.0 or higher).
3. Return to com0com and configure it.
I have the latest version of PICSimLab 0.9.1v to simulate microcontroller PIC18F4620 at first it was fine but after couple of weeks everytime I try to load the Hex file it stops responding. what I tried:
note: I'm only using PIC16F4620 from the simulator and the hex file loaded from MPLAB X and using my doctor tested codes.