Flashing DFRobot EDGE 201-DMX512

VSCode, Platformio. DFRobot EDGE 201-DMX512.

ESP32-S3-WROOM-1U M0N4

My objective is to have a familiar WLED bridge to DMX output.

I have tried multiple variations on the [env:esp32s3dev_8MB_opi] target. I get either compile fails with the fastled library, or images that crash.

Using the web installer also results in a crash with invalid header.

Has anyone gotten this to work?

I am able to flash other ESP32S3 boards just fine, like the N32R16 for example.

you need to set the correct memory layout

I am still coming up with a crashing board:
[env:esp32s3_wroom1u_mon4_generic]

; for DFRobot EDGE 201-DMX512, ESP32-S3-WROOM-1U M0N4

board = esp32-s3-devkitc-1

platform = ${esp32s3.platform}

platform_packages = ${esp32s3.platform_packages}

; framework = arduino

; upload_protocol = esp-builtin

upload_speed = 921600

monitor_speed = 115200

build_unflags = ${common.build_unflags}

build_flags = ${common.build_flags} ${esp32s3.build_flags} -D WLED_RELEASE_NAME=\“ESP32S3_MON4_generic\”

-D WLED_WATCHDOG_TIMEOUT=0

-D ARDUINO_USB_CDC_ON_BOOT=1

; -D BOARD_HAS_PSRAM

lib_deps = ${esp32s3.lib_deps}

; board_build.arduino.memory_type = qio_opi ;; use with PSRAM: 8MB or 16MB

board_build.arduino.memory_type = qio_qspi

board_build.partitions = ${esp32.big_partitions}

board_build.f_flash = 80000000L

board_build.flash_mode = qio

; board_build.flash_mode = dio

monitor_filters = esp32_exception_decoder

;

board_upload.flash_size = 4MB

board_upload.maximum_size = 4194304

ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0x1 (POWERON),boot:0xb (SPI_FAST_FLASH_BOOT)
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fce3808,len:0x128
load:0x403c9700,len:0xb9c
=> 0x403c9700: ?? ??:0
load:0x403cc700,len:0x2878
=> 0x403cc700: ?? ??:0
entry 0x403c98bc
=> 0x403c98bc: ?? ??:seven_o_clock:

To close the loop on this; I may have actually succeeded, but didn’t know that the default serial output was so terse. Here’s my platformio.ini target:

[env:esp32s3_wroom1u_mon4_generic] ; for DFRobot EDGE 201-DMX512, ESP32-S3-WROOM-1U M0N4
board = esp32-s3-devkitc-1
platform = ${esp32s3.platform}
platform_packages = ${esp32s3.platform_packages}
upload_speed = 921600
monitor_speed = 115200
build_unflags = ${common.build_unflags}
build_flags =   ${common.build_flags} ${esp32s3.build_flags} -D WLED_RELEASE_NAME=\"ESP32S3_MON4_generic\"
  -D WLED_ENABLE_DMX
  -D DEBUG=1 
  -D WLED_DEBUG
  -DDEBUG_ESP_WIFI 
  -DDEBUG_ESP_HTTP_CLIENT 
  -DDEBUG_ESP_HTTP_UPDATE 
  -DDEBUG_ESP_HTTP_SERVER 
  -DDEBUG_ESP_UPDATER 
  -DDEBUG_ESP_OTA 
  -D BTNPIN=6          ; WLED Button 0 = GPIO6
  -DLOG_LOCAL_LEVEL=ESP_LOG_VERBOSE
lib_deps = ${esp32s3.lib_deps}
board_build.arduino.memory_type = qio_qspi
board_build.partitions = ${esp32.default_partitions}  ; default_partitions = tools/WLED_ESP32_4MB_1MB_FS.csv
board_build.f_flash = 80000000L
board_build.flash_mode = qio
monitor_filters = esp32_exception_decoder
board_upload.flash_size = 4MB
board_upload.maximum_size = 4194304