中
A
[quote=TL_yuzhong post_id=353 time=1532505986 user_id=60] 你好: 打开里面的串口设置,用串口输出就可以。 [/quote]
[code] make all //编译 make erase_fw //擦除固件 make erase_key //擦除Mesh相关数据 make monitor //打开串口监控 python3 ../../make/Telink_Tools.py -p /dev/ttyUSB0 burn_triad 1345 78da07fa44a7 221746e805ac0e6269bd4d3e55f1145c //烧录三元组 python3 ../../make/Telink_Tools.py -p /dev/ttyUSB0 write_flash 0x30000 235798abdfc //写Flash python3 ../../make/Telink_Tools.py -p /dev/ttyUSB0 read_flash 0x30000 256 //读Flash [/code]
打开里面的串口设置,用串口输出就可以。
我看了vendor\mesh\app_config_8269.h似乎有关于打印uart log的开关
#define __LOG_RT_ENABLE__ 0
//#define __DEBUG_PRINT__ 0
#if HCI_LOG_FW_EN
#define DEBUG_INFO_TX_PIN GPIO_PA0
但是app_config_8269.h并没有被编译进去
2.我是否只要把16脚URX,17脚UTX,GND连接到串口小板上?
[attachment=0]微信截图_20190522110527.png[code]make all //编译 make erase_fw //擦除固件 make erase_key //擦除Mesh相关数据 make monitor //打开串口监控 python3 ../../make/Telink_Tools.py -p /dev/ttyUSB0 burn_triad 1345 78da07fa44a7 221746e805ac0e6269bd4d3e55f1145c //烧录三元组 python3 ../../make/Telink_Tools.py -p /dev/ttyUSB0 write_flash 0x30000 235798abdfc //写Flash python3 ../../make/Telink_Tools.py -p /dev/ttyUSB0 read_flash 0x30000 256 //读Flash