Page 1 of 1

what mean this error "--- 0x40080400: _invalid_pc_placeholder at "

Posted: Mon Feb 17, 2025 6:27 am
by axa-esp-hobby
I installed Eclipse with esp-idf on Linux Mint
I successfully built the Blink example.
But after flashing to the ESP-Wroom-32 board I see a message in the terminal:
"--- 0x40080400: _invalid_pc_placeholder at ...."
What does this mean?
How do I fix this error?

Re: what mean this error "--- 0x40080400: _invalid_pc_placeholder at "

Posted: Tue Feb 18, 2025 10:54 pm
by axa-esp-hobby
This error occurred in esp-idf-v5.5-dev.
In the stable version esp-idf-v5.4 - everything is ok.

Re: what mean this error "--- 0x40080400: _invalid_pc_placeholder at "

Posted: Tue May 20, 2025 3:02 am
by axellin
Hi,
Is there any fix available?
I hit the same issue with v5.5 branch:

rst:0x7 (TG0WDT_SYS_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 153911750, 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:296
load:0x40078000,len:13500
ho 0 tail 12 room 4
load:0x40080400,len:3196
--- 0x40080400: _invalid_pc_placeholder at /home/axel/esp/esp-idf/components/xtensa/xtensa_vectors.S:2235

entry 0x4008057c
--- 0x4008057c: call_start_cpu0 at /home/axel/esp/esp-idf/components/bootloader/subproject/main/bootloader_start.c:25

ets Jul 29 2019 12:21:46

rst:0x3 (SW_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 153911750, 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:296
load:0x40078000,len:13500
ho 0 tail 12 room 4
load:0x40080400,len:3196
--- 0x40080400: _invalid_pc_placeholder at /home/axel/esp/esp-idf/components/xtensa/xtensa_vectors.S:2235

csum err:0x1a!=0x82
ets_main.c 384
ets Jul 29 2019 12:21:46

rst:0x7 (TG0WDT_SYS_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 153911750, 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:296
load:0x40078000,len:13500
ho 0 tail 12 room 4
load:0x40080400,len:3196
--- 0x40080400: _invalid_pc_placeholder at /home/axel/esp/esp-idf/components/xtensa/xtensa_vectors.S:2235

entry 0x4008057c
--- 0x4008057c: call_start_cpu0 at /home/axel/esp/esp-idf/components/bootloader/subproject/main/bootloader_start.c:25

Re: what mean this error "--- 0x40080400: _invalid_pc_placeholder at "

Posted: Wed May 21, 2025 5:43 am
by Sprite
That is unlikely to be the error - it's the monitor program seeing something that looks like a PC value and helpfully decoding it for you.

Re: what mean this error "--- 0x40080400: _invalid_pc_placeholder at "

Posted: Tue Aug 12, 2025 8:46 pm
by matejliska
Hi i have same issue with esp 5.5 stable, is there any workaround to somehow delete this line from bootloader? i see that is no error but esp bug in this version, rollback to 5.4.2 not make sense.

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:2, clock div:2
secure boot v2 enabled
secure boot verification succeeded
load:0x3fff00c0 len:0x9e4
load:0x40078000 len:0x4d0c
load:0x40080400 len:0xbb4
--- 0x40080400: _invalid_pc_placeholder at PATH to xtensa_vectors.S:2235

thank you

Re: what mean this error "--- 0x40080400: _invalid_pc_placeholder at "

Posted: Wed Aug 13, 2025 12:45 am
by Sprite
The 'error' is the monitor program trying to be helpful, looking up the symbol for address 0x40080400. It's harmless and probably unrelated to the issue you're seeing.

Re: what mean this error "--- 0x40080400: _invalid_pc_placeholder at "

Posted: Thu Jan 08, 2026 5:40 pm
by zwer97
I agree that it looks like an error and should be removed, this message is misleading and not helpful at all.