https://github.com/redchenjs/bluetooth_flash_programmer_esp32
Bluetooth Flash Programmer | 藍牙Flash編程器 | 基於ESP32的藍牙Flash編程器
https://github.com/redchenjs/bluetooth_flash_programmer_esp32
bluetooth esp32 flash programmer rfcomm sfud spp
Last synced: 10 months ago
JSON representation
Bluetooth Flash Programmer | 藍牙Flash編程器 | 基於ESP32的藍牙Flash編程器
- Host: GitHub
- URL: https://github.com/redchenjs/bluetooth_flash_programmer_esp32
- Owner: redchenjs
- Created: 2020-02-10T10:00:09.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2021-04-26T14:18:02.000Z (over 4 years ago)
- Last Synced: 2025-01-21T09:48:35.532Z (12 months ago)
- Topics: bluetooth, esp32, flash, programmer, rfcomm, sfud, spp
- Language: C
- Homepage:
- Size: 109 KB
- Stars: 1
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
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
```