ESP32 no Bluetooth visible after flash

tomc938

Registered
Registered
Joined
Dec 9, 2023
Messages
11
So I think I was able to flash the TouchDRO firmware to my ESP32 dev board, but...

When I power it from my serial port on my laptop, and fire up the software on my Samsung tablet, the ESP32 doesn't show up in the list of devices. It also does not show up on my laptop list of available Bluetooth devices.

I tried pushing the reset and boot buttons, and closing the Bluetooth window and opening it again. I just powered up the tablet, and I have 2 ESP chips that I tried flashing and neither one works.

This is my code:

esptool.py --port /dev/cu.usbserial-0001 --baud 460800 write_flash --flash_size=detect 0 /Users/tom/Downloads/Universal_DIY/touchdro-diy-universal-1.6.bin

And this is the results from my Python code:

esptool.py v4.8.1
Serial port /dev/cu.usbserial-0001
Connecting............
Detecting chip type... Unsupported detection protocol, switching and trying again...
Connecting......
Detecting chip type... ESP32
Chip is ESP32-D0WD-V3 (revision v3.1)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: 10:06:1c:85:d1:b0
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 460800
Changed.
Configuring flash size...
Auto-detected Flash size: 4MB
Flash will be erased from 0x00000000 to 0x000a6fff...
Compressed 681712 bytes to 421563...
Wrote 681712 bytes (421563 compressed) at 0x00000000 in 10.4 seconds (effective 526.8 kbit/s)...
Hash of data verified.
Leaving...
Hard resetting via RTS pin...

When I use esptool.py this is the output:

esptool.py v4.8.1
4.8.1

My board does not have a blue LED so I don't get the hint from it flashing or not.

I am able to use both chips from the Arduino IDE, and from the command prompt with Python3, and they function as expected.
Does anyone who uses TouchDRO know what I might be doing wrong?

Any suggestions would be appreciated.

Thanks!
 
So I found a Python script that allowed me to test the BT connection and I am able to establish a BT connection. But I'm not able to connect TouchDRO after flashing the TouchDRO bin file again, and the chip doesn't show up as a BT option on my laptop.

Weird.
 
Better read the instruction. There are mora parts to flash with correct offset...
Can you please point me in the direction of the particular instructions you are referencing? I would sure appreciate it.

I've been looking all over the place, and I do have the BT visible on my tablet and laptop, and I can establish a stable connection on my laptop - I don't have any other app other than TouchDRO to make the connection on my Samsung tablet.

I did use https://www.hobby-machinist.com/threads/esp32-upload-issues-solved.103007/#post-995660 along the way, but didn't have success.
 
Do you mean that the adapter doesn't show up in the TouchDRO app? Or that it doesn't show up as an available device in the tablet's Bluetooth menu?
 
Do you mean that the adapter doesn't show up in the TouchDRO app? Or that it doesn't show up as an available device in the tablet's Bluetooth menu?
It doesn't show up in the TouchDRO app, or in the available devices on the tablet, or my laptop.

I used the Arduino IDE to flash a few lines of Python script that tested the BT on the dev board, and it showed up and I could connect from my laptop.
 
Can you please point me in the direction of the particular instructions you are referencing? I would sure appreciate it.

I've been looking all over the place, and I do have the BT visible on my tablet and laptop, and I can establish a stable connection on my laptop - I don't have any other app other than TouchDRO to make the connection on my Samsung tablet.

I did use https://www.hobby-machinist.com/threads/esp32-upload-issues-solved.103007/#post-995660 along the way, but didn't have success.
 
YES!!!

I somehow missed these lines of code on the page. I think I was looking at so many pages they all began to blur, and IDK what I was seeing and not.

I was able to load the current version onto my chip and it connected flawlessly to my Samsung tablet.

I did have some issues with my laptop - I think. I pasted the code from the page into my terminal window, changed the file name and port ID and flashed the first chip. I copied the lines of code to an email and sent it to myself, but when I tried to flash the second one (for my lathe) esptool generated all kinds of errors. Things like "-p command not found", to about every other thing I tried. I ended up restarting my laptop and copying the code from the website and correcting again for port and file name/location. Then it worked!

Thanks so much for your help! I was so close, but because I was so close I could not see the bigger picture.

Now to let others know how things finally worked out in case they need some help also.
 
Last edited:
Back
Top