Good news:
>>21655761
I was able to use a Chinese converted
ST-LINK V2 to JLINK Link and a custom version of
OpenOCD Link to backup and restore the firmware on the
ZS3L, and then proceeded with installing the new bootloader.
Good news and bad news.
Good news: flashing the new bootloader did NOT brick the device and still booted the stock firmware. This is where I started to get suspicious. If the new bootloader also boots the stock firmware, then it's unlikely to be the cause of other firmware not booting.
Anyways, I proceeded to flash again 8.2.0.0
Bad news: After flashing, the firmware still did not work
Nothing, nada ....
I then flashed a couple more like
zs3l_ncp-uart-hw_EmberZNet8.0.1.0.gbl, zs3l_zigbee_ncp_8.1.1.0_115200.gbl, G01-pro-ncp-uart-hw_4.gbl .... but they all did the same, nothing..... tested with bellows and Z2M and ZHA
I then reverted to my backup and am back on stock
There must be something stored in the flash or some other spot on the ZS3L preventing non-stock firmware from booting or making them crash, but I am too scared to go and erase the entire flash; maybe it's not in the flash, and then I'll brick it completely.
Hopefully, these experiments and write-up help someone else, and maybe they come up with a solution.
Maybe the secure boot hash/key is stored somewhere else, see if I can read more about it]Link