espressif / esp-idf

Espressif IoT Development Framework. Official development framework for Espressif SoCs.
Apache License 2.0
13.33k stars 7.2k forks source link

issue:The system crashed while downloading the program (IDFGH-13588) #14475

Open AaronPMM opened 2 weeks ago

AaronPMM commented 2 weeks ago

Answers checklist.

General issue report

My development environment is as follows: VirtualBox: 7.0.18r162988 (Qt5.15.2) Ubuntu: 20.04 (8GB of memory allocated) esp-adf:e27cd5262986dbf93785d44fb71dfa854b8e9763 (commit ID, master) esp-idf:347800bcda913fcce862fa753a9132c84d189dd4(commit ID, master)

idf.py -p /dev/ttyACM0 flash command is used to download the program to the development board. During this process, the system crashes, causing the program to fail to be downloaded. The following problems exist:

  1. Is there a problem with my configured environment? If there is a problem with the environment configuration, what is the correct configuration?
  2. Have you ever encountered this situation?
  3. How to solve the crash problem?

Addendum: I appeared during the process of compiling and testing examples of esp-adf, using the environment variable export.sh of esp-adf

radimkarnis commented 2 weeks ago

Hello @AaronPMM, please provide the log of the failure when running the idf.py -p /dev/ttyACM0 flash command. Without it, it is impossible to tell what happened and debug your issue. Thank you.

dobairoland commented 1 week ago

Probably this is not directly related to the issue but ESP-ADF master is not yet supporting ESP-IDF master. See https://github.com/espressif/esp-adf?tab=readme-ov-file#idf-version for more information.