I’m unable to reproduce your error. My output is absolutely fine:
* Executing task: C:\Users\boris\.platformio\penv\Scripts\platformio.exe device monitor --environment esp32dev
Esp32ExceptionDecoder: ROM ELF found at C:\Users\boris\.platformio\packages\tool-esp-rom-elfs\esp32_rev0_rom.elf
Please build project in debug configuration to get more details about an exception.
See https://docs.platformio.org/page/projectconf/build_configurations.html
--- Terminal on COM5 | 115200 8-N-1
--- Available filters and text transformations: colorize, debug, default, direct, esp32_exception_decoder, hexlify, log2file, nocontrol, printable, send_on_enter, time
--- More details at https://bit.ly/pio-monitor-filters
--- Quit: Ctrl+C | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H
ets Jun 8 2016 00:22:57
rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, 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:4640
load:0x40078000,len:15660
load:0x40080400,len:3164
entry 0x4008059c
START
Hello world!
Hello world!
Hello world!
Hello world!
Do you use PlatformIO IDE or do you use PIOARDUINO IDE?
What are the version numbers of the IDE and the Core?
→ IDE Version: Quick Access / Miscelleaneous / Show Release Notes
→ Core Version: Open a pio-termial and enter pio --version
Which exact pioarduino espressif32-platform do you use?
→ Will be shown in the PLATFORM section during building a project:
Processing esp32dev (platform: https://github.com/pioarduino/platform-espressif32/releases/download/55.03.37/platform-espressif32.zip; board: esp32dev; framework: arduino)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/esp32dev.html
PLATFORM: Espressif 32 (55.3.37) > Espressif ESP32 Dev Module
EDIT: Did you see Serial output character loss (first character of line) on Arduino core 3.3.8 (IDF 5.5.4) compared to 3.3.7 · Issue #480 · pioarduino/platform-espressif32 · GitHub ?
EDIT2: Using pioarduino-espressif32 platform 3.3.8 I am now able to reproduce the error:
* Executing task: C:\Users\boris\.platformio\penv\Scripts\platformio.exe device monitor --environment esp32dev
Esp32ExceptionDecoder: ROM ELF found at C:\Users\boris\.platformio\packages\tool-esp-rom-elfs\esp32_rev0_rom.elf
Please build project in debug configuration to get more details about an exception.
See https://docs.platformio.org/page/projectconf/build_configurations.html
--- Terminal on COM5 | 115200 8-N-1
--- Available filters and text transformations: debug, default, direct, esp32_exception_decoder, hexlify, log2file, nocontrol, printable, send_on_enter, time
--- More details at https://bit.ly/pio-monitor-filters
--- Quit: Ctrl+C | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H
ts Jun 8 2016 00:22:57
I_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
clock div:2
load:0x3fff0030,len:4640
0
load:0x40080400,len:3164
entry 0x4008059c
START
ello world!
ello world!
ello world!
ello world!
ello world!
The issue is caused by the esp32_exeption_decoder included in pioarduino espressif32-platform version 3.3.8. Please see the issue link above for further details.
Possible solutions:
- remove the exception decoder
- downgrade to pioarduino espressif32-platform 3.3.7
- wait for the next release / a fix