Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ESP32-P4 v1.0 Silicon idf.py flash issue. (IDFGH-14514) #15280

Open
3 tasks done
csalinasonline opened this issue Jan 24, 2025 · 4 comments
Open
3 tasks done

ESP32-P4 v1.0 Silicon idf.py flash issue. (IDFGH-14514) #15280

csalinasonline opened this issue Jan 24, 2025 · 4 comments
Labels
Status: Opened Issue is new

Comments

@csalinasonline
Copy link

csalinasonline commented Jan 24, 2025

Answers checklist.

  • I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
  • I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
  • I have searched the issue tracker for a similar issue and not found a similar issue.

General issue report

I am using esp-idf 5.4.

I have new ESP32-P4 v1.0 Silicon.
Before I had v0.1 Silicon. working on a prototype that mirrors most of the hardware on ESP32-P4-eval board.

But since changing to ESP32-P4 v1.0 Silicon i have issues programming this new chip.

I get this error "A fatal error occurred: bootloader/bootloader.bin requires chip revision in range [v0.1 - v0.99] (this chip is revision v1.0). Use --force to flash anyway."

Please look at my attached log file, old vs new silicon log, and sdkconfig below.

idf_py_flash_issue_012425.txt

sdkconfig.txt

Image

@espressif-bot espressif-bot added the Status: Opened Issue is new label Jan 24, 2025
@github-actions github-actions bot changed the title ESP32-P4 v1.0 Silicon idf.py flash issue. ESP32-P4 v1.0 Silicon idf.py flash issue. (IDFGH-14514) Jan 24, 2025
@chegewara
Copy link
Contributor

chegewara commented Jan 25, 2025

Hi,
you may want to switch to master branch (at least for now), there is version 1.0+ supported.

Image

PS it is just suggestion before/if its backported to v5.4

@csalinasonline
Copy link
Author

csalinasonline commented Jan 25, 2025

Thanks for update. I will try master branch and let u know status soon! I am switching from release/v5.4.

@csalinasonline
Copy link
Author

csalinasonline commented Jan 25, 2025

@chegewara your recommendations have worked great to get around the boot issue with wrong chip id wrt to esp32p4 v1.0 silicon. But I still have issue after programming a 'getting_started/blink' project.

I have pulled latest https://github.com/espressif/esp-idf.git and checked out the master branch.

I set up env in root esp-idf directory.

  • ./install.sh
  • . ./export.sh

Then navigated and opened 'examples/get-started/blink' project and build flash and monitor.

  • idf.py set-target esp32p4
  • idf.py build
  • -idf.py flash monitor

But now I get this issue after flashing and monitoring chip.

Image

Please see log files here.
idf_py_flash_issue_012525.txt

Im programming via direct USB-C via these lines okay.

  • GPIO_24 as USB1P1_N
  • GPIO_25 as USB1P1_P

Might my bootselect pins be an issue?
I have

  • GPIO_35 pulled to 3.3V High
  • GPIO_36 pulled to 3.3V High

@suda-morris
Copy link
Collaborator

HI @csalinasonline Have you configured the console output to choose the "USB Serial JTAG"?

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Opened Issue is new
Projects
None yet
Development

No branches or pull requests

4 participants