Hello all,
I have built a custom board with ESP32S3-WROOM-1U-N8 module. But I don’t get my code uploaded. For upload I use ESP-PROG board at UART0. My platfomio.ini:
[env:adafruit_feather_esp32s3_nopsram]
platform = espressif32
board = adafruit_feather_esp32s3_nopsram
framework = arduino
monitor_speed = 115200
upload_speed = 921000
upload_protocol = esptool
And this is my Arduino Sketch:
#include <Arduino.h>
#define LED_OK 36
#define LED_NOK 35
void setup() {
Serial.begin(115200);
Serial.println("Hello world");
pinMode(LED_OK, OUTPUT);
pinMode(LED_NOK, OUTPUT);
}
void loop() {
digitalWrite(LED_OK, HIGH);
digitalWrite(LED_NOK,LOW);
delay(500);
digitalWrite(LED_OK, LOW);
digitalWrite(LED_NOK,HIGH);
delay(500);
Serial.println("Hello world");
}
If I use the Arduino IDE, the sketch will upload, LEDs blinking as ecpected but I also don’t get serial output?! After pressing RESET at ESP-PROG I get following output at Arduino IDE:
ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0x1 (POWERON),boot:0x2b (SPI_FAST_FLASH_BOOT)
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fce3808,len:0x44c
load:0x403c9700,len:0xbe4
load:0x403cc700,len:0x2a68
entry 0x403c98d4
At Platfomio nothing happens, even after a RESET. I believe from hardware side everything is ok since the ArduinoIDE can upload. I have a 2nd PCB with the same negative result
I built recently a custom PCB with ESP32-C3 and it worked out of the box in Platfomio without any big configuration. So there must be something fundamental different for the ESP32-S3.
At Arduino IDE I use “ESP32S3 Dev Module” for which I have linked the JSON config from Github.
Where I can link other boards at Platfomio? I read at other posts, that I might have to set in platfomio.in the serial communication for UART0. Any example file? Thanks!