How to program custom ESP32 S3 chip hardware

rohitraj
Posts: 5
Joined: Wed Dec 20, 2023 5:04 am

How to program custom ESP32 S3 chip hardware

Postby rohitraj » Wed Dec 20, 2023 5:21 am

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
Attachments
FCS_Main_Board.zip
(5.58 MiB) Downloaded 1861 times

MicroController
Posts: 1389
Joined: Mon Oct 17, 2022 7:38 pm
Location: Europe, Germany

Re: How to program custom ESP32 S3 chip hardware

Postby MicroController » Wed Dec 20, 2023 8:00 am


rohitraj
Posts: 5
Joined: Wed Dec 20, 2023 5:04 am

Re: How to program custom ESP32 S3 chip hardware

Postby rohitraj » Thu Dec 21, 2023 3:15 am

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

ESP_Sprite
Posts: 9312
Joined: Thu Nov 26, 2015 4:08 am

Re: How to program custom ESP32 S3 chip hardware

Postby ESP_Sprite » Thu Dec 21, 2023 10:34 am

Did MicroControllers link not help? What error exactly are you running into? What have you already tried to solve it?

liaifat85
Posts: 200
Joined: Wed Dec 06, 2023 2:46 pm

Re: How to program custom ESP32 S3 chip hardware

Postby liaifat85 » Fri Dec 22, 2023 8:49 am

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

rohitraj
Posts: 5
Joined: Wed Dec 20, 2023 5:04 am

Re: How to program custom ESP32 S3 chip hardware

Postby rohitraj » Thu Jan 11, 2024 5:09 am

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

ESP_Sprite
Posts: 9312
Joined: Thu Nov 26, 2015 4:08 am

Re: How to program custom ESP32 S3 chip hardware

Postby ESP_Sprite » Thu Jan 11, 2024 7:29 am

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?

rohitraj
Posts: 5
Joined: Wed Dec 20, 2023 5:04 am

Re: How to program custom ESP32 S3 chip hardware

Postby rohitraj » Thu Jan 11, 2024 9:20 am

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,
Attachments
Fire_Curtain.zip
(9.52 KiB) Downloaded 1837 times

liaifat85
Posts: 200
Joined: Wed Dec 06, 2023 2:46 pm

Re: How to program custom ESP32 S3 chip hardware

Postby liaifat85 » Thu Jan 11, 2024 12:16 pm

I'd suggest to test the ESP32 S3 chip-based PCB.

ESP_Sprite
Posts: 9312
Joined: Thu Nov 26, 2015 4:08 am

Re: How to program custom ESP32 S3 chip hardware

Postby ESP_Sprite » Fri Jan 12, 2024 2:44 am

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.

Who is online

Users browsing this forum: Majestic-12 [Bot] and 191 guests