What is your OS ? Are you on Linux ?
Can you confirm : did you try a LED Blinker using ArduinoIDE ?
Let's try something. Here, in attachment the MyAPServer sketch compiled that I've sent in another thread.
uploading with the following command and try next one to read back the upload to see if it works.
esptool.py --port /dev/ttyUSB0 write_flash 0x00000 /tmp/build1689728494263750370.tmp/MyAPServer.cpp_00000.bin 0x10000 /tmp/build1689728494263750370.tmp/MyAPServer.cpp_10000.bin
Starting the ESP in Exec mode you should see on Serial :
Configuring Access Point ...
AP IP address: 192.168.4.1
HTTP server started
To compare the upload and what is actually in flash :
esptool.py --port /dev/ttyUSB0 read_flash 0x00000 0x9000 /tmp/ttt
hexdump -C /tmp/build1689728494263750370.tmp/MyAPServer.cpp_00000.bin > /tmp/ttt2
hexdump -C /tmp/ttt > /tmp/ttt3
diff /tmp/ttt2 /tmp/ttt2
You should only see some diffs as only file size will differ :
< 00008a20 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
< *
< 00009000
---
> 00008a20
EDIT : ouupps ! the Forum <code></code> translated my code inserts above in upper cases, every things should be lower cases.