esp32s2 bare board boot problems
Posted: Mon Jul 25, 2022 12:34 am
Hi,
I have a new board that is the first in a line of products that plan to use the esp32s2. I am having problems getting the board up and running. For several weeks I have been using the Waveshare development board using the pico board footprint. I have been developing code using Eclipse and the 5.0 version of the SDK. I now have my professionally assembled 4 layer boards up and "running". The 3.3v power supply looks clean as a whistle. The 40mHz oscillator comes up fine. JTAG and USB have issues but today I am focusing onloading code in using the UART0 RX and TX. I have verified that my code works by loading into the Waveshare board using UART0. I then try loading the same code from the same eclipse session. When flashing code into the two systems Eclipse IDE console looks identical. However pushing the reset button on the two targets, while monitoring the UART traffic, produces very different results. My s2 board reports a lack of partition table. Then 75mSec later the it reboots "rst:0x3 (RTC_SW_SYS_RST)". It appears that the ULP is resetting the main core. I have used the esptool.py erase_flash command and it reports "Chip erase completed successfully".
I have attached a text file showing the flashing console output and booting reports. I also attached logic analyzer outputs of the boot sequence.
I have a new board that is the first in a line of products that plan to use the esp32s2. I am having problems getting the board up and running. For several weeks I have been using the Waveshare development board using the pico board footprint. I have been developing code using Eclipse and the 5.0 version of the SDK. I now have my professionally assembled 4 layer boards up and "running". The 3.3v power supply looks clean as a whistle. The 40mHz oscillator comes up fine. JTAG and USB have issues but today I am focusing onloading code in using the UART0 RX and TX. I have verified that my code works by loading into the Waveshare board using UART0. I then try loading the same code from the same eclipse session. When flashing code into the two systems Eclipse IDE console looks identical. However pushing the reset button on the two targets, while monitoring the UART traffic, produces very different results. My s2 board reports a lack of partition table. Then 75mSec later the it reboots "rst:0x3 (RTC_SW_SYS_RST)". It appears that the ULP is resetting the main core. I have used the esptool.py erase_flash command and it reports "Chip erase completed successfully".
I have attached a text file showing the flashing console output and booting reports. I also attached logic analyzer outputs of the boot sequence.