Hi everyone,
first of all I want to thank all for their work to provide clould-free homeautomation!
Yesterday I got aware that there is this solution similar to Tasmota for i.e. BL602 devices.
I was able to
- solder PADs of Bl602L2 RGBW strip device
- successfully flash OpenBl602 to it (golden USB TTL providing 3.3V) using BlDevCube 1.8.9, 10k between 3.3V and Boot
- receive serial log in Putty
- connect to device's Access Point via Smartphone and Laptop
But I did not manage to connect the device to my OpenWrt (Fritzbox 3390), WPA/WPA2 security.
It seemed that my SSID/password and IP values were not stored into the memory of the device and after reboot again AP came up with original configuration entries (DHCP, no SSID, ...).
Finally I decided to erase the chip and flash it again => probably a big mistake.
I figured out that I need to flash boot2 again.
- PartitionTable=BouffaloLabDevCube-v1.8.9/chips/bl602/partition/partition_cfg_2M.toml
- Firmware=OpenBL602_1.17.590.bin
- boot2=BouffaloLabDevCube-v1.8.9/chips/bl602/builtin_imgs/boot2_isp_bl602_v6.6.1/boot2_isp_debug.bin
Since then I again get serial logs and the device creates a AccessPoint.
BUT: I cannot connect anymore.
Laptop does not even show this AP.
Smartphone shows it (Channel 1) but cannot connect.
Obviously I erased too much and have no clue how to get it working again.
Thanks a lot for any help!
P.S.:
Just noticed that AP name has changed after the Erase. Don't know whether this is important to know.
perviously: OpenBL602_943F9A4D
now: OpenBL602_43C90001
Greetings
Eva
first of all I want to thank all for their work to provide clould-free homeautomation!
Yesterday I got aware that there is this solution similar to Tasmota for i.e. BL602 devices.
I was able to
- solder PADs of Bl602L2 RGBW strip device
- successfully flash OpenBl602 to it (golden USB TTL providing 3.3V) using BlDevCube 1.8.9, 10k between 3.3V and Boot
- receive serial log in Putty
- connect to device's Access Point via Smartphone and Laptop
But I did not manage to connect the device to my OpenWrt (Fritzbox 3390), WPA/WPA2 security.
It seemed that my SSID/password and IP values were not stored into the memory of the device and after reboot again AP came up with original configuration entries (DHCP, no SSID, ...).
Finally I decided to erase the chip and flash it again => probably a big mistake.
I figured out that I need to flash boot2 again.
- PartitionTable=BouffaloLabDevCube-v1.8.9/chips/bl602/partition/partition_cfg_2M.toml
- Firmware=OpenBL602_1.17.590.bin
- boot2=BouffaloLabDevCube-v1.8.9/chips/bl602/builtin_imgs/boot2_isp_bl602_v6.6.1/boot2_isp_debug.bin
Since then I again get serial logs and the device creates a AccessPoint.
BUT: I cannot connect anymore.
Laptop does not even show this AP.
Smartphone shows it (Channel 1) but cannot connect.
Obviously I erased too much and have no clue how to get it working again.
Thanks a lot for any help!
P.S.:
Just noticed that AP name has changed after the Erase. Don't know whether this is important to know.
perviously: OpenBL602_943F9A4D
now: OpenBL602_43C90001
Greetings
Eva
Entering initLog()...
Commands registered!
initLog() done!
[MTD] >>>>>> Hanlde info Dump >>>>>>
name PSM
id 0
offset 0x001e9000(2002944)
size 0x00008000(32Kbytes)
xip_addr 0x231d8000
[MTD] <<<<<< Hanlde info End <<<<<<
[EF] Found Valid PSM partition, XIP Addr 231d8000, flash addr 001e9000
*default_env_size = 0x00000001
EasyFlash V4.0.99 is initialize success.
You can get the latest version on https://github.com/armink/EasyFlash .
[ 686][WARN : bl_mtd.c: 201] addr@0x230a1da0 is xip flash, size 8
[MTD] >>>>>> Hanlde info Dump >>>>>>
name media
id 0
offset 0x001a2000(1712128)
size 0x00047000(284Kbytes)
xip_addr 0x23191000
[MTD] <<<<<< Hanlde info End <<<<<<
Main_Init_Before_Delay done
Main_Init_Delay
Main_Init_Delay done
Info:MAIN:Main_Init_Before_Delay
Warn:CFG:CFG_InitAndLoad: Correct config has been loaded with 1 changes count.
Error:CMD:lfs is absent
Info:GENIN_SetupPins pins have been set up.
Info:MAIN:Main_Init_Before_Delay done
Info:MAIN:Main_Init_Delay
Info:MAIN:Main_Init_Delay done
Info:MAIN:Main_Init_After_Delay
Info:MAIN:Using SSID []
Info:MAIN:Using Pass []
Info:MQTT:MQTT_RegisterCallback called for bT obl43C90001/ subT obl43C90001/+/set
Info:MQTT:MQTT_RegisterCallback called for bT bl602s/ subT bl602s/+/set
Info:MQTT:MQTT_RegisterCallback called for bT cmnd/obl43C90001/ subT cmnd/obl43C90001/+
Info:MQTT:MQTT_RegisterCallback called for bT cmnd/bl602s/ subT cmnd/bl602s/+
Info:MQTT:MQTT_RegisterCallback called for bT obl43C90001/ subT obl43C90001/+/get
Error:CMD:LFS_ReadFile: lfs is absent
Info:CMD:CMD_StartScript: failed to get file autoexec.bat
Info:MAIN:Main_Init_After_Delay done
Info:MAIN:Time 1, idle 0/s, free 107264, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/21
Info:MAIN:Time 2, idle 0/s, free 107264, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/21
Info:MAIN:Time 3, idle 0/s, free 107264, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/21
Info:MAIN:Time 4, idle 0/s, free 107264, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/21
[lwip] netif status callback
IP: 192.168.11.1
MK: 255.255.255.0
GW: 0.0.0.0
[WF] MM_ADD_IF_REQ Sending: AP
▒td_start idx=0
[WF] MM_ADD_IF_REQ Done
[WF] vif_index from LAMC is 0
[lwip] netif status callback
IP: 192.168.169.1
MK: 255.255.255.0
GW: 0.0.0.0
[DHCP] ip_start: [192.168.169.2]
[DHCP] ip_start: [192.168.169.254]
[WF][SM] start AP with ssid OpenBL602_43C90001;
[WF][SM]pwd ;
[WF][SM]channel 1;
[WF] APM_START_REQ Sending with vif_index 0
[WF] received APM Start apm_start_req_handler:77
[WF] return with other handler
[WF] APM_START_REQ Done
[WF] status is 00
[WF] vif_idx is 00
[WF] ch_idx is 00
[WF] bcmc_idx is 03
[WF][SM] stateGlobalGuard_AP: AP iface has started!
Info:MAIN:Time 5, idle 0/s, free 107264, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/21
[APP] [EVT] Unknown code 11, 5834
[6839][WARN : bl_mtd.c: 201] addr@0x230a1da0 is xip flash, size 8
Info:MAIN:Time 6, idle 0/s, free 106952, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/21
Info:MAIN:Boot complete time reached (5 seconds)
Info:MAIN:Time 7, idle 0/s, free 106952, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/21
Info:MAIN:Time 8, idle 0/s, free 106952, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/21
Info:MAIN:Time 9, idle 0/s, free 106952, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/21
Info:MAIN:Time 10, idle 0/s, free 106952, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/21
Info:MAIN:Time 11, idle 0/s, free 106952, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/21
Info:MAIN:Time 12, idle 0/s, free 106952, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/21




