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

axa-esp-hobby
Posts: 20
Joined: Sun Feb 16, 2025 7:41 pm

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

Postby axa-esp-hobby » Mon Feb 17, 2025 6:27 am

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?

axa-esp-hobby
Posts: 20
Joined: Sun Feb 16, 2025 7:41 pm

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

Postby axa-esp-hobby » Tue Feb 18, 2025 10:54 pm

This error occurred in esp-idf-v5.5-dev.
In the stable version esp-idf-v5.4 - everything is ok.

axellin
Posts: 205
Joined: Mon Sep 17, 2018 9:09 am

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

Postby axellin » Tue May 20, 2025 3:02 am

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

Sprite
Espressif staff
Espressif staff
Posts: 10593
Joined: Thu Nov 26, 2015 4:08 am

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

Postby Sprite » Wed May 21, 2025 5:43 am

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.

matejliska
Posts: 1
Joined: Tue Jun 20, 2023 9:56 am

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

Postby matejliska » Tue Aug 12, 2025 8:46 pm

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

Sprite
Espressif staff
Espressif staff
Posts: 10593
Joined: Thu Nov 26, 2015 4:08 am

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

Postby Sprite » Wed Aug 13, 2025 12:45 am

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.

zwer97
Posts: 14
Joined: Wed Dec 25, 2019 5:43 pm

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

Postby zwer97 » Thu Jan 08, 2026 5:40 pm

I agree that it looks like an error and should be removed, this message is misleading and not helpful at all.

Who is online

Users browsing this forum: Bing [Bot], Google [Bot], PetalBot, Qwantbot and 10 guests