Unfortunately developing a firmware is far beyond my skills.
At the moment I'm exploring. I noticed that even though from log it looks like flash is 4MB the data read is 2MB repeated twice. Now I'll try to read data splitting blocks:
[D/1970-01-01 00:00:00.932] [dev.flash /00504] : 0 | Bootloader | owner:0 | 0x00000000 | 0x0000F000
[D/1970-01-01 00:00:00.941] [dev.flash /00504] : 1 | Application | owner:0 | 0x00011000 | 0x001C2000
[D/1970-01-01 00:00:00.951] [dev.flash /00504] : 2 | (null) | owner:0 | 0x00000000 | 0x00000000
[D/1970-01-01 00:00:00.960] [dev.flash /00504] : 3 | RF Firmware | owner:0 | 0x001E0000 | 0x00001000
[D/1970-01-01 00:00:00.970] [dev.flash /00504] : 4 | NET info | owner:0 | 0x001E1000 | 0x00001000
[D/1970-01-01 00:00:00.980] [dev.flash /00504] : 5 | xc config1 | owner:0 | 0x001F4000 | 0x00001000
[D/1970-01-01 00:00:00.989] [dev.flash /00504] : 6 | xc config | owner:0 | 0x001F5000 | 0x00005000
[D/1970-01-01 00:00:00.999] [dev.flash /00504] : 7 | (null) | owner:0 | 0x00000000 | 0x00000000
[D/1970-01-01 00:00:01.008] [dev.flash /00504] : 8 | ble bonding info | owner:0 | 0x001F0000 | 0x00001000
addresses seem to be correct.
I noticed that there are cleartext wifi passwords so I want to look for telnet password somewhere, maybe I can reach my goal with telnet commands.
Even if I'm scared to brick the cam I'd like to try to change wifi password to check if bk_loader works also in writing... I hope there's no CRC check...
Do you know how to use bk_loader tool?
Usage: ./bk_loader tool [OPTIONS] [SUBCOMMAND]
Options:
-h,--help Print this help message and exit
Subcommands:
json_2_bin parse json file ,and create a bin file
bin_2_json parse bin file ,and create a json file
there's no docs and I only get errors.
Any advice will be extremely appreciated. I'll let you know what happens. Thanks for the support.
PS - There are 3.3V between RX and GND and between TX and GND on the USB adapter! Maybe this is the explanation.