|
查看: 1668|回复: 4

Help with TLSR8258 Secure Boot & Firmware Encryption

[复制链接]

3

主题

3

回帖

117

积分

荣耀黄金

积分
117
发表于 2025-9-28 20:13:00 | 显示全部楼层 |阅读模式 来自 美国
information
说明:   建议参照本版块置顶帖内容输入必要信息
芯片型号: TLSR8258F512
SDK及版本: V3.7.1.4
本帖最后由 mntdr 于 2025-9-28 20:16 编辑

Hi Telink Team,
We are a company developing Zigbee products based on the TLSR8258 MCU and are trying to implement the hardware security features (secure boot and firmware encryption).
We have read the available documentation, including this section on firmware encryption:


Screenshot 2025-09-28 102522.png



The TLSR8258F512 supports multiple firmware encryption methods to achieve the anti-cloning protection, including:
This gives us a good overview, but unfortunately there are no examples, workflows, or SDK references that show how to actually implement these features.
Could you please clarify:
  • How to enable secure boot on the TLSR8258?
  • The process/tools for key generation, encryption, and burning (e.g., through programmer or SDK).
  • If there are any example projects or application notes available to demonstrate these security mechanisms.
We want to make sure our Zigbee products are using the hardware security features properly, but at the moment we’re stuck without practical implementation details.
Any guidance, documentation, or sample code would be greatly appreciated!
Thanks in advance.



16

主题

86

回帖

479

积分

璀璨钻石

积分
479
发表于 2025-9-29 09:59:37 | 显示全部楼层 来自 澳大利亚
Have a look here and response from Telink : https://forum.telink-semi.cn/forum.php?mod=viewthread&tid=580&extra=page%3D6

8258 does not support firmware encryption



28

主题

363

回帖

1158

积分

版主

积分
1158
发表于 2025-9-29 14:47:41 | 显示全部楼层 来自 上海
Hi,
8258 does not support firmware hardware encryption,
but we provide a simple firmware authentication method firmwareCheckWithUID()
that utilizes the chip's UUID and pre configured key.
This method can also prevent firmware from being copied.

3

主题

3

回帖

117

积分

荣耀黄金

积分
117
 楼主| 发表于 2025-9-30 15:55:44 | 显示全部楼层 来自 美国
TL_YB 发表于 2025-9-29 14:47
Hi,
8258 does not support firmware hardware encryption,
but we provide a simple firmware authentica ...

how do I use it  ?

28

主题

363

回帖

1158

积分

版主

积分
1158
发表于 2025-9-30 17:26:08 | 显示全部楼层 来自 上海
mntdr 发表于 2025-9-30 15:55
how do I use it  ?

There is a function firmwareCheckWithUID() in the sampleGW demo that may be helpful to you.

The general steps are as follows,

1. Obtain the unique code UUID of the chip
2. Calculate a string of keys (authorization code) in advance using your algorithm (such as hash ...) with the unique code UUID of the chip,
   and pre write the keys to a certain address in Flash (such as CFG_FIRMWARE_ENCRYPTION in demo)
3. Check authorization code at startup

本版积分规则

关注公众号
Telink forum

相关侵权、举报、投诉及建议等,请发 E-mail:forum@telink-semi.com

Powered by Discuz! X5.0 © 2001-2026 Discuz! Team.|沪ICP备17008231号-1 |沪公网安备31011502403548号

在本版发帖返回顶部