aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md51
1 files changed, 51 insertions, 0 deletions
diff --git a/README.md b/README.md
index 5cde2c6..fe71512 100644
--- a/README.md
+++ b/README.md
@@ -34,6 +34,57 @@ Build the BLE example:
make
```
+# Dump complete flash and get config
+
+```bash
+pipx install "bk7231tools[cli]"
+bk7231tools read_flash -d /dev/ttyUSB0 -s 0 -l 0x200000 dumpv2.bin
+bktools dissect_dump -e -O dump_extract_dirv2 dumpv2.bin
+```
+
+interesting output is this config
+
+```json
+{
+ "Jsonver": "1.1.0",
+ "b_lv": 0,
+ "b_pin": 26,
+ "brightmax": 100,
+ "brightmin": 10,
+ "c_lv": 0,
+ "c_pin": 8,
+ "cmod": "rgbcw",
+ "colormax": 100,
+ "colormin": 10,
+ "ctrl_lv": 0,
+ "ctrl_pin": 7,
+ "cwmaxp": 100,
+ "cwtype": 0,
+ "defbright": 80,
+ "defcolor": "b",
+ "deftemp": 100,
+ "dmod": 0,
+ "g_lv": 0,
+ "g_pin": 24,
+ "module": "WB3S",
+ "onoffmode": 1,
+ "pmemory": 1,
+ "pwmhz": 1000,
+ "r_lv": 0,
+ "r_pin": 9,
+ "rstbr": 80,
+ "rstcor": "b",
+ "rstmode": 0,
+ "rstnum": 3,
+ "rsttemp": 100,
+ "title20": 0,
+ "w_lv": 1,
+ "w_pin": 6,
+ "wfcfg": "spcl"
+}
+```
+
+
# Flashing
I followed the original authors and used the outdated "hid_download_py".