A fatal error occurred: Packet content transfer stopped (received 8 bytes) on EPS32-S3 PCB.

MrT Stephens
Posts: 8
Joined: Sun Aug 21, 2022 12:21 pm

A fatal error occurred: Packet content transfer stopped (received 8 bytes) on EPS32-S3 PCB.

Postby MrT Stephens » Sun Aug 21, 2022 12:36 pm

Hi Guys,
I'm just wondering if i could get some help. I have been working on an esp32-s3 e-paper smartwatch and I have got an issue when trying to upload the code. This is the error "A fatal error occurred: Packet content transfer stopped (received 8 bytes)". You can also see it in picture below. I have also attached the PDF schematic so that you can look at that.
Image
This is also what i am using to upload the code in arduino ide.
Image
Any help would be amazing. Thanks.
Attachments
Screenshot 2022-08-21 133505.png
Screenshot 2022-08-21 133505.png (20.55 KiB) Viewed 17677 times
Watchy-MrT-ESP32-S3-V1.pdf
Schematic
(285.72 KiB) Downloaded 322 times
unknown.png
unknown.png (35.29 KiB) Viewed 17677 times
Last edited by MrT Stephens on Fri Sep 16, 2022 3:05 pm, edited 1 time in total.

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

Re: A fatal error occurred: Packet content transfer stopped (received 8 bytes) on EPS32-S3 PCB.

Postby ESP_Sprite » Mon Aug 22, 2022 1:15 am

Does this also happen if you force the ESP32S3 into download mode, e.g. by holding BTN2 on powerup of the watch?

MrT Stephens
Posts: 8
Joined: Sun Aug 21, 2022 12:21 pm

Re: A fatal error occurred: Packet content transfer stopped (received 8 bytes) on EPS32-S3 PCB.

Postby MrT Stephens » Mon Aug 22, 2022 5:11 pm

.
Last edited by MrT Stephens on Tue Aug 23, 2022 8:36 pm, edited 4 times in total.

MrT Stephens
Posts: 8
Joined: Sun Aug 21, 2022 12:21 pm

Re: A fatal error occurred: Packet content transfer stopped (received 8 bytes) on EPS32-S3 PCB.

Postby MrT Stephens » Tue Aug 23, 2022 1:16 pm

ESP_Sprite wrote:
Mon Aug 22, 2022 1:15 am
Does this also happen if you force the ESP32S3 into download mode, e.g. by holding BTN2 on powerup of the watch?
If i dont force the esp32-s3 into download mode it will just keep disconnecting from the computer and reconnecting. But once i do force the esp32-s3 into download mode it then stays connected to the computer and then when i try to upload the code that's the error i get.

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

Re: A fatal error occurred: Packet content transfer stopped (received 8 bytes) on EPS32-S3 PCB.

Postby ESP_Sprite » Wed Aug 24, 2022 1:21 am

Hm, not sure then... possibly you can run esptool manually with the --trace option to show where it goes wrong?

MrT Stephens
Posts: 8
Joined: Sun Aug 21, 2022 12:21 pm

Re: A fatal error occurred: Packet content transfer stopped (received 8 bytes) on EPS32-S3 PCB.

Postby MrT Stephens » Wed Aug 24, 2022 11:51 am

ESP_Sprite wrote:
Wed Aug 24, 2022 1:21 am
Hm, not sure then... possibly you can run esptool manually with the --trace option to show where it goes wrong?
Someone just mentioned to me in a discord that the flash mode that I am using is incorrect because they sent me this link "https://docs.espressif.com/projects/esp ... modes.html".
That says about in QIO flash communication mode this will use GPIO 9 and 10 for flash communications. But in the ESP32-S3 hardware reference design they do not do this. So have you got any idea on the flash communication mode I am using? Because this could maybe be the reason i am getting this error. Thanks for your help.

MrT Stephens
Posts: 8
Joined: Sun Aug 21, 2022 12:21 pm

Re: A fatal error occurred: Packet content transfer stopped (received 8 bytes) on EPS32-S3 PCB.

Postby MrT Stephens » Wed Aug 24, 2022 12:42 pm

ESP_Sprite wrote:
Wed Aug 24, 2022 1:21 am
Hm, not sure then... possibly you can run esptool manually with the --trace option to show where it goes wrong?
Also just noticed if you look in screenshot below the SPIQ and SPID lines are the wrong way around when compared to this section in the esp32-s3 datasheet as seen in other pick below, which im guessing could also be the error. What do you think @ESP Sprite.
Attachments
Screenshot 2022-08-24 134101.png
Screenshot 2022-08-24 134101.png (54.62 KiB) Viewed 17527 times
Screenshot 2022-08-24 134025.png
Screenshot 2022-08-24 134025.png (24.61 KiB) Viewed 17527 times

Jtlane
Posts: 1
Joined: Tue Jan 23, 2024 8:13 pm

Re: A fatal error occurred: Packet content transfer stopped (received 8 bytes) on EPS32-S3 PCB.

Postby Jtlane » Tue Jan 23, 2024 8:14 pm

Was this issue ever resolved? I am running into a very similar issue.

toddkrein
Posts: 2
Joined: Fri Mar 10, 2017 2:15 am

Re: A fatal error occurred: Packet content transfer stopped (received 8 bytes) on EPS32-S3 PCB.

Postby toddkrein » Mon Jan 29, 2024 7:46 pm

This is still a problem. An interesting datapoint: I'm running the Arduino IDE on two different laptops. Same version of the IDE, same version of the board tools, same sketch. On one machine, it works reliably 100% of the time. On the other, it very rarely works, unless I do the copy/paste into a command window and add the --no-stub option.

Makes me wonder if it's a timing problem in the ESPY tool.

toddkrein
Posts: 2
Joined: Fri Mar 10, 2017 2:15 am

Re: A fatal error occurred: Packet content transfer stopped (received 8 bytes) on EPS32-S3 PCB.

Postby toddkrein » Thu Feb 01, 2024 4:23 am

The bug is in the stub used to speed up the app download. I posted an arduino work-around at https://github.com/espressif/esptool/issues/836

Who is online

Users browsing this forum: No registered users and 103 guests