No REPL on ESP32-S2
Posted: Mon Jun 21, 2021 7:15 am
Hello all,
I'm pretty new to Micropytohn firmware building process, but I tried to build the GENERIC_S2 esp32 port from current Micropython master and I was able to get a micropython.bin firmware executable.
Once deployed on my board (a simple standalone esp32-s2-wroom already checked with espressif examples) I have no REPL on UART0 (RX module pin 37 and TX module pin 38) but only the following:
ESP-ROM:esp32s2-rc4-20191025
Build:Oct 25 2019
rst:0x1 (POWERON),boot:0x8 (SPI_FAST_FLASH_BOOT)
SPIWP:0xee
mode:DIO, clock div:1
load:0x3ffe6100,len:0x12b0
load:0x4004c000,len:0x8c4
load:0x40050000,len:0x2ca4
entry 0x4004c1a8
I have no panic at 0x4004c1a8 so I think the firmware is running, but I'm not sure, any suggestion?
Here my deployment command:
esptool.py esp32s2 -p /dev/ttyUSB0 -b 460800 --before=default_reset --after=hard_reset write_flash --flash_mode dio --flash_freq 80m --flash_size 4MB 0x8000 partition_table/partition-table.bin 0x1000 bootloader/bootloader.bin 0x10000 micropython.bin
Here my IDF SDK version:
ESP-IDF v4.4-dev-4-g73db14240-dirty
Thanks in advance
Alex
I'm pretty new to Micropytohn firmware building process, but I tried to build the GENERIC_S2 esp32 port from current Micropython master and I was able to get a micropython.bin firmware executable.
Once deployed on my board (a simple standalone esp32-s2-wroom already checked with espressif examples) I have no REPL on UART0 (RX module pin 37 and TX module pin 38) but only the following:
ESP-ROM:esp32s2-rc4-20191025
Build:Oct 25 2019
rst:0x1 (POWERON),boot:0x8 (SPI_FAST_FLASH_BOOT)
SPIWP:0xee
mode:DIO, clock div:1
load:0x3ffe6100,len:0x12b0
load:0x4004c000,len:0x8c4
load:0x40050000,len:0x2ca4
entry 0x4004c1a8
I have no panic at 0x4004c1a8 so I think the firmware is running, but I'm not sure, any suggestion?
Here my deployment command:
esptool.py esp32s2 -p /dev/ttyUSB0 -b 460800 --before=default_reset --after=hard_reset write_flash --flash_mode dio --flash_freq 80m --flash_size 4MB 0x8000 partition_table/partition-table.bin 0x1000 bootloader/bootloader.bin 0x10000 micropython.bin
Here my IDF SDK version:
ESP-IDF v4.4-dev-4-g73db14240-dirty
Thanks in advance
Alex