Error running ver 1.15 on ESP32-S2
Error running ver 1.15 on ESP32-S2
I am trying to run ver 1.15 on my Espressif ESP32-S2-Saola dev board. I am able to load esp32spiram-20210418-v1.15.bin onto the board, but the output from serial monitor is a continuing repetition of:
ESP-ROM:esp32s2-rc4-20191025
Build:Oct 25 2019
rst:0x10 (RTCWDT_RTC_RST),boot:0x8 (SPI_FAST_FLASH_BOOT)
Invalid chip id. Expected 2 read 0. Bootloader for wrong chip?
ets_main.c 386
I have also tried esp32-20210418-v1.15.bin and esp32spiram-20210424-unstable-v1.15-13-g530c76f6c.bin. Same result for both.
Can anyone tell me where I have gone wrong?
Jim
ESP-ROM:esp32s2-rc4-20191025
Build:Oct 25 2019
rst:0x10 (RTCWDT_RTC_RST),boot:0x8 (SPI_FAST_FLASH_BOOT)
Invalid chip id. Expected 2 read 0. Bootloader for wrong chip?
ets_main.c 386
I have also tried esp32-20210418-v1.15.bin and esp32spiram-20210424-unstable-v1.15-13-g530c76f6c.bin. Same result for both.
Can anyone tell me where I have gone wrong?
Jim
Re: Error running ver 1.15 on ESP32-S2
I don't think micropython has been ported yet to the ESP32-S2.
Re: Error running ver 1.15 on ESP32-S2
There is a GENERIC-S2 board definition. So you can build a version. Besides that you can try circuitpython, eve if I do not favour it.
Re: Error running ver 1.15 on ESP32-S2
I don't have any of the ESP32-S2 boards but does micropython work if you build it with the generic board def.
ETA: Looks like support was added 10 days ago. I will order one of these boards to play around.
ETA: Looks like support was added 10 days ago. I will order one of these boards to play around.
Re: Error running ver 1.15 on ESP32-S2
Thank you for your responses.
I'm not sure I understand them. Each of the three files I mentioned were for the generic ESP32 module.
Jim
I'm not sure I understand them. Each of the three files I mentioned were for the generic ESP32 module.
Jim
Re: Error running ver 1.15 on ESP32-S2
The GENERIC module is different from the GENERIC_S2 module. There are no pre-built images for the S2 yet, and the support is pretty basic, as far as I understand. I was able to build that firmware, but I have no board yet to test it. It's in the mail (or to be precise: at the customs office of Liege airport, where it will stick for another two weeks).
The built firmware is at https://github.com/robert-hh/Shared-Stu ... RIC_S2.bin.
You may try it.
The built firmware is at https://github.com/robert-hh/Shared-Stu ... RIC_S2.bin.
You may try it.
Re: Error running ver 1.15 on ESP32-S2
Roberthh--
Thank you very much for your response and the firmware build. And, best of all, the build works! I did have one stumble before I got to a serial REPL prompt. My board has two UARTs. One is accessed through the USB connector and the other through pins D19 and D20. I flashed your build through the USB port with no problems. When I tried to get a REPL prompt through the USB port, no joy. When I switched to the D19/D20 port, I got the prompt was once agin reminded that 2+2 = 4.
For the benefit of anyone else reading this, I accessed the D19/D20 port using an Adafruit USB breakout cable https://www.adafruit.com/product/4448. Green connects to D+ data positive, pin D20. White connects to D- data negative, pin D19.
Thanks again.
Jim
Thank you very much for your response and the firmware build. And, best of all, the build works! I did have one stumble before I got to a serial REPL prompt. My board has two UARTs. One is accessed through the USB connector and the other through pins D19 and D20. I flashed your build through the USB port with no problems. When I tried to get a REPL prompt through the USB port, no joy. When I switched to the D19/D20 port, I got the prompt was once agin reminded that 2+2 = 4.
For the benefit of anyone else reading this, I accessed the D19/D20 port using an Adafruit USB breakout cable https://www.adafruit.com/product/4448. Green connects to D+ data positive, pin D20. White connects to D- data negative, pin D19.
Thanks again.
Jim
Re: Error running ver 1.15 on ESP32-S2
I do not have a S2 device yet, but the port is told to have REPL through UART. I'll check when I have a S2 board.
Re: Error running ver 1.15 on ESP32-S2
Roberthh -- Did you use the ESP-IDF to build your firmware?
Re: Error running ver 1.15 on ESP32-S2
Sure, what else. Branch ESP-IDF release/v4.3