Hi guys!
I can't make SimulIDE upload a sketch in Linux. I've tried almost everything. I don't know what else to do. In Windows it worked right away.
Steps to reproduce (I'm using Ubuntu 22.04):
- Download arduino-1.8.19-linux64.tar.xz
- Extract using: tar -xaf arduino-1.8.19-linux64.tar.xz
-Download SimulIDE_0.4.15-SR10.AppImage (or the SimulIDE_1.0.0-RC3_Lin64 it doesn't make a difference)
-Execute SimulIDE_0.4.15-SR10.AppImage
-Place a virtual Arduino Uno in the center panel
-Open a Blink sketch using Open button the the upper right toolbar. It's the 7th from the right. I have mine in /home/anestis/Arduino/Blink/Blink.ino
- Set compiler path using right click on the Blink.ino tab. Set it to /home/anestis/Downloads/arduino-1.8.19
-Click Compile which is the 3rd button from the right in the upper right toolbar.
- This prints the message below:
- After the above, click upload. 2nb button from the right.
- I get the message popup:
The file "/tmp/.mount_SimulIVEpOlb/simulide/bin/Blink.hex" was not found.
The title of the popup is: AvrProcessor::loadFirmware
I have also tried the version SimulIDE_1.0.0-RC3_Lin64 which does exactly the same.
I also tried Linux Mint in Virtual Box with the same results.
I checked the /tmp/.mount_SimulIVEpOlb/ directory and it is a read only directory mounted as a filesystem or something.
The command mout -v has:
SimulIDE_0.4.15-SR10.AppImage on /tmp/.mount_SimulIVEpOlb type fuse.SimulIDE_0.4.15-SR10.AppImage (ro,nosuid,nodev,relatime,user_id=1000,group_id=1000)
The directory /home/anestis/.local/share/SimulIDE_0.4.15-SR10.AppImage/codeeditor/buildIno contains:
and the directory build contains:
I will be happy to provide any other information you require.
Thank you!
I can't make SimulIDE upload a sketch in Linux. I've tried almost everything. I don't know what else to do. In Windows it worked right away.
Steps to reproduce (I'm using Ubuntu 22.04):
- Download arduino-1.8.19-linux64.tar.xz
- Extract using: tar -xaf arduino-1.8.19-linux64.tar.xz
-Download SimulIDE_0.4.15-SR10.AppImage (or the SimulIDE_1.0.0-RC3_Lin64 it doesn't make a difference)
-Execute SimulIDE_0.4.15-SR10.AppImage
-Place a virtual Arduino Uno in the center panel
-Open a Blink sketch using Open button the the upper right toolbar. It's the 7th from the right. I have mine in /home/anestis/Arduino/Blink/Blink.ino
- Set compiler path using right click on the Blink.ino tab. Set it to /home/anestis/Downloads/arduino-1.8.19
-Click Compile which is the 3rd button from the right in the upper right toolbar.
- This prints the message below:
Ready
-------------------------------------------------------
File: /home/anestis/Arduino/Blink/Blink.ino
Using Compiler Path:
/home/anestis/Downloads/arduino-1.8.19/
-------------------------------------------------------
Exec:
Found Build folders at:
/home/anestis/.local/share/SimulIDE_0.4.15-SR10.AppImage/codeeditor/buildIno
Found User sketchBook at:
/home/anestis/Arduino
"/home/anestis/Downloads/arduino-1.8.19/arduino-builder" -compile -hardware "/home/anestis/Downloads/arduino-1.8.19/hardware" -tools "/home/anestis/Downloads/arduino-1.8.19/tools-builder" -tools "/home/anestis/Downloads/arduino-1.8.19/hardware/tools/avr" -built-in-libraries "/home/anestis/Downloads/arduino-1.8.19/libraries" -libraries "/home/anestis/Arduino/libraries" -fqbn=arduino:avr:uno -build-path "/home/anestis/.local/share/SimulIDE_0.4.15-SR10.AppImage/codeeditor/buildIno/build" -build-cache "/home/anestis/.local/share/SimulIDE_0.4.15-SR10.AppImage/codeeditor/buildIno/cache" "/home/anestis/Arduino/Blink/Blink.ino"
Sketch uses 924 bytes (2%) of program storage space. Maximum is 32256 bytes.
Global variables use 9 bytes (0%) of dynamic memory, leaving 2039 bytes for local variables. Maximum is 2048 bytes.
SUCCESS!!! Compilation Ok
- After the above, click upload. 2nb button from the right.
- I get the message popup:
The file "/tmp/.mount_SimulIVEpOlb/simulide/bin/Blink.hex" was not found.
The title of the popup is: AvrProcessor::loadFirmware
I have also tried the version SimulIDE_1.0.0-RC3_Lin64 which does exactly the same.
I also tried Linux Mint in Virtual Box with the same results.
I checked the /tmp/.mount_SimulIVEpOlb/ directory and it is a read only directory mounted as a filesystem or something.
The command mout -v has:
SimulIDE_0.4.15-SR10.AppImage on /tmp/.mount_SimulIVEpOlb type fuse.SimulIDE_0.4.15-SR10.AppImage (ro,nosuid,nodev,relatime,user_id=1000,group_id=1000)
The directory /home/anestis/.local/share/SimulIDE_0.4.15-SR10.AppImage/codeeditor/buildIno contains:
drwxrwxr-x 6 anestis anestis 4096 Νοε 7 13:26 build
drwxrwxr-x 3 anestis anestis 4096 Νοε 6 17:15 cache
and the directory build contains:
drwxrwxr-x 6 anestis anestis 4096 Νοε 7 13:26 .
drwxrwxr-x 4 anestis anestis 4096 Νοε 7 13:26 ..
-rw-rw-r-- 1 anestis anestis 13 Νοε 7 13:26 Blink.ino.eep
-rwxrwxr-x 1 anestis anestis 14100 Νοε 7 13:26 Blink.ino.elf
-rw-rw-r-- 1 anestis anestis 2615 Νοε 7 13:26 Blink.ino.hex
-rw-r--r-- 1 anestis anestis 32768 Νοε 7 13:26 Blink.ino.with_bootloader.bin
-rw-rw-r-- 1 anestis anestis 3972 Νοε 7 13:26 Blink.ino.with_bootloader.hex
-rw-r--r-- 1 anestis anestis 573 Νοε 7 13:26 build.options.json
drwxr-xr-x 2 anestis anestis 4096 Νοε 7 13:26 core
-rw-r--r-- 1 anestis anestis 477 Νοε 7 13:26 includes.cache
drwxr-xr-x 2 anestis anestis 4096 Νοε 7 13:26 libraries
drwxr-xr-x 2 anestis anestis 4096 Νοε 7 13:26 preproc
drwxr-xr-x 2 anestis anestis 4096 Νοε 7 13:26 sketch
I will be happy to provide any other information you require.
Thank you!