Page 1 of 2

How to program custom ESP32 S3 chip hardware

Posted: Wed Dec 20, 2023 5:21 am
by rohitraj
Hello All,

We have designed hardware using ESP S3 MCU(SoC). We would like to know the program step to flash the code on our custom hardware as well as we would like to use same hardware in debug mode to test it.

We have brought up VCC, GND, Tx and Rx pins on connector, please let us know the step to bring the hardware up.

here is the Schimatic file, please let us know the programming steps and debugging steps of hardware.


Urgent need help as we are in production stage of hardware.

Thanks and Regards,
Rohit R

Re: How to program custom ESP32 S3 chip hardware

Posted: Wed Dec 20, 2023 8:00 am
by MicroController

Re: How to program custom ESP32 S3 chip hardware

Posted: Thu Dec 21, 2023 3:15 am
by rohitraj
Hi,
Any feedback on this, our device is not booting up.

We need urgent help to solve this and make device work

Waiting for response.

Thanks and Regards
Rohit R

Re: How to program custom ESP32 S3 chip hardware

Posted: Thu Dec 21, 2023 10:34 am
by ESP_Sprite
Did MicroControllers link not help? What error exactly are you running into? What have you already tried to solve it?

Re: How to program custom ESP32 S3 chip hardware

Posted: Fri Dec 22, 2023 8:49 am
by liaifat85
If the above links did not help you, you can see the following contents.
viewtopic.php?t=36303
https://www.youtube.com/watch?v=m6njN9Y7PF0
https://docs.espressif.com/projects/esp ... uirks.html

However, since it's a custom board, I cannot rule out the possibility of a manufacturing error. You can inspect for short circuits, broken traces etc. You can also make a PCB tester like this to make your task easier: https://www.pcbway.com/project/sharepro ... 226d2.html

Re: How to program custom ESP32 S3 chip hardware

Posted: Thu Jan 11, 2024 5:09 am
by rohitraj
Hello,

Thanks for the response,

Now, the device is working sorry for the late info.

But we are facing periodic reset of device whenever the input is given ( watchdog reset).
Unable to find the root cause here. We checked all the possibilities gone through document, did hardware check software check but still facing same problem.

In idle state, I mean if there is no operation on device then we didn't face reset issue. But whenever we tried to operate the system it gets Reset and exception handler occurs.

Please let me know what could be the issue.

Thanks and Regards
Rohit R

Re: How to program custom ESP32 S3 chip hardware

Posted: Thu Jan 11, 2024 7:29 am
by ESP_Sprite
What error specifically are you getting? What did your search for the root cause turn up? How have you tried fixing it? Can we see your source code?

Re: How to program custom ESP32 S3 chip hardware

Posted: Thu Jan 11, 2024 9:20 am
by rohitraj
Hello,

These are the issue we are getting,
Exceptions and reset issues are there. The reasons for exceptions are different.
1. InstrFetchProhibited.
2. Interrupt watchdog timeout
3. Cache disabled but cache memory accessed.
4. Stack overflow in task IDLE has been detected.

Sourcecode
Code is attached below,

Re: How to program custom ESP32 S3 chip hardware

Posted: Thu Jan 11, 2024 12:16 pm
by liaifat85
I'd suggest to test the ESP32 S3 chip-based PCB.

Re: How to program custom ESP32 S3 chip hardware

Posted: Fri Jan 12, 2024 2:44 am
by ESP_Sprite
Hmm, are you sure your 3.3V rail is stable? You sometimes get issues like this because of power supply problems.

Can you also post the exact text of the errors you get? Specifically the Cache disabled but cache memory accessed and INstrFetchProhibited ones are interesting. Please also post the backtrace information as well.