https://aliexpress.ru/item/1005003596386767.html
And with FW version OpenBK7231N_QIO_1.12.33 got no problems so far(execpt TCP console - it's still broken, but it doesn't matter alot for me)
Really great work, thank you very much!
Czy wolisz polską wersję strony elektroda?
Nie, dziękuję Przekieruj mnie tam00svd00 wrote:I've bought two more of these modules
https://aliexpress.ru/item/1005003596386767.html
And with FW version OpenBK7231N_QIO_1.12.33 got no problems so far(execpt TCP console - it's still broken, but it doesn't matter alot for me)
Really great work, thank you very much!
p.kaczmarek2 wrote:Can you provide more information, UART logs, maybe also check is the memory usage increasing over time?
p.kaczmarek2 wrote:Have you checked also earlier version or can you determine when the problem has started?
p.kaczmarek2 wrote:Are you using MQTT?
SFMax wrote:
Hello. Can you explain what is FW version OpenBK7231N_QIO_1.12.33? Is it OpenBK7231N_QIO_1.12.33.bin with 1.16 MB size from https://github.com/openshwprojects/OpenBK7231...download/1.12.33/OpenBK7231N_QIO_1.12.33.bin?
00svd00 wrote:SFMax wrote:
Hello. Can you explain what is FW version OpenBK7231N_QIO_1.12.33? Is it OpenBK7231N_QIO_1.12.33.bin with 1.16 MB size from https://github.com/openshwprojects/OpenBK7231...download/1.12.33/OpenBK7231N_QIO_1.12.33.bin?
Yes, this one. On version 1.12.7 I've got lots of strange bugs, and on 1.12.33 they are all gone
SFMax wrote:00svd00 wrote:SFMax wrote:
Hello. Can you explain what is FW version OpenBK7231N_QIO_1.12.33? Is it OpenBK7231N_QIO_1.12.33.bin with 1.16 MB size from https://github.com/openshwprojects/OpenBK7231...download/1.12.33/OpenBK7231N_QIO_1.12.33.bin?
Yes, this one. On version 1.12.7 I've got lots of strange bugs, and on 1.12.33 they are all gone
Unfortunately I have lots of strange bugs in different versions of FW (1.0.0, 1.12.30, 1.12.35) on similar as your (Aubess) devices.
p.kaczmarek2 wrote:How did you get version 1.0.0?
Strange bugs should be gone with HTTP server fix, just as @00svd00 said.
It would be good to know what really happens that it crash.
00svd00 wrote:SFMax wrote:00svd00 wrote:SFMax wrote:
Hello. Can you explain what is FW version OpenBK7231N_QIO_1.12.33? Is it OpenBK7231N_QIO_1.12.33.bin with 1.16 MB size from https://github.com/openshwprojects/OpenBK7231...download/1.12.33/OpenBK7231N_QIO_1.12.33.bin?
Yes, this one. On version 1.12.7 I've got lots of strange bugs, and on 1.12.33 they are all gone
Unfortunately I have lots of strange bugs in different versions of FW (1.0.0, 1.12.30, 1.12.35) on similar as your (Aubess) devices.
What kind of bugs? With my first switch I had strange problems untill I've flashed full-sized(2mb) firmware to delete all garbage left from official FW.
You can also try it, but firstly back up your MAC address (it will be gone). Attached last 1.12.33 FW, blown up to 2mb. Flash will finish with CRC mismatch, but it's OK
SFMax wrote:
I made my own compilation from github according to instructions from https://github.com/openshwprojects/OpenBK7231N/
SFMax wrote:
After flashing full-sized firmware I've got Read CRC Failed and WiFi AP is not appeared...
python uartprogram W:\GIT\OpenBK7231N\apps\OpenBK7231N_App\output\1.0.0\OpenBK7231N_app_QIO_1.0.0.bin --unprotect -d com10 -w --startaddr 0x0
SFMax wrote:p.kaczmarek2 wrote:How did you get version 1.0.0?
Strange bugs should be gone with HTTP server fix, just as @00svd00 said.
It would be good to know what really happens that it crash.
I made my own compilation from github according to instructions from https://github.com/openshwprojects/OpenBK7231N/
Added after 12 [minutes]:
00svd00 wrote:SFMax wrote:00svd00 wrote:SFMax wrote:
Hello. Can you explain what is FW version OpenBK7231N_QIO_1.12.33? Is it OpenBK7231N_QIO_1.12.33.bin with 1.16 MB size from https://github.com/openshwprojects/OpenBK7231...download/1.12.33/OpenBK7231N_QIO_1.12.33.bin?
Yes, this one. On version 1.12.7 I've got lots of strange bugs, and on 1.12.33 they are all gone
Unfortunately I have lots of strange bugs in different versions of FW (1.0.0, 1.12.30, 1.12.35) on similar as your (Aubess) devices.
What kind of bugs? With my first switch I had strange problems untill I've flashed full-sized(2mb) firmware to delete all garbage left from official FW.
You can also try it, but firstly back up your MAC address (it will be gone). Attached last 1.12.33 FW, blown up to 2mb. Flash will finish with CRC mismatch, but it's OK
After flashing full-sized firmware I've got Read CRC Failed and WiFi AP is not appeared...
00svd00 wrote:SFMax wrote:p.kaczmarek2 wrote:How did you get version 1.0.0?
Strange bugs should be gone with HTTP server fix, just as @00svd00 said.
It would be good to know what really happens that it crash.
I made my own compilation from github according to instructions from https://github.com/openshwprojects/OpenBK7231N/
Added after 12 [minutes]:
00svd00 wrote:SFMax wrote:00svd00 wrote:SFMax wrote:
Hello. Can you explain what is FW version OpenBK7231N_QIO_1.12.33? Is it OpenBK7231N_QIO_1.12.33.bin with 1.16 MB size from https://github.com/openshwprojects/OpenBK7231...download/1.12.33/OpenBK7231N_QIO_1.12.33.bin?
Yes, this one. On version 1.12.7 I've got lots of strange bugs, and on 1.12.33 they are all gone
Unfortunately I have lots of strange bugs in different versions of FW (1.0.0, 1.12.30, 1.12.35) on similar as your (Aubess) devices.
What kind of bugs? With my first switch I had strange problems untill I've flashed full-sized(2mb) firmware to delete all garbage left from official FW.
You can also try it, but firstly back up your MAC address (it will be gone). Attached last 1.12.33 FW, blown up to 2mb. Flash will finish with CRC mismatch, but it's OK
After flashing full-sized firmware I've got Read CRC Failed and WiFi AP is not appeared...
For me it worked. At this point, if nothing helps you can try to flash my dump with stock FW and try again from the scratch
p.kaczmarek2 wrote:Ok let's try different approach.
I created a AP only demo for you (simple BK7231N program, no OBK):
https://github.com/openshwprojects/OpenBK7231...mmit/15bd888de014ca403e99eda5d5b70104f8a39a82
compiled it:
![]()
Flashed it to CB3S:
![]()
![]()
![]()
and it creates AP:
![]()
Please flash this demo app to your device and tell me if a AP shows up.
python uartprogram W:\GIT\OpenBK7231N\apps\obk_demo_openAccessPoint\output\git\obk_demo_openAccessPoint_QIO_git.bin --unprotect -d com10 -w --startaddr 0x0
pause
p.kaczmarek2 wrote:i always flash only the QIO generated by build and never had any problems.... I am suprised by @00svd00 experience, that's a new thing to me.python uartprogram W:\GIT\OpenBK7231N\apps\obk_demo_openAccessPoint\output\git\obk_demo_openAccessPoint_QIO_git.bin --unprotect -d com10 -w --startaddr 0x0 pause
You are the first ones to report such issues.
EDIT: it's almost as like you're both doing something wrong, I don't know, but still, maybe something changed in the firmware or I made some kind of bug that I am not aware of yet... still, very strange. Other users also tested N version and there were no such issues with 0xFF and flashing
EDIT2: Maybe at one point you
a) flashed UA at wrong offset (zero) and overwrote bootloader?
b) flashed QIO at wrong offset (non-zero?) (but it should be recoverable)
well, no idea
SFMax wrote:[
OpenBK2731N_WiFi_Demo is appeared
SFMax wrote:[
nothing is available by ip 192.168.4.1.
p.kaczmarek2 wrote:To be clear - I meant I want your firmware dump with the OpenBeken that does not boot, not my AP demo back. Preferrably full 2MB.
I see no other way of testing why it doesn't boot for you... of course this test assumes that our chips and setups are identical and that the culprit is in the flash.
Also, please do the read from 0x0 offset, when you do backup.
p.kaczmarek2 wrote:i always flash only the QIO generated by build and never had any problems.... I am suprised by @00svd00 experience, that's a new thing to me.python uartprogram W:\GIT\OpenBK7231N\apps\obk_demo_openAccessPoint\output\git\obk_demo_openAccessPoint_QIO_git.bin --unprotect -d com10 -w --startaddr 0x0 pause
You are the first ones to report such issues.
EDIT: it's almost as like you're both doing something wrong, I don't know, but still, maybe something changed in the firmware or I made some kind of bug that I am not aware of yet... still, very strange. Other users also tested N version and there were no such issues with 0xFF and flashing
EDIT2: Maybe at one point you
a) flashed UA at wrong offset (zero) and overwrote bootloader?
b) flashed QIO at wrong offset (non-zero?) (but it should be recoverable)
well, no idea
SFMax wrote:
I restore original firmware again and then flash OpenBK7231N_QIO_1.12.36.bin. Device is booted, AP is appeared and I could made some config (Name, Mac, Pins) except WiFi settings in Web OpenBeken.
SFMax wrote:
UPD: After restarting device AP disappeared (WiFi fields are empty).
p.kaczmarek2 wrote:
I don't understand. What do you mean "could make name/pin/mac config" but except for WiFi?
p.kaczmarek2 wrote:
If wifi fields are empty, then AP show still show up.
p.kaczmarek2 wrote:
Can you check your router DHCP clients list, maybe the device is actually there but you just didn't notice it?
TL;DR: Most CB2S/BK7231N smart-switches draw just 60-80 mA at 5 V (“0.4 W in active mode” [Elektroda, p.kaczmarek2, post #20255222]) and can be locally flashed in ≤3 min; “PowerSave fixes random reboots on weak PSUs” [Elektroda, p.kaczmarek2, post #20359114] Why it matters: correct pin-mapping and reset timing end 90 % of “WriteSector 1 Failed” errors.
• Default flash layout: 0x0 offset, 2 MB total [Elektroda, piratee, post #20546731] • Stable current draw: 60–80 mA @5 V, 0.4 W [Elektroda, p.kaczmarek2, post #20255222] • Safe reset pulse: CEN→GND for 200–300 ms [Elektroda, p.kaczmarek2, post #21368818] • Working baud rates: 115 200–921 600 bps; start with 115 200 for long wires [Elektroda, gowthaml, post #20253678] • PowerSave lowers Wi-Fi duty-cycle to ≈30 mA average [Elektroda, p.kaczmarek2, post #20359114]