Newbie to ESP32 programming.
Accidentally programmed the application firmware bin on the memory location 0x1000 using the following command,
esptool --chip ESP32 -p COM32 --before default_reset --after hard_reset write_flash 0x1000 esp32.bin
Seem i overwritten the bootloader at 0x1000

I am getting the following error from the device continuously,
rst:0x10 (RTCWDT_RTC_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
flash read err, 1000
ets_main.c 371
How to i reprogram the bootloader at 0x1000. Please help.