Annex Toolkit multi platform beta version

All that relates to the Annex Toolkit Utility
Post Reply
its1000
Posts: 76
Joined: Thu May 20, 2021 6:57 pm
Has thanked: 3 times
Been thanked: 1 time

Re: Annex Toolkit multi platform beta version

Post by its1000 »

[Local Link Removed for Guests] wrote: [Local Link Removed for Guests]Thu Sep 09, 2021 3:15 pm In the page [Local Link Removed for Guests] you will see a link https://drive.google.com/uc?id=19iC8IkL ... t=download, which leads to download the version annextoolkit_release-0.9.tar.gz
Try to download this file, unzip it in a folder using 7-zip and there you will find the start file win.bat
This version already has everything you need, including the zulu packages.
thank you I try right now
its1000
Posts: 76
Joined: Thu May 20, 2021 6:57 pm
Has thanked: 3 times
Been thanked: 1 time

Re: Annex Toolkit multi platform beta version

Post by its1000 »

it is now better, but still having issue trying to install the epaper firmware on the lilygo.
i manage launching th new Esptool doing what you last told me. I copied the last firmware in the build directory.
when i read the module info, i have the info.
when i try an erase memory it works, the epaper does not execute anymore the demo programm.

then when I try to do a FLASH i have a message :

"flash not completed"
here is the log :

FLASH MODULE STARTED

usage: esptool write_flash [-h] [--erase-all]
[--flash_freq {keep,40m,26m,20m,80m}]
[--flash_mode {keep,qio,qout,dio,dout}]
[--flash_size FLASH_SIZE]
[--spi-connection SPI_CONNECTION] [--no-progress]
[--verify] [--compress | --no-compress]
<address> <filename> [<address> <filename> ...]
esptool write_flash: error: argument <address> <filename>: [Errno 2] No such file or directory: 'D:\\TEST'
exit_code:2

if someone have a clue, thank you very much.
User avatar
Fernando Perez
Posts: 378
Joined: Mon Feb 15, 2021 10:09 pm
Location: Santander (Spain)
Has thanked: 195 times
Been thanked: 266 times

Re: Annex Toolkit multi platform beta version

Post by Fernando Perez »

Sorry I can't help you anymore, but I don't have any ePaper module for testing.
But it occurs to me that you should check what it is looking for in 'D: \\ TEST'.
Do you have Annex installed on the C: drive?
Do you have a D: drive connected?
User avatar
cicciocb
Site Admin
Posts: 1889
Joined: Mon Feb 03, 2020 1:15 pm
Location: Toulouse
Has thanked: 405 times
Been thanked: 1261 times
Contact:

Re: Annex Toolkit multi platform beta version

Post by cicciocb »

Proba
[Local Link Removed for Guests] wrote: [Local Link Removed for Guests]Sat Sep 11, 2021 11:41 am it is now better, but still having issue trying to install the epaper firmware on the lilygo.
i manage launching th new Esptool doing what you last told me. I copied the last firmware in the build directory.
when i read the module info, i have the info.
when i try an erase memory it works, the epaper does not execute anymore the demo programm.

then when I try to do a FLASH i have a message :

"flash not completed"
here is the log :

FLASH MODULE STARTED

usage: esptool write_flash [-h] [--erase-all]
[--flash_freq {keep,40m,26m,20m,80m}]
[--flash_mode {keep,qio,qout,dio,dout}]
[--flash_size FLASH_SIZE]
[--spi-connection SPI_CONNECTION] [--no-progress]
[--verify] [--compress | --no-compress]
<address> <filename> [<address> <filename> ...]
esptool write_flash: error: argument <address> <filename>: [Errno 2] No such file or directory: 'D:\\TEST'
exit_code:2

if someone have a clue, thank you very much.
Probably the folder name contains spaces (such as "D:/TEST BLA BLA")
its1000
Posts: 76
Joined: Thu May 20, 2021 6:57 pm
Has thanked: 3 times
Been thanked: 1 time

Re: Annex Toolkit multi platform beta version

Post by its1000 »

thank you it was that! now i installed all.
I have to understand how works the epaper, because it is pretty different than the esp32.
User avatar
douglasp
Posts: 10
Joined: Fri Sep 17, 2021 2:09 am
Location: Australia
Has thanked: 3 times
Been thanked: 2 times

Re: Annex Toolkit multi platform beta version

Post by douglasp »

