espressif / esp-box

The ESP-BOX is a new generation AIoT development platform released by Espressif Systems.
Apache License 2.0
710 stars 173 forks source link

Reset to Factory Settings (AEGHB-405) #104

Closed Pajservices closed 7 months ago

Pajservices commented 9 months ago

I've got a ESP32-S3-BOX-Lite - and have been doing some coding for a project. Unfortunately, I think I screwed it up with a piece of code - and it now isn't working properly. I have tried to download the firmware using the flash_download tool but get an error as follows;

Uploading stub...
Running stub...
Stub running...
Changing baud rate to 115200
No serial data received.
[2023-09-27 15:27:23,434][ESP8266Loader_spi[1]][espDownloader.py][line:750][ERROR]: ESP32S3 Chip stub error esp_stub_and_set_baud.
no log file output ...

Do I need to Factory RESET and if so How do I do this?

Thanks Phil

espressif2022 commented 9 months ago

keep press boot btn,and short reset btn, it'll enter bootloader mode.

ESP-Mars commented 9 months ago

You can use ESP-Launchpad to flash the factory firmware, please choose the following file:

Screenshot 2023-09-28 at 12 40 07

If download fails, please hold down the Boot button and then press the Reset button to initiate Firmware Download mode manually.

Pajservices commented 9 months ago

Thanks Cao Yan - I appreciate your help.

However - when I try to Connect the Device it is saying it's paired, but it does Connect, then the main screen shows that it is being used. (see images in attachment)

There is nothing that it is paired with. I have rebooted the PC - have checked my phones and anything else with Bluetooth and nothing is paired to it.

How do I clear this?

Phil

Regards

Phil Jones PAJ Services Mob: 07768 746032

