Skip to content

Conversation

@bugadani
Copy link
Contributor

@bugadani bugadani commented Nov 20, 2025

On the P4, the old magic address of 0x40001000 is actually external memory, and trying to read that just gives a timeout. This causes espflash to mis-detect secure download mode.

With this PR, espflash board-info --no-stub now responds with

Chip type:         esp32p4 (revision v3.0)
Crystal frequency: 40 MHz
Flash size:        16MB
Features:          High-Performance MCU
MAC address:       30:ed:a0:ec:f1:01

Security Information:
=====================
Flags: 0x00000000 (0)
Key Purposes: [0, 0, 0, 0, 0, 0, 19]
Chip ID: 18
API Version: 5
Secure Boot: Disabled
Flash Encryption: Disabled
SPI Boot Crypt Count (SPI_BOOT_CRYPT_CNT): 0x0

Copy link
Member

@SergioGasquez SergioGasquez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks

@SergioGasquez SergioGasquez added this pull request to the merge queue Nov 21, 2025
Merged via the queue into main with commit b01bb71 Nov 21, 2025
41 checks passed
@bugadani bugadani deleted the p4 branch November 21, 2025 08:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants