Annex Toolkit multi platform beta version

All that relates to the Annex Toolkit Utility
Post Reply
User avatar
Electroguard
Posts: 836
Joined: Mon Feb 08, 2021 6:22 pm
Has thanked: 268 times
Been thanked: 317 times

Re: Annex Toolkit multi platform beta version

Post by Electroguard »

Upgrading the Toolkit was so simple.
Thanks for the automatic esp device selection after doing a blue button read, and all the other improvements.
mcguinn
Posts: 2
Joined: Wed Mar 10, 2021 11:23 am

Re: Annex Toolkit multi platform beta version

Post by mcguinn »

Thanks cicciocb,

Excellent improvement to make the Toolkit multi platform!!
Tested it on Ubuntu 18.04 and it is working great.
Flashing and reading esp8266, esp32, uploading and downloading files, udp.
Tried to use the Ota, but could not get it to do anything.
(I have never used Ota before so it is very probable I'm using it the wrong way.)

Big plus: One reason less to keep a Windows machine at hand.
User avatar
cicciocb
Site Admin
Posts: 1900
Joined: Mon Feb 03, 2020 1:15 pm
Location: Toulouse
Has thanked: 407 times
Been thanked: 1271 times
Contact:

Re: Annex Toolkit multi platform beta version

Post by cicciocb »

[Local Link Removed for Guests] wrote: [Local Link Removed for Guests]Fri Apr 23, 2021 5:57 pm Thanks cicciocb,

Excellent improvement to make the Toolkit multi platform!!
Tested it on Ubuntu 18.04 and it is working great.
Flashing and reading esp8266, esp32, uploading and downloading files, udp.
Tried to use the Ota, but could not get it to do anything.
(I have never used Ota before so it is very probable I'm using it the wrong way.)

Big plus: One reason less to keep a Windows machine at hand.
Hi,
the OTA under linux requires elevation (be root) to work because the use of local ports below 1024 are privileged and only root can open listening sockets on them.

I'll change the port to 8080 to avoid this limitation with linux
User avatar
Fernando Perez
Posts: 378
Joined: Mon Feb 15, 2021 10:09 pm
Location: Santander (Spain)
Has thanked: 195 times
Been thanked: 267 times

Re: Annex Toolkit multi platform beta version

Post by Fernando Perez »

Cicciocb, I have loaded and run without problems on UBUNTU-MATE 20.04.2.0 desktop amd64.
However, on Raspberry Pi OS Desktop (Debian Buster 4.19), installed on a laptop, I get these messages:

pi @ raspberry: ~ / annex $ ./mkspiffs
./mkspiffs: error while loading shared libraries: libstdc ++. so.6: cannot open shared object file: No such file or directory


pi @ raspberry: ~ / annex $ ./linux.sh
./zulu15.29.15-ca-fx-jre15.0.2-linux_x64/bin/java: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory


Then I have understood that Raspberry only offers the 32-bit installation, so it is normal when you use 64-bit Java.

So everything is correct. A great job. (And pretty)
User avatar
cicciocb
Site Admin
Posts: 1900
Joined: Mon Feb 03, 2020 1:15 pm
Location: Toulouse
Has thanked: 407 times
Been thanked: 1271 times
Contact:

Re: Annex Toolkit multi platform beta version

Post by cicciocb »

Wow, it could even run on respberry!

Let me investigate and see what can be done.

A quick search brought me here where we are talking about how to get javafx to work on raspberry
https://blogs.oracle.com/javamagazine/g ... spberry-pi

You should download and install the SDK for raspberry.
The link seems this one https://download.bell-sw.com/java/13/be ... p-hflt.deb
I'm not sure if this version is compatible but you could give a try.
Stuart
Posts: 126
Joined: Fri Feb 19, 2021 7:46 pm
Has thanked: 5 times
Been thanked: 20 times

Re: Annex Toolkit multi platform beta version

Post by Stuart »

I just followed the full instructions on my Ubuntu 20.04.2, but it failed on the lack of serial ports. everything seemed to work. I did the usermods, there wasn't a 'lock' group so I created it and added myself to it, but still no ports after logging out/in.

This will be a gamechanger for me.
User avatar
Electroguard
Posts: 836
Joined: Mon Feb 08, 2021 6:22 pm
Has thanked: 268 times
Been thanked: 317 times

Re: Annex Toolkit multi platform beta version

Post by Electroguard »

Hi Stuart, the device port is only available when there is a valid device plugged into it and linux has installed a valid driver for the device.
So try plugging in some different ESP devices (giving enough time for the device driver to get loaded and linux to make the new port available in the Toolkit device dropdown).
User avatar
cicciocb
Site Admin
Posts: 1900
Joined: Mon Feb 03, 2020 1:15 pm
Location: Toulouse
Has thanked: 407 times
Been thanked: 1271 times
Contact:

Re: Annex Toolkit multi platform beta version

Post by cicciocb »

[Local Link Removed for Guests] wrote: [Local Link Removed for Guests]Mon Apr 26, 2021 12:42 pm I just followed the full instructions on my Ubuntu 20.04.2, but it failed on the lack of serial ports. everything seemed to work. I did the usermods, there wasn't a 'lock' group so I created it and added myself to it, but still no ports after logging out/in.

This will be a gamechanger for me.
Hi Stuart,
in addition to what Electroguard said, can you jst confirm that esptool works? (as shown in the procedure )?

i.e. typying

Code: [Local Link Removed for Guests]

./esptool
esptool.py v2.6
usage: esptool [-h] [--chip {auto,esp8266,esp32}] [--port PORT] [--baud BAUD]
               [--before {default_reset,no_reset,no_reset_no_sync}]
               [--after {hard_reset,soft_reset,no_reset}] [--no-stub]
               [--trace] [--override-vddsdio [{1.8V,1.9V,OFF}]]
               ....
User avatar
cicciocb
Site Admin
Posts: 1900
Joined: Mon Feb 03, 2020 1:15 pm
Location: Toulouse
Has thanked: 407 times
Been thanked: 1271 times
Contact:

Re: Annex Toolkit multi platform beta version

Post by cicciocb »

[Local Link Removed for Guests] wrote: [Local Link Removed for Guests]Sat Apr 24, 2021 7:31 pm Cicciocb, I have loaded and run without problems on UBUNTU-MATE 20.04.2.0 desktop amd64.
However, on Raspberry Pi OS Desktop (Debian Buster 4.19), installed on a laptop, I get these messages:

pi @ raspberry: ~ / annex $ ./mkspiffs
./mkspiffs: error while loading shared libraries: libstdc ++. so.6: cannot open shared object file: No such file or directory


pi @ raspberry: ~ / annex $ ./linux.sh
./zulu15.29.15-ca-fx-jre15.0.2-linux_x64/bin/java: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory


Then I have understood that Raspberry only offers the 32-bit installation, so it is normal when you use 64-bit Java.

So everything is correct. A great job. (And pretty)
Hi Fernando,
I just understood that you are talking about the Raspberry Pi operating system on x86 PC, I misinterpreted this as for the Raspberry Pi.
These 2 errors should go installing the lib32 and choosing the right java SDK 32bits.

I need to see if it can be found somewhere ...
User avatar
Fernando Perez
Posts: 378
Joined: Mon Feb 15, 2021 10:09 pm
Location: Santander (Spain)
Has thanked: 195 times
Been thanked: 267 times

Re: Annex Toolkit multi platform beta version

Post by Fernando Perez »

Indeed, Francesco, it is about this distribution:
https://www.raspberrypi.org/software/ra ... i-desktop/
I would appreciate it because I have installed it in a sadly aged Dell Inspiron 1545 that with only 2 GB of RAM and, I do admit, an SSD hard drive, has been reborn.
Post Reply