I am using ESP32 since 8 months and for the first time I am facing this issue. When the GPIO9 is pulled down, the code can not be uploaded. and if the GPIO9 is not connected with anything and upload the code, the code runs fine and in between I pulled down the GPIO9, the code still runs fine but once the ESP gets reset or GPIO9 gets accessed then the ESP goes in the repeat reset mode. The error shown below:
So my question is, is there any manufacturing issue with ESP32 new lot or there is something else which I am missing? I am using GPIO9 as UART1 RXD.
since I have ESP32 from old lot, I replaced the old working ESP32 with new ESP32. It worked. ESP32 possible manufacturing defect
- martinayotte
- Posts: 141
- Joined: Fri Nov 13, 2015 4:27 pm
Re: ESP32 possible manufacturing defect
GPIO9 is connected to internal Flash, therefore it can be used for something else ...
-
- Posts: 9764
- Joined: Thu Nov 26, 2015 4:08 am
Re: ESP32 possible manufacturing defect
Agreed. The reason it may work for you now is that you may have flashed the program with the flash in DIO mode now. Be aware that connecting something to GPIO9 can still mess with your hardware as the HD pin of the flash will be pulled to undefined levels, and the chip will not like this. Also be aware that you can move the UART pins to any GPIO using the GPIO matrix; GPIO9 is merely the default pin.
- Vader_Mester
- Posts: 300
- Joined: Tue Dec 05, 2017 8:28 pm
- Location: Hungary
- Contact:
Re: ESP32 possible manufacturing defect
I had similar issues, with mine, but it was with D12 on a DevKitC, with the same error. When I connected something to it, it never booted and flashed. Removing the connection made it flash and boot, and when I reconnected it during runtime, the functionality of the pin actually worked.
Another thing that don't seem to add up, is that I did not have such problems with other code.
Now that I see it's not only me, I'll post a summary later today. From what I can see is that it is part of the MTD pins, and should be kept low when booting, but not sure why it works sometime and why it doesn't in the other times.
Another thing that don't seem to add up, is that I did not have such problems with other code.
Now that I see it's not only me, I'll post a summary later today. From what I can see is that it is part of the MTD pins, and should be kept low when booting, but not sure why it works sometime and why it doesn't in the other times.
Code: Select all
task_t coffeeTask()
{
while(atWork){
if(!xStreamBufferIsEmpty(mug)){
coffeeDrink(mug);
} else {
xTaskCreate(sBrew, "brew", 9000, &mug, 1, NULL);
xSemaphoreTake(sCoffeeRdy, portMAX_DELAY);
}
}
vTaskDelete(NULL);
}
-
- Posts: 8
- Joined: Tue Jan 02, 2018 10:31 am
Re: ESP32 possible manufacturing defect
OLD ESP32 is working as GPIO9 used as RX but new ones are not.martinayotte wrote:GPIO9 is connected to internal Flash, therefore it can be used for something else ...
Is the internal flash connection are changed now? if yes then how is it possible as we have not changed any menuconfig configurations.
-
- Posts: 8
- Joined: Tue Jan 02, 2018 10:31 am
Re: ESP32 possible manufacturing defect
Actually we have flashed only with DIO mode . we never changed this setting.ESP_Sprite wrote:Agreed. The reason it may work for you now is that you may have flashed the program with the flash in DIO mode now. Be aware that connecting something to GPIO9 can still mess with your hardware as the HD pin of the flash will be pulled to undefined levels, and the chip will not like this. Also be aware that you can move the UART pins to any GPIO using the GPIO matrix; GPIO9 is merely the default pin.
-
- Posts: 8
- Joined: Tue Jan 02, 2018 10:31 am
Re: ESP32 possible manufacturing defect
Thanks.Vader_Mester wrote:I had similar issues, with mine, but it was with D12 on a DevKitC, with the same error. When I connected something to it, it never booted and flashed. Removing the connection made it flash and boot, and when I reconnected it during runtime, the functionality of the pin actually worked.
Another thing that don't seem to add up, is that I did not have such problems with other code.
Now that I see it's not only me, I'll post a summary later today. From what I can see is that it is part of the MTD pins, and should be kept low when booting, but not sure why it works sometime and why it doesn't in the other times.
We will be waiting for your summary.
Re: ESP32 possible manufacturing defect
What is difference of
on the old vs new module?
Code: Select all
esptool.py flash_id
Who is online
Users browsing this forum: No registered users and 235 guests