Support for EPS32-PICO-V3

now its not working either using the Arduino IDE…

The IDE now prints some weird warning too

Configuring flash size...
Erasing flash (this may take a while)...
Chip erase completed successfully in 1.9s
Warning: Image file at 0x1000 is protected with a hash checksum, so not changing the flash size setting. Use the --flash_size=keep option instead of --flash_size=8MB in order to remove this warning, or use the --dont-append-digest option for the elf2image command in order to generate an image file without a hash checksum
Compressed 18880 bytes to 13027...
Writing at 0x00001000... (100 %)
Wrote 18880 bytes (13027 compressed) at 0x00001000 in 0.2 seconds (effective 649.1 kbit/s)...

rst:0x3 (SW_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 271414342, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:1344
load:0x40078000,len:13836
load:0x40080400,len:3608
entry 0x400805f0
ets Jul 29 2019 12:21:46

rst:0x3 (SW_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 271414342, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:1344
load:0x40078000,len:13836
load:0x40080400,len:3608
entry 0x400805f0
ets Jul 29 2019 12:21:46

rst:0x3 (SW_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 271414342, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:1344
load:0x40078000,len:13836
load:0x40080400,len:3608
entry 0x400805f0
ets Jul 29 2019 12:21:46

rst:0x3 (SW_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 271414342, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:1344
load:0x40078000,len:13836
load:0x40080400,len:3608
entry 0x400805f0
ets Jul 29 2019 12:21:46

okay… here is the bootloader startup using the ARDUINO build:

huhu
huhu
huhu
huhu
huhu
huhu
huhu
ets Jul 29 2019 12:21:46

rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 271414342, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:1344
load:0x40078000,len:13836
load:0x40080400,len:3608
entry 0x400805f0
[     4][D][esp32-hal-cpu.c:244] setCpuFrequencyMhz(): PLL: 480 / 2 = 240 Mhz, APB: 80000000 Hz
[   228][I][esp32-hal-psram.c:96] psramInit(): PSRAM enabled
huhu
huhu
huhu
huhu
huh

PS: I cant write new replies… maybe I can edit this one :see_no_evil:
TEST! :slight_smile:

BTW: … arduino was NOT working as long the content of that ZIP were within the sketch folder :thinking:

… startup platformio using the default partitions …

ets Jul 29 2019 12:21:46

rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 271414342, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:1344
load:0x40078000,len:13836
load:0x40080400,len:3608
entry 0x400805f0

You seem to be running in weird bugs here. If you can consistently reproduce the faul within the Arduino IDE, file an issue at Issues · espressif/arduino-esp32 · GitHub. Otherwise, if the issue persists in PlatformIO, file an issue in Issues · platformio/platform-espressif32 · GitHub.

1 Like

I can consistently make it work with arduino but can’t make it work with platformio.

thanks for your assistance max!

I will file an issue and link this discussion though :slight_smile:

hope we can find a solution :innocent:

@rezza @slaesh Can you try:

[env]
platform = espressif32
board = esp32dev
framework = arduino
; PSRAM: "Enabled"
; Core Debug Level: "Verbose"
build_flags =
  -DBOARD_HAS_PSRAM
  -DCORE_DEBUG_LEVEL=5
; Partition Scheme: "8M with spiffs"
board_build.partitions = default_8MB.csv
board_build.flash_size  = 8MB
board_upload.maximum_size = 8388608
; upload + monitor sports and speed
upload_port = /dev/ttyUSB0
monitor_port = /dev/ttyUSB0
monitor_speed = 115200
1 Like

Just found the issue…

we need to add

board_upload.flash_size = 8MB << this is right

instead of

board_build.flash_size = 8MB << this is wrong