找回密码
 立即注册

微信扫码登录

查看: 408|回复: 0

[reprinted]ZigBee SDK - debugging End Device

[复制链接]

27

主题

166

回帖

571

积分

版主

积分
571
发表于 2024-8-22 19:56:13 | 显示全部楼层 |阅读模式
本帖最后由 TL_YB 于 2024-8-23 14:51 编辑

[Transferred from old forum] Author: wes58

I have a device (TLSR8258) which is an End Device with PM enabled (#define PM_ENABLE1)
Is it possible to debug this device with BDT?
When I try to do it I get:
- when clicking on "Pause" button in BDT I get
pause mcu, pc : 0x000002
- when clicking on "PC"button I get
pc : 0x000000
- when I try to read variables I get
[88]: read memory err!
This is obviously because when I click on the button, the device is in sleep mode.

I there a way to debug such a device?

I also tried to disable PM (#define PM_ENABLE 0), clean the project, re-build and flash the device but the device still behaves like it is with PM enabled - I get the same results when pausing, reading variables as described above.
I don't want to erase the device which would probably fix it, but then I would have to pair it with the gateway again.
I would like to avoid it.

Why would this be happening?

===================================================================================

I found the reason why I couldn't debug the device and I thought that the device was still in sleep mode after I disabled PM.
The reason was that I had configured the SWS pin as GPIO input which disabled SWS.

===================================================================================
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Telink forum ( 沪ICP备17008231号-1 )

GMT+8, 2024-12-22 13:22 , Processed in 0.081542 second(s), 18 queries .

Powered by Telink 隐私政策

泰凌微电子版权所有 © 。保留所有权利。 2024

快速回复 返回顶部 返回列表