Device is busy or does not respond ESP32 !!!!!

All ESP32 boards running MicroPython.
Target audience: MicroPython users with an ESP32 board.
Post Reply
ixbo
Posts: 36
Joined: Wed May 04, 2022 11:12 am
Location: France

Device is busy or does not respond ESP32 !!!!!

Post by ixbo » Thu May 19, 2022 10:20 am

Hello always the same !!!!
The first steps are difficult !!!

I use a "MakePython ESP32 Development Kit "

The last program i have done is a program with a temperature sensor DS18B20 and a oled display SSD1306 witch use the OneWire protocol , the program work well

After that i try to use a ultrasonic sensor HC_SR04 .....and my first step ......i writte these 2 lines :

from machine import Pin
pulse_out = Pin(3,Pin.OUT)

....then run the biggest program (to debug .....?)......BUT IMPOSSIBLE the message return is

***********************************************************************

Device is busy or does not respond. Your options:

- wait until it completes current work;
- use Ctrl+C to interrupt current work;
- reset the device and try again;
- check connection properties;
- make sure the device has suitable firmware;
- make sure the device is not in bootloader mode.

Could not interrupt current process. Please wait, try again or select Stop/Restart!

***********************************************************************

Then I try all the method described ......always the same message !

I disconnect the board and reconnect it ....i try to open files in the board but IMPOSSIBLE ...board BUSY , reset ,Crtl_C, Stop,....,put away all components on the board .....the only thing i don't know is "- make sure the device is not in bootloader mode. "

I reduce my program:

from machine import Pin

and try to run it, same message

I know i can install the firmware again but it's not a great solution !!!!!!

Thanks very well for all help

Best regards

Can you help me I'm in a wrong way........

davef
Posts: 811
Joined: Thu Apr 30, 2020 1:03 am
Location: Christchurch, NZ

Re: Device is busy or does not respond ESP32 !!!!!

Post by davef » Thu May 19, 2022 10:26 am

I know i can install the firmware again but it's not a great solution !!!!!!
What firmware are you loading on this device?.

Try this simple program:

Code: Select all

import utime

print ('at least I got this far')
utime.sleep(5)

davef
Posts: 811
Joined: Thu Apr 30, 2020 1:03 am
Location: Christchurch, NZ

Re: Device is busy or does not respond ESP32 !!!!!

Post by davef » Thu May 19, 2022 10:28 am

....then run the biggest program
How about running a smaller program and getting that to work first. How BIG is this biggest program?

ixbo
Posts: 36
Joined: Wed May 04, 2022 11:12 am
Location: France

Re: Device is busy or does not respond ESP32 !!!!!

Post by ixbo » Thu May 19, 2022 11:12 am

I'm very happy for your answer i don't know how to resolve this problem

I can't do nothing .......

I try to reproduce this problem

i install again the firmware

i download a simple program "Flashing Led" as main.py in the board ===>OK

i download ssd1306.py on my board

i download as main.py my program with the temperature sensor DS18B20 with oled Display SSD1306 protocol OneWire ==>OK

i create a new program very long as you can see

from machine import Pin

i execute it (interpreter ) ===> OK no but !!!!!!!!!!!!!!

i TRY to download it in the board but always message "Board busy" IMPOSSIBLE to stop it

I retry again import firmware...and so one.....and NOW IT'S OK !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!



I thank you very much, there is some trouble on my board ??? , the same protocol but not the same issu

Best regards

modulusmath
Posts: 30
Joined: Thu Jun 30, 2022 3:21 am

Re: Device is busy or does not respond ESP32 !!!!!

Post by modulusmath » Sun Jul 17, 2022 5:28 pm

Hi. I have basically the same sort of out of the box experience.

I got the makePython ESP32 Development Kit oled because the screen looks beautiful.

I also could not get a prompt at first. I needed to flash to the latest version of Micropython.

Now I can and I can use the wifi, BUT I cannot use the oled with the provided steps from the vendor.
https://www.makerfabs.com/desfile/files ... 2-V2.2.pdf

I have contacted their tech support today. Maybe they can help you as well?

modulusmath
Posts: 30
Joined: Thu Jun 30, 2022 3:21 am

Re: Device is busy or does not respond ESP32 !!!!!

Post by modulusmath » Mon Jul 18, 2022 4:52 pm

I received a reply from tech support. In short was using the wrong driver, the right one worked (color):

Code: Select all

The ssd1306 code runs on MakePython ESP32 not ESP32 Color LCD
https://www.makerfabs.com/makepython-esp32.html 
    You can get the code runs on ESP32 Color LCD from our wiki:
https://www.makerfabs.com/wiki/index.php?title=MakePython_ESP32_Color_LCD 
Sorry it's not the same issue. I was trying to help :P

Post Reply