New AnnexToolKit 1.1 including release 1.48.22

Here you'll find the updated available
User avatar
cicciocb
Site Admin
Posts: 1899
Joined: Mon Feb 03, 2020 1:15 pm
Location: Toulouse
Has thanked: 407 times
Been thanked: 1269 times
Contact:

Re: New AnnexToolKit 1.1 including release 1.48.22

Post by cicciocb »

Have you tried the USB version?
I think that you loaded the Full version that use the serial port.

edit:
Sorry, It looks that the module you bought is equipped with a USB to serial chip.
User avatar
cicciocb
Site Admin
Posts: 1899
Joined: Mon Feb 03, 2020 1:15 pm
Location: Toulouse
Has thanked: 407 times
Been thanked: 1269 times
Contact:

Re: New AnnexToolKit 1.1 including release 1.48.22

Post by cicciocb »

I just received today the same module as you but without the USB to Serial chip

This is what I have with the default firmware installed

Code: [Local Link Removed for Guests]

I/main LuatOS@ESP32C3 base 22.10 bsp V1001
ESP-ROM:esp32c3-api1-20210207
Build:Feb  7 2021
rst:0x15 (USB_UART_CHIP_RESET),boot:0xc (SPI_FAST_FLASH_BOOT)
Saved PC:0x40387546
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fcd5820,len:0x10c4
load:0x403cc710,len:0x738
load:0x403ce710,len:0x2aa4
entry 0x403cc710
I/main LuatOS@ESP32C3 base 22.10 bsp V1001
I/main ROM Build: Oct 10 2022 22:06:59
D/main loadlibs luavm 98296 9960 9960
D/main loadlibs sys   181040 39444 43272
D/wlan esp_wifi_init ret 0
D/wlan wifi event 2
D/wlan esp_wifi_start ret 0
D/wlan wifi station start
D/wlan softap luatos 12341234
D/wlan wifi event 3
D/wlan esp_wifi_stop ret 0
I/wlan auto set to APSTA mode
D/wlan esp_wifi_set_mode ret 0
D/wlan esp_wifi_set_config ret 0
D/wlan wifi event 2
D/wlan wifi event 12
D/wlan esp_wifi_start ret 0
D/wlan apstart ret 0
D/wlan wifi station stop
D/wlan wifi station start
D/wlan wifi ap start
D/httpsrv http accept wait
I/httpsrv http listen at 0.0.0.0:80
I/user.web	pls open url http://192.168.4.1/
and I confirm that I have the same problem as you :

Code: [Local Link Removed for Guests]

ESP-ROM:esp32c3-api1-20210207
Build:Feb  7 2021
rst:0x3 (RTC_SW_SYS_RST),boot:0xc (SPI_FAST_FLASH_BOOT)
Saved PC:0x40383a6e
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fcd6100,len:0x438
load:0x403ce000,len:0x918
load:0x403d0000,len:0x24e4
SHA-256 comparison failed:
Calculated: 080c5cb68a075ced55f248b97bca965e3e5bd5da80a64e34e6a1638f89d6f64e
Expected: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
Attempting to boot anyway...
entry 0x403ce000
ESP-ROM:esp32c3-api1-20210207
Build:Feb  7 2021
rst:0x3 (RTC_SW_SYS_RST),boot:0xc (SPI_FAST_FLASH_BOOT)
Saved PC:0x40383a6e
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fcd6100,len:0x438
load:0x403ce000,len:0x918
load:0x403d0000,len:0x24e4
SHA-256 comparison failed:
Calculated: 080c5cb68a075ced55f248b97bca965e3e5bd5da80a64e34e6a1638f89d6f64e
Expected: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
Attempting to boot anyway...
entry 0x403ce000

This is a good news as I can understand why this happens :D
User avatar
cicciocb
Site Admin
Posts: 1899
Joined: Mon Feb 03, 2020 1:15 pm
Location: Toulouse
Has thanked: 407 times
Been thanked: 1269 times
Contact:

Re: New AnnexToolKit 1.1 including release 1.48.22

Post by cicciocb »

I found the cause and how fix it.
The flash use the DIO mode and not the QIO mode as is usually done on the ESP32 series chip.
I discovered this behavior and then, on the luatos site I found this information that confirms

IO12 (GPIO12) and IO13 (GPIO13) are multiplexed for SPI signals SPIHD and SPIWP in QIO mode. In order to increase the number of available GPIOs, the development board chooses the DIO mode of 2-wire SPI. IO12 and IO13 are not connected to flash. Use your own compilation When installing the software, you need to pay attention to configure the flash as DIO mode.


Unfortunately simply changing the flash mode in the toolkit do not work (strange, by the way :evil: ) so I've been obliged to recompile the firmware

I found also this interesting page https://wiki.luatos.com/_static/bom/esp32c3.html

You can try with this .bin
Annex32C3.bin
and it should work for your module.
However the OTA will not work as it requires a new release of the OTA firmware too
You do not have the required permissions to view the files attached to this post.
Palm Liu
Posts: 41
Joined: Fri Jun 25, 2021 3:50 am
Has thanked: 10 times
Been thanked: 17 times

Re: New AnnexToolKit 1.1 including release 1.48.22

Post by Palm Liu »

Thanks a lot!!! I will test the new firmware tomorrow.
Palm Liu
Posts: 41
Joined: Fri Jun 25, 2021 3:50 am
Has thanked: 10 times
Been thanked: 17 times

Re: New AnnexToolKit 1.1 including release 1.48.22

Post by Palm Liu »

