Espressif ESP32-P4
Jump to navigation
Jump to search
The ESP32-P4 family are RISC-V based microcontrollers.
Flash Banks
| Flash Bank | Base address | J-Link Support | Loader | |
|---|---|---|---|---|
| Name | Size | |||
| External QSPI Flash | 0x80000000 | - | - | |
Watchdog Handling
- The device has four watchdogs.
- The watchdogs are stopped during debugging.
Multi-Core Support
Before proceeding with this article, please check out the generic article regarding Multi-Core debugging here.
ESP32-P4 family feature up to two high-performance cores and a secondary low-power core which is disabled after reset.
| Core | J-Link Support |
|---|---|
| HP_CPU_0 | |
| HP_CPU_1 | |
| LP_CPU |
In below, the debug related multi-core behavior of the J-Link is described for each core:
Main core(High-performance core)
Init/Setup
- No additional setup performed
Reset
- Specific reset is performed
Attach
- Attach is supported
Secondary core(High-performance core)
Init/Setup
- The secondary core is enabled before connect
Reset
- Specific reset is performed
Attach
- Attach is supported
Low-power core
Init/Setup
- The core is enabled before connect
Reset
- Specific reset is performed
Attach
- Attach is supported
Device Specific Handling
Hardware stack protection
When debugging applications compiled with ESP-IDF framework, "SDK Config -> Component config -> ESP System Settings -> Hardware stack guard" option must be turned off to prevent core panic on writes to SP register(performed by J-Link logic).