i bought esp32 board from
esp 32 Robu.in
and trying my first simple sketch
void setup() {
Serial.begin(9600);
}
void loop() {
Serial.println("test esp32");
delay(1000);
}
please note...
for this i download Arduino 1.8.19 and run it from this folder. as below
i select board as this
i also installed board as this.
and got error
Arduino: 1.8.19 (Windows 7), Board: "ESP32-WROOM-DA Module, Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS), 240MHz (WiFi/BT), QIO, 80MHz, 4MB (32Mb), 921600, Core 1, Core 1, None, Disabled"
D:\Software\Arduino Kit\All Setup s\arduino-1.8.19\arduino-builder -dump-prefs -logger=machine -hardware D:\Software\Arduino Kit\All Setup s\arduino-1.8.19\hardware -hardware C:\Users\acer\AppData\Local\Arduino15\packages -tools D:\Software\Arduino Kit\All Setup s\arduino-1.8.19\tools-builder -tools D:\Software\Arduino Kit\All Setup s\arduino-1.8.19\hardware\tools\avr -tools C:\Users\acer\AppData\Local\Arduino15\packages -built-in-libraries D:\Software\Arduino Kit\All Setup s\arduino-1.8.19\libraries -libraries C:\Users\acer\Documents\Arduino\libraries -fqbn=esp32:esp32:esp32da:PartitionScheme=default,CPUFreq=240,FlashMode=qio,FlashFreq=80,FlashSize=4M,UploadSpeed=921600,LoopCore=1,EventsCore=1,DebugLevel=none,EraseFlash=none -vid-pid=10C4_EA60 -ide-version=10819 -build-path C:\Users\acer\AppData\Local\Temp\arduino_build_678991 -warnings=none -build-cache C:\Users\acer\AppData\Local\Temp\arduino_cache_869405 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.esp32-arduino-libs.path=C:\Users\acer\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-bd2b9390ef -prefs=runtime.tools.esp32-arduino-libs-idf-release_v5.1-bd2b9390ef.path=C:\Users\acer\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-bd2b9390ef -prefs=runtime.tools.riscv32-esp-elf-gdb.path=C:\Users\acer\AppData\Local\Arduino15\packages\esp32\tools\riscv32-esp-elf-gdb\12.1_20231023 -prefs=runtime.tools.riscv32-esp-elf-gdb-12.1_20231023.path=C:\Users\acer\AppData\Local\Arduino15\packages\esp32\tools\riscv32-esp-elf-gdb\12.1_20231023 -prefs=runtime.tools.esp-xs2.path=C:\Users\acer\AppData\Local\Arduino15\packages\esp32\tools\esp-xs2\2302 -prefs=runtime.tools.esp-xs2-2302.path=C:\Users\acer\AppData\Local\Arduino15\packages\esp32\tools\esp-xs2\2302 -prefs=runtime.tools.dfu-util.path=C:\Users\acer\AppData\Local\Arduino15\packages\arduino\tools\dfu-util\0.11.0-arduino5 -prefs=runtime.tools.dfu-util-0.11.0-arduino5.path=C:\Users\acer\AppData\Local\Arduino15\packages\arduino\tools\dfu-util\0.11.0-arduino5 -prefs=runtime.tools.xtensa-esp-elf-gdb.path=C:\Users\acer\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp-elf-gdb\12.1_20231023 -prefs=runtime.tools.xtensa-esp-elf-gdb-12.1_20231023.path=C:\Users\acer\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp-elf-gdb\12.1_20231023 -prefs=runtime.tools.openocd-esp32.path=C:\Users\acer\AppData\Local\Arduino15\packages\esp32\tools\openocd-esp32\v0.12.0-esp32-20240318 -prefs=runtime.tools.openocd-esp32-v0.12.0-esp32-20240318.path=C:\Users\acer\AppData\Local\Arduino15\packages\esp32\tools\openocd-esp32\v0.12.0-esp32-20240318 -prefs=runtime.tools.esp-xs3.path=C:\Users\acer\AppData\Local\Arduino15\packages\esp32\tools\esp-xs3\2302 -prefs=runtime.tools.esp-xs3-2302.path=C:\Users\acer\AppData\Local\Arduino15\packages\esp32\tools\esp-xs3\2302 -prefs=runtime.tools.esp-x32.path=C:\Users\acer\AppData\Local\Arduino15\packages\esp32\tools\esp-x32\2302 -prefs=runtime.tools.esp-x32-2302.path=C:\Users\acer\AppData\Local\Arduino15\packages\esp32\tools\esp-x32\2302 -prefs=runtime.tools.mklittlefs.path=C:\Users\acer\AppData\Local\Arduino15\packages\esp32\tools\mklittlefs\3.0.0-gnu12-dc7f933 -prefs=runtime.tools.mklittlefs-3.0.0-gnu12-dc7f933.path=C:\Users\acer\AppData\Local\Arduino15\packages\esp32\tools\mklittlefs\3.0.0-gnu12-dc7f933 -prefs=runtime.tools.esptool_py.path=C:\Users\acer\AppData\Local\Arduino15\packages\esp32\tools\esptool_py\4.6 -prefs=runtime.tools.esptool_py-4.6.path=C:\Users\acer\AppData\Local\Arduino15\packages\esp32\tools\esptool_py\4.6 -prefs=runtime.tools.esp-rv32.path=C:\Users\acer\AppData\Local\Arduino15\packages\esp32\tools\esp-rv32\2302 -prefs=runtime.tools.esp-rv32-2302.path=C:\Users\acer\AppData\Local\Arduino15\packages\esp32\tools\esp-rv32\2302 -prefs=runtime.tools.mkspiffs.path=C:\Users\acer\AppData\Local\Arduino15\packages\esp32\tools\mkspiffs\0.2.3 -prefs=runtime.tools.mkspiffs-0.2.3.path=C:\Users\acer\AppData\Local\Arduino15\packages\esp32\tools\mkspiffs\0.2.3 -verbose C:\Users\acer\Documents\Arduino\ESP_32\ESP_32.ino
D:\Software\Arduino Kit\All Setup s\arduino-1.8.19\arduino-builder -compile -logger=machine -hardware D:\Software\Arduino Kit\All Setup s\arduino-1.8.19\hardware -hardware C:\Users\acer\AppData\Local\Arduino15\packages -tools D:\Software\Arduino Kit\All Setup s\arduino-1.8.19\tools-builder -tools D:\Software\Arduino Kit\All Setup s\arduino-1.8.19\hardware\tools\avr -tools C:\Users\acer\AppData\Local\Arduino15\packages -built-in-libraries D:\Software\Arduino Kit\All Setup s\arduino-1.8.19\libraries -libraries C:\Users\acer\Documents\Arduino\libraries -fqbn=esp32:esp32:esp32da:PartitionScheme=default,CPUFreq=240,FlashMode=qio,FlashFreq=80,FlashSize=4M,UploadSpeed=921600,LoopCore=1,EventsCore=1,DebugLevel=none,EraseFlash=none -vid-pid=10C4_EA60 -ide-version=10819 -build-path C:\Users\acer\AppData\Local\Temp\arduino_build_678991 -warnings=none -build-cache C:\Users\acer\AppData\Local\Temp\arduino_cache_869405 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.esp32-arduino-libs.path=C:\Users\acer\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-bd2b9390ef -prefs=runtime.tools.esp32-arduino-libs-idf-release_v5.1-bd2b9390ef.path=C:\Users\acer\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-bd2b9390ef -prefs=runtime.tools.riscv32-esp-elf-gdb.path=C:\Users\acer\AppData\Local\Arduino15\packages\esp32\tools\riscv32-esp-elf-gdb\12.1_20231023 -prefs=runtime.tools.riscv32-esp-elf-gdb-12.1_20231023.path=C:\Users\acer\AppData\Local\Arduino15\packages\esp32\tools\riscv32-esp-elf-gdb\12.1_20231023 -prefs=runtime.tools.esp-xs2.path=C:\Users\acer\AppData\Local\Arduino15\packages\esp32\tools\esp-xs2\2302 -prefs=runtime.tools.esp-xs2-2302.path=C:\Users\acer\AppData\Local\Arduino15\packages\esp32\tools\esp-xs2\2302 -prefs=runtime.tools.dfu-util.path=C:\Users\acer\AppData\Local\Arduino15\packages\arduino\tools\dfu-util\0.11.0-arduino5 -prefs=runtime.tools.dfu-util-0.11.0-arduino5.path=C:\Users\acer\AppData\Local\Arduino15\packages\arduino\tools\dfu-util\0.11.0-arduino5 -prefs=runtime.tools.xtensa-esp-elf-gdb.path=C:\Users\acer\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp-elf-gdb\12.1_20231023 -prefs=runtime.tools.xtensa-esp-elf-gdb-12.1_20231023.path=C:\Users\acer\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp-elf-gdb\12.1_20231023 -prefs=runtime.tools.openocd-esp32.path=C:\Users\acer\AppData\Local\Arduino15\packages\esp32\tools\openocd-esp32\v0.12.0-esp32-20240318 -prefs=runtime.tools.openocd-esp32-v0.12.0-esp32-20240318.path=C:\Users\acer\AppData\Local\Arduino15\packages\esp32\tools\openocd-esp32\v0.12.0-esp32-20240318 -prefs=runtime.tools.esp-xs3.path=C:\Users\acer\AppData\Local\Arduino15\packages\esp32\tools\esp-xs3\2302 -prefs=runtime.tools.esp-xs3-2302.path=C:\Users\acer\AppData\Local\Arduino15\packages\esp32\tools\esp-xs3\2302 -prefs=runtime.tools.esp-x32.path=C:\Users\acer\AppData\Local\Arduino15\packages\esp32\tools\esp-x32\2302 -prefs=runtime.tools.esp-x32-2302.path=C:\Users\acer\AppData\Local\Arduino15\packages\esp32\tools\esp-x32\2302 -prefs=runtime.tools.mklittlefs.path=C:\Users\acer\AppData\Local\Arduino15\packages\esp32\tools\mklittlefs\3.0.0-gnu12-dc7f933 -prefs=runtime.tools.mklittlefs-3.0.0-gnu12-dc7f933.path=C:\Users\acer\AppData\Local\Arduino15\packages\esp32\tools\mklittlefs\3.0.0-gnu12-dc7f933 -prefs=runtime.tools.esptool_py.path=C:\Users\acer\AppData\Local\Arduino15\packages\esp32\tools\esptool_py\4.6 -prefs=runtime.tools.esptool_py-4.6.path=C:\Users\acer\AppData\Local\Arduino15\packages\esp32\tools\esptool_py\4.6 -prefs=runtime.tools.esp-rv32.path=C:\Users\acer\AppData\Local\Arduino15\packages\esp32\tools\esp-rv32\2302 -prefs=runtime.tools.esp-rv32-2302.path=C:\Users\acer\AppData\Local\Arduino15\packages\esp32\tools\esp-rv32\2302 -prefs=runtime.tools.mkspiffs.path=C:\Users\acer\AppData\Local\Arduino15\packages\esp32\tools\mkspiffs\0.2.3 -prefs=runtime.tools.mkspiffs-0.2.3.path=C:\Users\acer\AppData\Local\Arduino15\packages\esp32\tools\mkspiffs\0.2.3 -verbose C:\Users\acer\Documents\Arduino\ESP_32\ESP_32.ino
Using board 'esp32da' from platform in folder: C:\Users\acer\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.0.2
Using core 'esp32' from platform in folder: C:\Users\acer\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.0.2
cmd /c if exist "C:\\Users\\acer\\Documents\\Arduino\\ESP_32\\partitions.csv" COPY /y "C:\\Users\\acer\\Documents\\Arduino\\ESP_32\\partitions.csv" "C:\\Users\\acer\\AppData\\Local\\Temp\\arduino_build_678991\\partitions.csv"
cmd /c if not exist "C:\\Users\\acer\\AppData\\Local\\Temp\\arduino_build_678991\\partitions.csv" if exist "C:\\Users\\acer\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\3.0.2\\variants\\esp32da\\partitions.csv" COPY "C:\\Users\\acer\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\3.0.2\\variants\\esp32da\\partitions.csv" "C:\\Users\\acer\\AppData\\Local\\Temp\\arduino_build_678991\\partitions.csv"
cmd /c if not exist "C:\\Users\\acer\\AppData\\Local\\Temp\\arduino_build_678991\\partitions.csv" COPY "C:\\Users\\acer\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\3.0.2\\tools\\partitions\\default.csv" "C:\\Users\\acer\\AppData\\Local\\Temp\\arduino_build_678991\\partitions.csv"
1 file(s) copied.
cmd /c IF EXIST "C:\\Users\\acer\\Documents\\Arduino\\ESP_32\\bootloader.bin" ( COPY /y "C:\\Users\\acer\\Documents\\Arduino\\ESP_32\\bootloader.bin" "C:\\Users\\acer\\AppData\\Local\\Temp\\arduino_build_678991\\ESP_32.ino.bootloader.bin" ) ELSE ( IF EXIST "C:\\Users\\acer\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\3.0.2\\variants\\esp32da\\bootloader.bin" ( COPY "C:\\Users\\acer\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\3.0.2\\variants\\esp32da\\bootloader.bin" "C:\\Users\\acer\\AppData\\Local\\Temp\\arduino_build_678991\\ESP_32.ino.bootloader.bin" ) ELSE ( "C:\\Users\\acer\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\esptool_py\\4.6\\esptool.exe" --chip esp32 elf2image --flash_mode dio --flash_freq 80m --flash_size 4MB -o "C:\\Users\\acer\\AppData\\Local\\Temp\\arduino_build_678991\\ESP_32.ino.bootloader.bin" "C:\\Users\\acer\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\esp32-arduino-libs\\idf-release_v5.1-bd2b9390ef\\esp32\\bin\\bootloader_qio_80m.elf" ) )
This version of C:\Users\acer\AppData\Local\Arduino15\packages\esp32\tools\esptool_py\4.6\esptool.exe is not compatible with the version of Windows you're running. Check your computer's system information to see whether you need a x86 (32-bit) or x64 (64-bit) version of the program, and then contact the software publisher.
exit status 1
Error compiling for board ESP32-WROOM-DA Module.
Could not find boards.txt in C:\Users\acer\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.1. Is it pre-1.5?
Could not find boards.txt in C:\Users\acer\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.1. Is it pre-1.5?
please check where i did mistake . it is first time i with esp32.
thank you...