/BK7231GUIFlashTool

Easy to use, GUI, BK7231T/BK7231N flash tool for beginners. Dedicated for Windows platform. This tool can automatically download latest firmware (on user request) and then do a full BK backup and then write new flash cycle. This tool replaces old bkWriter 1.60 and hid_download_py.

Primary LanguageC#

BK7231 GUI Flash Tool

BK7231 GUI Flash Tool a simple Windows Application that allows you to flash new firmware to BK7231T/BK7231N devices without having computer and programming knowledge. Futhermore, it automatically creates an original firmware backup, so you can submit the original firmware dump for futher analysis (NOTE: it may contain SSID if paired).

Short usage instruction

Connect UART to USB converter to Beken TXD1/RXD1, start flasher tool, select N or T platform, click "Download latest from web" to get firmware binary, click "Do backup and flash new", reset/repower Beken, tool will do both read and flash in one row. Done!

No command line and no strange arguments required.

Detailed usage instruction

  1. Download and unpack executable from Releases tab on the right
  2. Prepare flashing circuit for BK7231 (both T and N) 2.1 get USB to UART converter with 3.3V voltage signals 2.2 connecte RX to TXD1 of Beken, TX to RXD1 of Beken 2.3 you may also need to solder a wire to CEN signal, more about that later 2.4 of course, you also need to power device from some reliable power supply, Beken runs on 3.3V, do not try hacking devices connected to mains!
  3. Open our flasher:

image

  1. Select proper platform - BK7231T or BK7231N
  2. Select your COM port of USB to UART converter
  3. Click "Download latest from Web" to get proper binary file
  4. Wait for download to finish

image

  1. Close download window
  2. Click "Backup and flash new"
  3. When the log window is waiting for "Getting bus", do a device reboot. You can do this in two ways, choose one: Option A: short CEN to GND for 0.25s (it is tricky to get this right, requires precise timing) Option B: power off and on device (of course, it should not be connected to mains, use your own safe 3.3V power supply that can supply enough current)

image

  1. It will begin reading (it does first backup, then write)

image

  1. After reading, it will start the new firmware erase

image

  1. And then, automatically, write:

image

  1. Done:

image

  1. Firmware access point show appear now. Connect to it and enter 192.168.4.1 configuration page.
  2. Remember that saved firmware backup is in the "backups" dir

CRC Mismatch?

CRCs are calculated correctly for both N and T. If you get CRC mismatch, you are most likely selecting a wrong chip type. image

Can't auto download firmware?

Firmware download will not work on systems without newer TLS version required by Github. You can always manually download release from here: https://github.com/openshwprojects/OpenBK7231T_App and put into firmwares bin, then restart flasher.

Other problems?

You can also try changing the baudrate for flashing. Remember - sometimes higher baud rate might worker better than lower one!

If you still need help, you can ask on our forums: https://www.elektroda.com/