I think I have at least partially solved the connection failure problem but I did not understand what was causing the problem.
I installed jdk-15.0.1_windows-x64_bin.exe and reinstalled jre-8u271-windows-x64.exe.
I disabled the native serial port on the motherboard and reinstalled mojo driver v3.
Now I have access to the FPGA both to write the .bin file and to use the serial port.
I also tried to restart the pc everything works if I don’t remove the usb plug.
If I do this, the mojo is detected in the device manager but with the com port number changed (Ex: COM4 first to COM16 later) in this case alchitry no longer detects the device and you need to restart the pc to restore the operation of the port by reporting the number of COM4.
With the motherboard’s native com1 port the mojo is assigned a high port number by com12 or more, and this stops alchitry-lab from working.
i don’t know if this causes the problem.
but it is certain that there is a problem identifying the com port.
With mojo loader I have never encountered problems even swapping USB port.
I do further tests to better understand what causes the problem.
Now that I understand the situation better I do the same tests on the laptop which shows the same problem even though it has no built-in com ports.
It seems that alchitry does not release the device once it is closed so that by removing the usb plug and reconnecting in the same port it now keeps the com number but alchitry lab no longer works anyway.
Mojo loader however also works in this case. But!!!
[hr]
I did another test:
- I have enabled native com on the motherboard (COM1)
- I fixed the COM4 for mojo from the driver.
The mojo is detected and works correctly in alchitry-lab if I do not remove the usb plug by changing the port or reconnecting it to it.
Then:
-I changed usb port, reinstalled driver for mojo and fixed by COM3 driver, restarted the pc and alchitry-lab works.
But I can’t change the USB port otherwise the problem recurs, and to fix things I have to restart the pc.
That’s all I think the problem is now pretty clear.