# bluetooth_flash_programmer_esp32 **Repository Path**: redchenjs/bluetooth_flash_programmer_esp32 ## Basic Information - **Project Name**: bluetooth_flash_programmer_esp32 - **Description**: Bluetooth Flash Programmer | 藍牙Flash編程器 | 基於ESP32的藍牙Flash編程器 - **Primary Language**: C - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-06-13 - **Last Updated**: 2021-04-26 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README Bluetooth Flash Programmer ========================== Bluetooth Flash Programmer based on ESP32 chip. ## Pinmap | FLASH | CS | SCLK | MOSI | MISO | | :---- | -: | ---: | ---: | ---: | | ESP32 | 15 | 14 | 13 | 12 | ## Commands * `MTD+ERASE:ALL!`: Erase Full Flash Chip * `MTD+ERASE:0x%x+0x%x`: Erase Flash: Addr Length * `MTD+WRITE:0x%x+0x%x`: Write Flash: Addr Length * `MTD+READ:0x%x+0x%x`: Read Flash: Addr Length * `MTD+INFO?`: Flash Info ## Preparing ### Obtain the Source ``` git clone --recursive https://github.com/redchenjs/bluetooth_flash_programmer_esp32.git ``` ### Update an existing repository ``` git pull git submodule update --init --recursive ``` ### Setup the Tools ``` ./esp-idf/install.sh ``` ## Building ### Setup the environment variables ``` export IDF_PATH=$PWD/esp-idf source ./esp-idf/export.sh ``` ### Configure ``` idf.py menuconfig ``` * All project configurations are under the `Bluetooth Flash Programmer` menu. ### Flash & Monitor ``` idf.py flash monitor ```