From: Cao Yan @.> Sent: 28 September 2023 05:46 To: espressif/esp-box @.> Cc: Phil Jones @.>; Author @.> Subject: Re: [espressif/esp-box] Reset to Factory Settings (AEGHB-405) (Issue #104)

You can use ESP-Launchpad https://github.com/espressif/esp-box/blob/master/docs/firmware_update.md#updating-firmware-with-esp-launchpad-recommended to flash the factory firmware, please choose the following file: https://user-images.githubusercontent.com/85924095/271176438-ffa7d637-c114-417a-8899-ef56fcb23ad8.png If download fails, please hold down the Boot button and then press the Reset button to initiate Firmware Download mode manually. — Reply to this email directly, view it on GitHub https://github.com/espressif/esp-box/issues/104#issuecomment-1738424838 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AGHHW6GAOFPW4C5PBOLEX23X4T6HVANCNFSM6AAAAAA5JOY2OY . You are receiving this because you authored the thread. https://github.com/notifications/beacon/AGHHW6FTLTRDPEJOMY4QY7LX4T6HVA5CNFSM6AAAAAA5JOY2O2WGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTHTZBAM.gif Message ID: @. @.> >

-- This email has been checked for viruses by AVG antivirus software. www.avg.com

Pajservices commented 9 months ago

Re the below, someone suggested I should manually enter Firmware Download mode by holding the box-lite's Boot button and then press the Reset button, then try to reconnect the device and flash firmware again.

I have tried this but doesn’t seem to make a difference.

Can you confirm for me which button is which – and how long do I hold them down? Do I do this while it is plugged in – and should they be pressed at same time.

I really appreciate any help you can give.

Thanks Phil

Thanks Cao Yan - I appreciate your help.

However - when I try to Connect the Device it is saying it's paired, but it does Connect, then the main screen shows that it is being used. (see images in attachment)

There is nothing that it is paired with. I have rebooted the PC - have checked my phones and anything else with Bluetooth and nothing is paired to it.

How do I clear this?

Phil

Regards

Phil Jones PAJ Services Mob: 07768 746032

From: Cao Yan @.> Sent: 28 September 2023 05:46 To: espressif/esp-box @.> Cc: Phil Jones @.>; Author @.> Subject: Re: [espressif/esp-box] Reset to Factory Settings (AEGHB-405) (Issue #104)

You can use ESP-Launchpad https://github.com/espressif/esp-box/blob/master/docs/firmware_update.md#updating-firmware-with-esp-launchpad-recommended to flash the factory firmware, please choose the following file: https://user-images.githubusercontent.com/85924095/271176438-ffa7d637-c114-417a-8899-ef56fcb23ad8.png If download fails, please hold down the Boot button and then press the Reset button to initiate Firmware Download mode manually. — Reply to this email directly, view it on GitHub https://github.com/espressif/esp-box/issues/104#issuecomment-1738424838 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AGHHW6GAOFPW4C5PBOLEX23X4T6HVANCNFSM6AAAAAA5JOY2OY . You are receiving this because you authored the thread. https://github.com/notifications/beacon/AGHHW6FTLTRDPEJOMY4QY7LX4T6HVA5CNFSM6AAAAAA5JOY2O2WGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTHTZBAM.gif Message ID: @. @.> >

-- This email has been checked for viruses by AVG antivirus software. www.avg.com

ESP-Mars commented 9 months ago

Hi Phil, the boot button is located in the top left corner of the device, and the rst button is located in the bottom left corner. You can refer to this hardware overview. Just hood on the boot button then one press the rst boot, please notice one press, which means just press one reset one time, then release the boot (DO NOT pressed at same time). Another same way we usually like used is hold on the boot button then plug and unplug one time the USB-C cable. Hope this can help you, more confusing or questions, you can show the serial log or record a video of the problem phenomenon and upload it to your personal YouTube or other platform.

Pajservices commented 9 months ago

That’s great thanks – I’ve managed to do it now and reloaded the software.

I’ve also got some basic Bluetooth code running ok.

Could I just ask you something else – with the BOX-Lite which libraries should I use to display something on the screen? Can you point me to any examples of writing to the screen?

Regards

Phil Jones PAJ Services Mob: 07768 746032

From: Cao Yan @.> Sent: 05 October 2023 03:18 To: espressif/esp-box @.> Cc: Phil Jones @.>; Author @.> Subject: Re: [espressif/esp-box] Reset to Factory Settings (AEGHB-405) (Issue #104)

Hi Phil, the boot button is located in the top left corner of the device, and the rst button is located in the bottom left corner. You can refer to this hardawre overview https://github.com/espressif/esp-box/blob/master/docs/hardware_overview/esp32_s3_box_lite/hardware_overview_for_lite.md . Just hood on the boot button then one press the rst boot, please notice one press, which means just press one reset one time, then release the boot (DO NOT pressed at same time). Another same way we usually like used is hold on the boot button then plug and unplug one time the USB-C cable. Hope this can help you, more confusing or questions, you can show the serial log or record a video of the problem phenomenon and upload it to your personal YouTube or other platform. — Reply to this email directly, view it on GitHub https://github.com/espressif/esp-box/issues/104#issuecomment-1747936547 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AGHHW6BAZVZNELCJZII7NZDX5YKDZAVCNFSM6AAAAAA5JOY2O2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONBXHEZTMNJUG4 . You are receiving this because you authored the thread. https://github.com/notifications/beacon/AGHHW6HBCAUXDFMROZV65PLX5YKDZA5CNFSM6AAAAAA5JOY2O2WGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTIF5SSG.gif Message ID: @. @.> >

-- This email has been checked for viruses by AVG antivirus software. www.avg.com

espressif2022 commented 9 months ago

That’s great thanks – I’ve managed to do it now and reloaded the software. I’ve also got some basic Bluetooth code running ok. Could I just ask you something else – with the BOX-Lite which libraries should I use to display something on the screen? Can you point me to any examples of writing to the screen? Regards Phil Jones PAJ Services Mob: 07768 746032 From: Cao Yan @.> Sent: 05 October 2023 03:18 To: espressif/esp-box @.> Cc: Phil Jones @.>; Author @.> Subject: Re: [espressif/esp-box] Reset to Factory Settings (AEGHB-405) (Issue #104) Hi Phil, the boot button is located in the top left corner of the device, and the rst button is located in the bottom left corner. You can refer to this hardawre overview https://github.com/espressif/esp-box/blob/master/docs/hardware_overview/esp32_s3_box_lite/hardware_overview_for_lite.md . Just hood on the boot button then one press the rst boot, please notice one press, which means just press one reset one time, then release the boot (DO NOT pressed at same time). Another same way we usually like used is hold on the boot button then plug and unplug one time the USB-C cable. Hope this can help you, more confusing or questions, you can show the serial log or record a video of the problem phenomenon and upload it to your personal YouTube or other platform. — Reply to this email directly, view it on GitHub <#104 (comment)> , or unsubscribe https://github.com/notifications/unsubscribe-auth/AGHHW6BAZVZNELCJZII7NZDX5YKDZAVCNFSM6AAAAAA5JOY2O2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONBXHEZTMNJUG4 . You are receiving this because you authored the thread. https://github.com/notifications/beacon/AGHHW6HBCAUXDFMROZV65PLX5YKDZA5CNFSM6AAAAAA5JOY2O2WGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTIF5SSG.gif Message ID: @. @.> > -- This email has been checked for viruses by AVG antivirus software. www.avg.com

You can refer t this bsp, https://github.com/espressif/esp-bsp/tree/master/esp-box-lite Here is the example, https://github.com/espressif/esp-bsp/tree/master/examples/display

Pajservices commented 9 months ago

Thank you so much

Pajservices commented 8 months ago

I’m now trying to get the Display working with one of the examples, but have an issue where the screen is staying black unless I hold the reset button in.

I have started an Issue as follows;

https://github.com/espressif/esp-box/issues/106

Regards

Phil Jones

From: espressif2022 @.> Sent: 07 October 2023 02:46 To: espressif/esp-box @.> Cc: Phil Jones @.>; Author @.> Subject: Re: [espressif/esp-box] Reset to Factory Settings (AEGHB-405) (Issue #104)

That’s great thanks – I’ve managed to do it now and reloaded the software. I’ve also got some basic Bluetooth code running ok. Could I just ask you something else – with the BOX-Lite which libraries should I use to display something on the screen? Can you point me to any examples of writing to the screen? Regards Phil Jones PAJ Services Mob: 07768 746032 From: Cao Yan @.> Sent: 05 October 2023 03:18 To: espressif/esp-box @.> Cc: Phil Jones @.>; Author @.> Subject: Re: [espressif/esp-box] Reset to Factory Settings (AEGHB-405) (Issue #104 https://github.com/espressif/esp-box/issues/104 ) Hi Phil, the boot button is located in the top left corner of the device, and the rst button is located in the bottom left corner. You can refer to this hardawre overview https://github.com/espressif/esp-box/blob/master/docs/hardware_overview/esp32_s3_box_lite/hardware_overview_for_lite.md . Just hood on the boot button then one press the rst boot, please notice one press, which means just press one reset one time, then release the boot (DO NOT pressed at same time). Another same way we usually like used is hold on the boot button then plug and unplug one time the USB-C cable. Hope this can help you, more confusing or questions, you can show the serial log or record a video of the problem phenomenon and upload it to your personal YouTube or other platform. — Reply to this email directly, view it on GitHub <#104 (comment) https://github.com/espressif/esp-box/issues/104#issuecomment-1747936547 > , or unsubscribe https://github.com/notifications/unsubscribe-auth/AGHHW6BAZVZNELCJZII7NZDX5YKDZAVCNFSM6AAAAAA5JOY2O2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONBXHEZTMNJUG4 . You are receiving this because you authored the thread. https://github.com/notifications/beacon/AGHHW6HBCAUXDFMROZV65PLX5YKDZA5CNFSM6AAAAAA5JOY2O2WGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTIF5SSG.gif Message ID: @. @.> > … -- This email has been checked for viruses by AVG antivirus software. www.avg.com http://www.avg.com You can refer t this bsp, https://github.com/espressif/esp-bsp/tree/master/esp-box-lite Here is the example, https://github.com/espressif/esp-bsp/tree/master/examples/display — Reply to this email directly, view it on GitHub https://github.com/espressif/esp-box/issues/104#issuecomment-1751552857 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AGHHW6GTMCVNK5NM75ZREE3X6CX7BAVCNFSM6AAAAAA5JOY2O2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONJRGU2TEOBVG4 . You are receiving this because you authored the thread. https://github.com/notifications/beacon/AGHHW6ANLH5S2FBRHNIZAS3X6CX7BA5CNFSM6AAAAAA5JOY2O2WGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTIM2JVS.gif Message ID: @. @.> >

ESP-Mars commented 7 months ago

Temporarily closed due to the extended period of time with no response. Should you have additional questions or concerns, don't hesitate to reopen the issue.