我重新上验证了一下,编译 tuyaos_demo_quickstart 这个app,启动还是一样的挂掉。日志如下;同时附件我附上了 crash后我通过addr2line工具后的情况,跟之前 3.3.2的现象是一样的。
Initializing WIFI ...[01-01 00:00:00 TUYA D][tuya_ws_db.c:443] init fs. Path: null
[01-01 00:00:00 TUYA D][kv_storge.c:46] *****************kvs_init.
[01-01 00:00:00 TUYA D][simple_flash_protected.c:203] protected init. addr:0x003fb000
[01-01 00:00:00 TUYA E][simple_flash_protected.c:71] protected key data is not matched magic(0x3a2d3e45),crc32(0xe2d8782c)
[01-01 00:00:00 TUYA N][simple_flash.c:938] sf protected init err, need backup
[01-01 00:00:00 TUYA N][simple_flash.c:447] key_addr: 0x3fa000 block_sz 4096
[01-01 00:00:00 TUYA E][simple_flash.c:467] key data is not matched magic(0x3a2d3e45),crc32(0xe2d8782c)
[01-01 00:00:00 TUYA E][simple_flash.c:481] flash is encrypted or empty
[01-01 00:00:00 TUYA N][simple_flash.c:346] protected not valid
[01-01 00:00:00 TUYA E][simple_flash_app.c:288] create_flash_hand_and_init err 10
[01-01 00:00:00 TUYA E][tuya_ws_db.c:446] db init fails -1
[01-01 00:00:00 TUYA E][tuya_iot_com_api.c:365] db init fails -1
[01-01 00:00:00 TUYA E][tuya_app_main.c:391] ret:-1
[01-01 00:00:00 TUYA D][tuya_app
WIFI initialized
init_thread(58), Available heap 0x3d680_main.c:396] device_init in
[01-01 00:00:00 TUYA E][tuya_app_main.c:355] mf_init APP_BIN_NAME[tuyaos_demo_quickstart] USER_SW_VER[1.0.0]
[01-01 00:00:00 TUYA D][mf_core.c:38] mf_core_init success
Hard Fault Patch (Non-secure)
Enter CM BackTrace, SP 0x10023ca8
Firmware name: ./asdk/image/target_img2, hardware version: HW v1.0, software version: SW v1.0
Fault on thread tuya_app_
stact addr 0x10022ee0, size 0xfe4, top 0x10023c18
dump_stack sp point 0x10023d10, task sp 0x10023c18