Question: Existing firmware
Does anyone have a copy of the Magichome Wifi LED controller's firmware based on BL602? I dumped mine using blflash but didn't notice that by default it is only dumping the 1st MB of memory and as far as I know that particular board has 2 MB... Appreciate a copy of the original firmware. Already investigated if it is somewhere available for download officially by the manufacturer but didn't find anything. Thank you!
You can provide the dump range in the command line argument:
> blflash dump -h
Dump the whole flash to a file
USAGE:
blflash.exe dump [OPTIONS] <output> --port <port> [ARGS]
FLAGS:
-h, --help Prints help information
-V, --version Prints version information
OPTIONS:
-b, --baud-rate <baud-rate> Flash baud rate [default: 1000000]
--initial-baud-rate <initial-baud-rate> Initial baud rate [default: 115200]
-p, --port <port> Serial port
ARGS:
<output> Output file
<start> start address [default: 0]
<end> end address [default: 0x100000]
blflash dump -p COM1 dump.bin 0 0x200000
Thanks, I know this now, but I still need the original firmware :-( I might have forgot to say that after dumping I reflashed the device...
Here is the original firmware dump.zip
I have more gray hair thanks to something that should be simple.
-
Raspberry Pi can not do 2 000 000 baud by default, you need to switch uarts else you get garbage when opening a console.
screen /dev/ttyAMA0 2000000 -
Boot pin needs to be held onto V33 when the device boots to enable programming. (Not V+ else dead device)
-
For some reason -flashing happens at a different baud
./blflash dump -b 230400 -p /dev/ttyAMA0 dump.bin 0 0x200000
Thanks for the firmware! Yes, I realized that too, that CP2102 isn't capable of doing 2M, the FT232R dongles work well! Now I still have the problem, that when reflashing the ble_wifi_demo the board reset-loops as soon as Wifi is enabled... I can't get Wifi to work anymore with any of the examples. As if something got overwritten/erased that is needed for them...