Thanks for the linux version.
Running linux Mint 20.2, using your Annex Toolkit v0.9beta, I can read and program a Wemos D1 mini with no problems however, when I try to program an ESP-01, I get the following error:-
esptool.py v2.6
Serial port /dev/ttyACM0
Connecting...
Traceback (most recent call last):
File "./esptool", line 2959, in <module>
_main()
File "./esptool", line 2952, in _main
main()
File "./esptool", line 2646, in main
esp = ESPLoader.detect_chip(each_port, initial_baud, args.before, args.trace)
File "./esptool", line 259, in detect_chip
detect_port.connect(connect_mode)
File "./esptool", line 460, in connect
last_error = self._connect_attempt(mode=mode, esp32r0_delay=False)
File "./esptool", line 418, in _connect_attempt
self._setDTR(False) # IO0=HIGH
File "./esptool", line 384, in _setDTR
self._port.setDTR(state)
File "/usr/lib/python3/dist-packages/serial/serialutil.py", line 599, in setDTR
self.dtr = value
File "/usr/lib/python3/dist-packages/serial/serialutil.py", line 469, in dtr
self._update_dtr_state()
File "/usr/lib/python3/dist-packages/serial/serialposix.py", line 636, in _update_dtr_state
fcntl.ioctl(self.fd, TIOCMBIC, TIOCM_DTR_str)
BrokenPipeError: [Errno 32] Broken pipe
exit_code:1

I have tested the individual modules as detailed in your post at the top and all work OK. I note that the Wemos module is connected via USB and has access to DTR but the USB to serial converter I use for the ESP-01 has only Rx and Tx. Is DTR capability a MUST?

Thanks,
Doug.
User avatar
douglasp
Posts: 10
Joined: Fri Sep 17, 2021 2:09 am
Location: Australia
Has thanked: 3 times
Been thanked: 2 times

Re: Annex Toolkit multi platform beta version

Post by douglasp »

Thanks for the linux version. I am running AnnexToolkit v0.9 beta under linux Mint 20.2.
I can read/program a Wemos D1 mini successfully however, when I try to read/program an ESP-01 I get the following error:-

esptool.py v2.6
Serial port /dev/ttyACM0
Connecting...
Traceback (most recent call last):
File "./esptool", line 2959, in <module>
_main()
File "./esptool", line 2952, in _main
main()
File "./esptool", line 2646, in main
esp = ESPLoader.detect_chip(each_port, initial_baud, args.before, args.trace)
File "./esptool", line 259, in detect_chip
detect_port.connect(connect_mode)
File "./esptool", line 460, in connect
last_error = self._connect_attempt(mode=mode, esp32r0_delay=False)
File "./esptool", line 418, in _connect_attempt
self._setDTR(False) # IO0=HIGH
File "./esptool", line 384, in _setDTR
self._port.setDTR(state)
File "/usr/lib/python3/dist-packages/serial/serialutil.py", line 599, in setDTR
self.dtr = value
File "/usr/lib/python3/dist-packages/serial/serialutil.py", line 469, in dtr
self._update_dtr_state()
File "/usr/lib/python3/dist-packages/serial/serialposix.py", line 636, in _update_dtr_state
fcntl.ioctl(self.fd, TIOCMBIC, TIOCM_DTR_str)
BrokenPipeError: [Errno 32] Broken pipe
exit_code:1

The Wemos D1 mini is connected via its own USB connection. The ESP-01 is connected via a standard USB to serial I/F with just Rx and Tx. Is DTR functionality needed (I think the Wemos D1 mini has this internally)?

Thanks,Doug.
User avatar
Electroguard
Posts: 835
Joined: Mon Feb 08, 2021 6:22 pm
Has thanked: 267 times
Been thanked: 317 times

Re: Annex Toolkit multi platform beta version

Post by Electroguard »

Hi,
The wemos D1 mini can automatically be put into flashing mode by the dtr functionality.
But the esp01 needs to be booted into flashing mode with gpio0 at 0v (and gpio2 high).
User avatar
Fernando Perez
Posts: 378
Joined: Mon Feb 15, 2021 10:09 pm
Location: Santander (Spain)
Has thanked: 195 times
Been thanked: 266 times

Re: Annex Toolkit multi platform beta version

Post by Fernando Perez »

Doug, I hope my experiments with the ESP-01S will help you.
Everything that follows refers to Windows 10, as I do not work with Linux.
In this image, you will see three different devices:
image.png
The one at the bottom is a USB to ESP-01 adapter that can be easily obtained from online stores. As when I bought it, the current models did not exist, which already incorporate a two-position switch that allows connecting GPIO0 to GND during the programming phase, I reproduced it by hand, gluing a switch to the module and soldering the corresponding pins.
I can confirm that this system works with the initial versions of Annex, but not with the current multiplatform, which seems to need the DTR signal to communicate. Is that so, Cicciocb?
The center model is a DSD TECH SH-U09C5, an acquisition that I am very satisfied with. It works perfectly in all Annex versions with this wiring:
image.png
And the top model is an old FTDI232, which also works with all Annex versions and the wiring system of the previous model, but with one important difference: Its Vcc output does not supply enough current to power the ESP-01, so It must be powered independently with a 3.3 V source.
To be able to wire these systems, it may be helpful to build a multiple connector by center soldering two female / female Dupont cables:
image.png
Luck.
You do not have the required permissions to view the files attached to this post.
AndyGadget
Posts: 222
Joined: Mon Feb 15, 2021 1:44 pm
Has thanked: 119 times
Been thanked: 132 times

Re: Annex Toolkit multi platform beta version

Post by AndyGadget »

I didn't expect any problems but just to confirm, Toolkit 0.9b works fine for programming and OTA updates on Windows 11.
Post Reply