Hello there!
I just received a circuit breaker a couple of days ago. I did a backup with hid-download's uartprogram, but in the meanwhile it turned out there was some connection issue, probably with the ground. The backup stopped with a wrong CRC a couple of times, and I didn't realize it hadn't saved the whole flash area.
After that, I had a couple of other write attempts. The first few were also unsuccessful with CRC errors, but after some I managed to fix the connection issue and the flash write was done.
The device was not booting at all, so I decided to flash the area with 0xFF padding and try to rewrite the UART binary later. After many attempts, I was not able to restore the original firmware, and it was pretty much dead when I flashed the UART binary.
What could I do? I assume the bootloader is not dead completely; however, according to my assumptions it should be in the first part of the flash memory area, which was 0xFF-ed a couple of times.
So I was able to start the flashing with uartprogram, bktools and ltchiptool, but I couldn't make the device alive. I also tried to flash other whole binaries from BK7231N devices, but it's still dead. I know the MAC address; some RF-related configs might not be optional for another chip. That was just an idea to try to unbrick the device.

What options do I have now?
I just received a circuit breaker a couple of days ago. I did a backup with hid-download's uartprogram, but in the meanwhile it turned out there was some connection issue, probably with the ground. The backup stopped with a wrong CRC a couple of times, and I didn't realize it hadn't saved the whole flash area.
After that, I had a couple of other write attempts. The first few were also unsuccessful with CRC errors, but after some I managed to fix the connection issue and the flash write was done.
The device was not booting at all, so I decided to flash the area with 0xFF padding and try to rewrite the UART binary later. After many attempts, I was not able to restore the original firmware, and it was pretty much dead when I flashed the UART binary.
What could I do? I assume the bootloader is not dead completely; however, according to my assumptions it should be in the first part of the flash memory area, which was 0xFF-ed a couple of times.
So I was able to start the flashing with uartprogram, bktools and ltchiptool, but I couldn't make the device alive. I also tried to flash other whole binaries from BK7231N devices, but it's still dead. I know the MAC address; some RF-related configs might not be optional for another chip. That was just an idea to try to unbrick the device.
What options do I have now?