- Edited
Hi!
I came across very strange behavior of some XT-ZB1.
Only some of XT-ZB1 I tested are starting the main application of otcli (bl702_demo_thread) example from bl_iot_sdk repo.
All of them could start bl702_demo_lmac154 example and everything is working just fine.
Below I post the output of working and non-working MCUs:
- Working case:
Starting bl702 now.... ------------------------------------------------------------ RISC-V Core Feature:RV32-ACFIMX Build Version: release_bl_iot_sdk_1.6.39-238-gf5ba0a7ee Std BSP Driver Version: dff9318 Std BSP Common Version: 9fe1995 RF Version: b5662bc Build Date: Feb 22 2023 Build Time: 10:20:53 ------------------------------------------------------------ Heap 66936@0x4201f288, 0@0x00000000 [IRQ] Clearing and Disable all the pending IRQ... [ 0][BUF: hal_board.c: 337] 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 [ 0][BUF: hal_board.c: 355] 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 [ 0][BUF: hal_board.c: 450] 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 [ 0][BUF: hal_board.c: 451] 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 [OS] Starting aos_loop_proc task... [OS] Starting OS Scheduler... [MTD] >>>>>> Hanlde info Dump >>>>>> name PSM id 0 offset 0x001f9000(2068480) size 0x00002000(8Kbytes) xip_addr 0x231f5000 [MTD] <<<<<< Hanlde info End <<<<<< [EF] Found Valid PSM partition, XIP Addr 231f5000, flash addr 001f9000, size 8192 ENV AREA SIZE 8192, SECTOR NUM 2 *default_env_size = 0x00000001 ENV start address is 0x00000000, size is 8192 bytes. EasyFlash V4.0.99 is initialize success. You can get the latest version on https://github.com/armink/EasyFlash . ot_alarmInit = 107 [BL] [SEC] TRNG Handler [BL] [SEC] TRNG Handler [MTD] >>>>>> Hanlde info Dump >>>>>> name PSM id 0 offset 0x001f9000(2068480) size 0x00002000(8Kbytes) xip_addr 0x231f5000 [MTD] <<<<<< Hanlde info End <<<<<< [EF] Found Valid PSM partition, XIP Addr 231f5000, flash addr 001f9000, size 8192 ENV AREA SIZE 8192, SECTOR NUM 2 *default_env_size = 0x00000001 EasyFlash V4.0.99 is initialize success. You can get the latest version on https://github.com/armink/EasyFlash .
- Not working case:
Starting bl702 now.... ----------------------------------------------------------- RISC-V Core Feature:RV32-ACFIMX Build Version: release_bl_iot_sdk_1.6.39-238-gf5ba0a7ee Std BSP Driver Version: dff9318 Std BSP Common Version: 9fe1995 RF Version: b5662bc Build Date: Feb 22 2023 Build Time: 10:20:53 ------------------------------------------------------------ Heap 66936@0x4201f288, 0@0x00000000 [IRQ] Clearing and Disable all the pending IRQ... [OS] Starting aos_loop_proc task... [OS] Starting OS Scheduler... [MTD] >>>>>> Hanlde info Dump >>>>>> name PSM id 0 offset 0x001f9000(2068480) size 0x00002000(8Kbytes) xip_addr 0x231f5000 [MTD] <<<<<< Hanlde info End <<<<<< [EF] Found Valid PSM partition, XIP Addr 231f5000, flash addr 001f9000, size 8192 ENV AREA SIZE 8192, SECTOR NUM 2 *default_env_size = 0x00000001 ENV start address is 0x00000000, size is 8192 bytes. EasyFlash V4.0.99 is initialize success. You can get the latest version on https://github.com/armink/EasyFlash . ot_alarmInit = 106 [BL] [SEC] TRNG Handler [BL] [SEC] TRNG Handler [MTD] >>>>>> Hanlde info Dump >>>>>> name PSM id 0 offset 0x001f9000(2068480) size 0x00002000(8Kbytes) xip_addr 0x231f5000 [MTD] <<<<<< Hanlde info End <<<<<< [EF] Found Valid PSM partition, XIP Addr 231f5000, flash addr 001f9000, size 8192 ENV AREA SIZE 8192, SECTOR NUM 2 *default_env_size = 0x00000001 EasyFlash V4.0.99 is initialize success.