Brain dead Wemos Lolin32

Rrobinet
Posts: 29
Joined: Wed Aug 16, 2017 7:05 am

Brain dead Wemos Lolin32

Postby Rrobinet » Mon Dec 25, 2017 8:26 am

Hi,

While busy to implement a new library, and after downloading this version to my WeMos Lolin 32 (using Arduino IDE), I had the following issue:

Code: Select all

Rebooting...
ets Jun  8 2016 00:22:57

rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff0018,len:4
load:0x3fff001c,len:812
load:0x40078000,len:0
load:0x40078000,len:11392
entry 0x40078a9c
Guru Meditation Error: Core  1 panic'ed (LoadProhibited)
. Exception was unhandled.
Register dump:
PC      : 0x400013f9  PS      : 0x00060530  A0      : 0x800d2036  A1      : 0x3ffcb590  
A2      : 0x3ffc51a8  A3      : 0x00000000  A4      : 0x000000ff  A5      : 0x0000ff00  
A6      : 0x00ff0000  A7      : 0xff000000  A8      : 0x00000000  A9      : 0x3ffcb510  
A10     : 0x3ffc51a8  A11     : 0x3ffc6000  A12     : 0x00000000  A13     : 0x0000ff00  
A14     : 0x00ff0000  A15     : 0xff000000  SAR     : 0x00000014  EXCCAUSE: 0x0000001c  
EXCVADDR: 0x00000000  LBEG    : 0x400013f9  LEND    : 0x4000140d  LCOUNT  : 0xffffffff  

Backtrace: 0x400013f9:0x3ffcb590 0x400d2033:0x3ffcb5a0 0x400d2086:0x3ffcb5c0 0x400d10b4:0x3ffcb5e0 0x400f050d:0x3ffcb620
Of course I am not able to reload a new sketch, the loader esp 2.1 give me the following error.

Code: Select all

esptool.py v2.1
Connecting........_____....._____....._____....._____....._____....._____....._____....._____....._____.....____An error occurred while uploading the sketch
I looks that the boot loader can't be accessed anymore due to the constant processor reboot.
Is it a way to overcome this situation?

Thanks in advance

Robert

Rrobinet
Posts: 29
Joined: Wed Aug 16, 2017 7:05 am

Re: Brain dead Wemos Lolin32

Postby Rrobinet » Mon Dec 25, 2017 8:32 am

Extra info; after attempt to download a sketch; the following message is displayed:

Code: Select all

rst:0x1 (POWERON_RESET),boot:0x3 (DOWNLOAD_BOOT(UART0/UART1/SDIO_REI_REO_V2))
waiting for download
....... U............ U............ U............ U............ U............ U............ U............ U............. ............. ............. ............. ............. ............. ............. ............. ............. ............. ............. ............. ............. ............. ............. ............. ............. ............. ............. ............. ............. ............. ............. ............. .....ets Jun  8 2016 00:22:57

rst:0x1 (POWERON_RESET),boot:0x3 (DOWNLOAD_BOOT(UART0/UART1/SDIO_REI_REO_V2))
waiting for download
...... UU........... UU........... UU........... UU........... UU........... UU........... UU........... UU............. ............. ............. ............. ............. ............. ............. ............. ............. ............. ............. ............. ............. ............. ............. ............. ............. ............. ............. ............. ............. ............. ............. ............. .....ets Jun  8 2016 00:22:57

rst:0x1 (POWERON_RESET),boot:0x3 (DOWNLOAD_BOOT(UART0/UART1/SDIO_REI_REO_V2))
waiting for download
 

chegewara
Posts: 2207
Joined: Wed Jun 14, 2017 9:00 pm

Re: Brain dead Wemos Lolin32

Postby chegewara » Mon Dec 25, 2017 9:06 am

If you have hardware buttons reset and boot, try to enable download mode and then upload sketch from arduino.
Download mode:
- press boot, dont release it
- press and release reset
- release boot

But before you do that, open serial monitor to be sure esp32 is in download more. Then close serial monitor and upload sketch

Rrobinet
Posts: 29
Joined: Wed Aug 16, 2017 7:05 am

Re: Brain dead Wemos Lolin32

Postby Rrobinet » Tue Dec 26, 2017 8:32 am

Thanks chegewara for your help.
In fact the Wemos Lolin has no reset button, so based on your infos I have found, this article:
https://github.com/espressif/esptool/wi ... e-Selection
So I did power my Wemos with GPIO0 strapped to the ground, the after removing the strap I was able to reload a sketch.
Robert

Who is online

Users browsing this forum: No registered users and 47 guests