Besides, this wouldn't have made sense if I was:
divadiow wrote:I am seeing switches between BK7231S_1.0.5 and BK7231S_1.0.6 BL
divadiow wrote:I am seeing switches between BK7231S_1.0.5 and BK7231S_1.0.6 BL
divadiow wrote:and I guess all the new variants need catering for too or users will OTA to default release?
divadiow wrote:latest commit doesn't allow any variant cross-flashing
max4elektroda wrote:Personally I think this is too much. I think a warning would be fine, or a switch "allow change in variants".
Just imagine I realize I used the wrong variant or added a new sensor and can't change to the needed file.
p.kaczmarek2 wrote:Any other easy improvements at hand?
p.kaczmarek2 wrote:Can you help me test and review this by @max4elektroda https://github.com/OpenBekenIOT/webapp/pull/225?
TL;DR: 100 % flash-success reported on BK7231 T/N modules [Elektroda, p.kaczmarek2, post #19906676]; “OpenBK7231T now boots on three chip families” [Elektroda, p.kaczmarek2, post #19883071] Use QIO image for BK7231N, UA for BK7231T; erase only 0×11000-0×1EF000. Why it matters: a single workflow now replaces vendor firmware on 60 + low-cost IoT boards.
• Supported MCUs: BK7231T, BK7231N, XR809 (Wi-Fi + BLE) [Elektroda, 19883071] • Recommended UART speed: 921 600 bps for write, 115 200 bps for read [Elektroda, 19857664] • Flash sizes: Typical 2 MB on-chip; config area starts @ 0×1EF000 [Elektroda, post #19893493] • OTA format: .rbl (gzip + AES, served by HTTP) [Elektroda, btsimonh, post #19880525] • Typical power: 5 V @ 500 mA to AMS1117 input for safe programming [Elektroda, ExploWare, post #19853546]
python bk7231tools.py read_flash -d COMx --no-verify-checksum -s 0 -c 512 dump.bin for T/N chips (2 MB, 512 × 4 KB) [GitHub bk7231tools].http-here --host 0.0.0.0 8000). In WebApp → OTA tab → enter http://<IP>:8000/firmware.rbl; device backs up filesystem, flashes, restores settings [Elektroda, btsimonh, post #19880525]OpenBK7231T, then OpenBK7231T_App into /apps. Build: ./build_app.sh apps/OpenBK7231T_App OpenBK7231T_App git (Linux) or Cygwin on Windows; ensure build-essential and gcc-arm-none-eabi installed [Elektroda, boozeman, post #19885620]