[Local Link Removed for Guests] wrote: [Local Link Removed for Guests]Tue Dec 06, 2022 9:05 pm I found the cause and how fix it.
The flash use the DIO mode and not the QIO mode as is usually done on the ESP32 series chip.
I discovered this behavior and then, on the luatos site I found this information that confirms

IO12 (GPIO12) and IO13 (GPIO13) are multiplexed for SPI signals SPIHD and SPIWP in QIO mode. In order to increase the number of available GPIOs, the development board chooses the DIO mode of 2-wire SPI. IO12 and IO13 are not connected to flash. Use your own compilation When installing the software, you need to pay attention to configure the flash as DIO mode.


Unfortunately simply changing the flash mode in the toolkit do not work (strange, by the way :evil: ) so I've been obliged to recompile the firmware

I found also this interesting page https://wiki.luatos.com/_static/bom/esp32c3.html

You can try with this .bin Annex32C3.bin and it should work for your module.
However the OTA will not work as it requires a new release of the OTA firmware too
Work fine on my ESP32C3 board (Annex32-C3 BLE CAN 1.48.3), thanks!
N7QWT
Posts: 21
Joined: Fri Feb 19, 2021 4:03 am
Been thanked: 3 times

Re: New AnnexToolKit 1.1 including release 1.48.22

Post by N7QWT »

Finally got around to trying this again.
Still having the same issue, and it just reboots after a few seconds......

ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0x1 (POWERON),boot:0x8 (SPI_FAST_FLASH_BOOT)
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fce3808,len:0x39c
load:0x403c9700,len:0x9bc
load:0x403cc700,len:0x28dc
SHA-256 comparison failed:
Calculated: 5830b36eadda2ccdc73ac0028cd665f9a0ae0dcfc1ccf372c71f9cc6bad2ccc4
Expected: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
Attempting to boot anyway...
entry 0x403c98c0
User avatar
cicciocb
Site Admin
Posts: 1899
Joined: Mon Feb 03, 2020 1:15 pm
Location: Toulouse
Has thanked: 407 times
Been thanked: 1269 times
Contact:

Re: New AnnexToolKit 1.1 including release 1.48.22

Post by cicciocb »

[Local Link Removed for Guests] wrote: [Local Link Removed for Guests]Tue Dec 20, 2022 7:25 pm Finally got around to trying this again.
Still having the same issue, and it just reboots after a few seconds......

ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0x1 (POWERON),boot:0x8 (SPI_FAST_FLASH_BOOT)
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fce3808,len:0x39c
load:0x403c9700,len:0x9bc
load:0x403cc700,len:0x28dc
SHA-256 comparison failed:
Calculated: 5830b36eadda2ccdc73ac0028cd665f9a0ae0dcfc1ccf372c71f9cc6bad2ccc4
Expected: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
Attempting to boot anyway...
entry 0x403c98c0
Probably the module that you have is not compatible with the actual -S3 firmware.
The actual firmware is based on PSRAM with octal PSRAM, maybe this is not the case for your module.
This seems very similar to what happened on the esp32-c3 module.

What is exactly your module? Do you have a schematic ?

edit
I think that you have one of these modules, the N8R2 exectly:
https://docs.espressif.com/projects/esp ... itc-1.html

This could explain as the module use a PSRAM with Quad and not octal SPI
N7QWT
Posts: 21
Joined: Fri Feb 19, 2021 4:03 am
Been thanked: 3 times

Re: New AnnexToolKit 1.1 including release 1.48.22

Post by N7QWT »

[Local Link Removed for Guests] wrote: [Local Link Removed for Guests]Wed Dec 21, 2022 9:22 am
[Local Link Removed for Guests] wrote: [Local Link Removed for Guests]Tue Dec 20, 2022 7:25 pm Finally got around to trying this again.
Still having the same issue, and it just reboots after a few seconds......

ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0x1 (POWERON),boot:0x8 (SPI_FAST_FLASH_BOOT)
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fce3808,len:0x39c
load:0x403c9700,len:0x9bc
load:0x403cc700,len:0x28dc
SHA-256 comparison failed:
Calculated: 5830b36eadda2ccdc73ac0028cd665f9a0ae0dcfc1ccf372c71f9cc6bad2ccc4
Expected: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
Attempting to boot anyway...
entry 0x403c98c0
Probably the module that you have is not compatible with the actual -S3 firmware.
The actual firmware is based on PSRAM with octal PSRAM, maybe this is not the case for your module.
This seems very similar to what happened on the esp32-c3 module.

What is exactly your module? Do you have a schematic ?

edit
I think that you have one of these modules, the N8R2 exectly:
https://docs.espressif.com/projects/esp ... itc-1.html

This could explain as the module use a PSRAM with Quad and not octal SPI
Yes, that is the module I have, ESP32-S3-DEVKITC-1-N8R2
skybandit
Posts: 3
Joined: Wed Feb 24, 2021 4:40 pm
Been thanked: 2 times

Re: New AnnexToolKit 1.1 including release 1.48.22

Post by skybandit »

Hi, I think i have a similar issue, says it flashes ok, but get similar message in serial port.
My module is a Banana Pi BPI-Leaf-S3

cheers
User avatar
cicciocb
Site Admin
Posts: 1899
Joined: Mon Feb 03, 2020 1:15 pm
Location: Toulouse
Has thanked: 407 times
Been thanked: 1269 times
Contact:

Re: New AnnexToolKit 1.1 including release 1.48.22

Post by cicciocb »

Could you test these versions for the esp32-s3?
This is with the PSRAM disabled
Annex32S3_no_psram.bin
and this is with a QIO psram enabled
Annex32S3_qio_psram.bin
Please report .
You do not have the required permissions to view the files attached to this post.
Post Reply