espressif / esp-idf

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

esp32 will not run code when powered by 3.3vpin it requires pushing reset button to work (IDFGH-1786) #4006

Closed athleticmistud closed 5 years ago

athleticmistud commented 5 years ago

our issue is this, we are using a: wemos D1 pin d4 connecting to a D 32 with pin 16 and the power from the D 32 is coming off the 3.3 V and ground on the d1 when we powered that way with the USB being plugged into the D1 we cannot make a connection to a Bluetooth speaker without pressing the reset button on the d32. then something from pressing the reset does someting and then it will connect to a bluetooth speaker,

however if I power in through the usb on the D 32 and then power the d1 from the D 32 from 3.3v and ground i could connect to a Bluetooth speaker not requiring the reset button to be pushed which is what we need as we can not access the board normally so pushing the reset button is not an option

image image natee.txt nate.txt

----------------------------- Delete below -----------------------------

If your issue is a general question, starts similar to "How do I..", or is related to 3rd party development kits/libs, please discuss this on our community forum at esp32.com instead.

INSTRUCTIONS

Before submitting a new issue, please follow the checklist and try to find the answer.

If the issue cannot be solved after the steps before, please follow these instructions so we can get the needed information to help you in a quick and effective fashion.

  1. Fill in all the fields under Environment marked with [ ] by picking the correct option for you in each case and deleting the others.
  2. Describe your problem.
  3. Include debug logs on the monitor or the coredump.
  4. Provide more items under Other items if possible can help us better locate your problem.
  5. Use markup (buttons above) and the Preview tab to check what the issue will look like.
  6. Delete these instructions from the above to the below marker lines before submitting this issue.

----------------------------- Delete above -----------------------------

Environment

Problem Description

//Detailed problem description goes here.

Expected Behavior

Actual Behavior

Steps to repropduce

  1. step1
  2. ...

// It helps if you attach a picture of your setup/wiring here.

Code to reproduce this issue

// the code should be wrapped in the ```cpp tag so that it will be displayed better.
#include "esp_log.h"

void app_main()
{

}

// If your code is longer than 30 lines, GIST is preferred.

Debug Logs

Debug log goes here, should contain the backtrace, as well as the reset source if it is a crash.
Please copy the plain text here for us to search the error log. Or attach the complete logs but leave the main part here if the log is *too* long.

Other items if possible

negativekelvin commented 5 years ago

Hardware questions belong on the forum esp32.com. you can try adding a capacitor between EN and GND.

athleticmistud commented 5 years ago

Sorry I was told by one of your engineers to post it here.

I have a cap already What can we put in the code thst would do the same as a reset?

Do you have 3.2 parsed for Arduino ide I need help with that

Thanks Nick

On Tuesday, September 3, 2019, negativekelvin notifications@github.com wrote:

Hardware questions belong on the forum esp32.com. you can try adding a capacitor between EN and GND.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/espressif/esp-idf/issues/4006?email_source=notifications&email_token=AKPZ7J6BKKXHG7FCNUMK6TTQH3H6DA5CNFSM4ITGOFHKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5ZTLVQ#issuecomment-527644118, or mute the thread https://github.com/notifications/unsubscribe-auth/AKPZ7J442XDICUXKARODIXLQH3H6DANCNFSM4ITGOFHA .

negativekelvin commented 5 years ago

You have a capacitor on 3.3v but not on EN?

athleticmistud commented 5 years ago

You mean like this?? Which is + and which gets the - of the cap?

On Tuesday, September 3, 2019, negativekelvin notifications@github.com wrote:

You have a capacitor on 3.3v but not on EN?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/espressif/esp-idf/issues/4006?email_source=notifications&email_token=AKPZ7JZRBQOCKU22IPES2STQH3JQ3A5CNFSM4ITGOFHKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5ZUNYQ#issuecomment-527648482, or mute the thread https://github.com/notifications/unsubscribe-auth/AKPZ7J3XHT7AYU3OR3SC7VTQH3JQ3ANCNFSM4ITGOFHA .

Alvin1Zhang commented 5 years ago

@athleticmistud Thanks for reporting this. @negativekelvin Thanks for the notes.