I'm sorry if I put this in the wrong spot.
I have gathered the materials I need to build the TouchDRO module from scratch. I bought "HiLetgo ESP32-DevKitC ESP32-WROOM-32D Core Board ESP32 ESP-32 ESP-WROOM-32D Development Board for Arduino" from Amazon. I am using a Mac laptop with Sonoma OS.
I used Visual Studio Code and nodemcu-32s for the board definition, even though I do not have a built in LED like I think it should have for that definition. I was able to compile, upload and have the monitor display (on my laptop) the println I defined.
When I tried to upload the TouchDRO software, I got the error that the Com port couldn't be found. I used the following code from the folder the .bin file was located. In the terminal I entered:
esptool.py --port COM12 --baud 460800 --before default_reset --after hard_reset --chip esp32 write_flash --flash_mode dio --flash_size detect --flash_freq 40m 0x1000 bootloader.bin 0x8000 partition-table.bin 0x10000 touchdro.bin
I tried COM1 (through 16) and got the following output:
le.bin 0x10000 touchdro.bin
esptool.py v4.8.1
Serial port COM12
A fatal error occurred: Could not open COM12, the port is busy or doesn't exist.
([Errno 2] could not open port COM12: [Errno 2] No such file or directory: 'COM12')
Hint: Check if the port is correct and ESP connected
I have two questions:
1) Can someone tell me the correct board identification for this board?
2) Why am I not able to upload the program? All I'm looking for is to be able to upload the software (working) one time. This is the first step in building the Touch DRO.
Thanks in advance for any help you can offer!! (sorry to be so helpless)
Newbie Help Please!
Re: Newbie Help Please!
So after many days of digging I found out the only issue in the python line of coding I had entered initially was in the serial port identification.
The proper port designation on a Mac computer is "--port /dev/cu.usbserial-000X" , with "X" in my case being a "1".
I discovered this by using the Arduino IDE software. It located the port and I was able to copy the proper port ID from the program and into the Terminal command.
The proper code would be "esptool.py --port /dev/cu.usbserial-0001 --baud 460800 write_flash --flash_size=detect 0 /Users/tom/Desktop/TouchDRO/touchdro.bin"
Thought I would post the solution in case there was a Mac user in the future who has the same issue, especially since there wasn't anyone else here who could assist in any way.
The proper port designation on a Mac computer is "--port /dev/cu.usbserial-000X" , with "X" in my case being a "1".
I discovered this by using the Arduino IDE software. It located the port and I was able to copy the proper port ID from the program and into the Terminal command.
The proper code would be "esptool.py --port /dev/cu.usbserial-0001 --baud 460800 write_flash --flash_size=detect 0 /Users/tom/Desktop/TouchDRO/touchdro.bin"
Thought I would post the solution in case there was a Mac user in the future who has the same issue, especially since there wasn't anyone else here who could assist in any way.
Who is online
Users browsing this forum: No registered users and 50 guests