Device Screen

Flasher

UART driver for flashing ESP32 family μmicontrollers firmare. Works nicely with NVS.

More Info

Flasher is desktop port of a ESP-Flasher  it supports STUB, and uploads; Application (App), Bootloader (Boot), Partition (Part), Non Volatile Storage (NVS). It really works nicely with the NVS library, because you can generate a in memory NVS partition and upload it to a device. This means in a production line you could easily upload unique data like a serial number, cryptographic certificates to individual units withouth calling a python script.

ESP32%20Programmer
FileEditViewProject
FlashTool — ESP32 Loader
bin_file_t binfile;
 
binfile.app.filepath = "/Users/charrlie/BINARIES/ESP32-C3/app.bin";
binfile.boot.filepath = "/Users/charrlie/BINARIES/ESP32-C3/boot.bin";
binfile.part.filepath = "/Users/charrlie/BINARIES/ESP32-C3/part.bin";
binfile.nvs.filepath = "/Users/charrlie/Binaries/ESP32-C3/nvs.bin";
 
SerialPort_t Port;
 
serial_loader_port_osx_init(SERIAL_DEVICE_5, DEFAULT_BAUD_RATE);
 
if(connect_to_target(ESP32C3_CHIP, HIGHER_BAUD_RATE) == ESP_LOADER_SUCCESS)
{
get_binaries(ESP32C3_CHIP, &binfile);
print_bin_info(&binfile);
 
flash_binary(binfile.boot.data, binfile.boot.size, binfile.boot.addr);
flash_binary(binfile.part.data, binfile.part.size, binfile.part.addr);
flash_binary(binfile.app.data, binfile.app.size, binfile.app.addr);
flash_binary(binfile.nvs.data, binfile.nvs.size, binfile.nvs.addr);
 
printf("Uploading complete!\n");
esp_loader_reset_target();
serial_loader_port_deinit(&Port);
}