【已解决】烧录demo没有任何打印输出

Zigbee 子设备开发


Post Reply
freelifewe
Posts: 34

1.SDK版本:3.9.0
2.demo:tuyaos_demo_zg_light2
3.烧录方式,0地址烧录QIO文件
4.模组ZTU

问题:烧录成功,但是模组接上TXD没有任务log输出
烧录成功输出:
Flash Page Program at address 4dc00
Flash Sector (4K) Erase at address 4e000
Flash Page Program at address 4e000
Flash Page Program at address 4e400
Flash Page Program at address 4e800
Flash Page Program at address 4ec00
Flash Sector (4K) Erase at address 4f000
Flash Page Program at address 4f000
Flash Page Program at address 4f400
Flash Page Program at address 4f800
Flash Page Program at address 4fc00
File Download to Flash at address 0x000000: 326836 bytes
Total Time: 31638 ms

[12:11:57]:
reset mcu

宏定义:ENABLE_TAL_LOG已经打开 MCU_CORE_8258已经打开
生效函数:tal_log_create_manage_and_init(TAL_LOG_LEVEL_DEBUG, 128, (CONST TAL_LOG_OUTPUT_CB)Tl_printf);

Last edited by freelifewe on 2024年 Mar 26日 14:21, edited 1 time in total.
shiliang
Posts: 36

Re: 【求助】烧录demo没有任何打印输出

麻烦确认tal_log.h中,#define ENABLE_LOG 1

huanghuan
Posts: 244

Re: 【求助】烧录demo没有任何打印输出

1.参考下,TuyaOS\docs\Tuya 泰凌平台zigbee开发指导.pdf 的 "2.0 打印调试" 章节介绍

huanghuan
Posts: 244

Re: 【求助】烧录demo没有任何打印输出

默认使用虚拟串口输出,具体看下app_print_get_cfg函数配置

freelifewe
Posts: 34

Re: 【求助】烧录demo没有任何打印输出

感谢两位,按两位指导,成功打印出来,感谢

Post Reply