2

用jLink读取nRF52832的mac地址

 3 years ago
source link: https://ooso.net/archives/892
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
用jLink读取nRF52832的mac地址 – 某人的栖息地Skip to the content
Who's here

直接用nrfjprog命令读取

nrfjprog -f NRF52 --memrd 0x100000a4 --n 8
0x100000A4: ACAFE032 7AC54CAF


这里的mac地址是 0xCCAFACAFE032. 其中4C变成了CC,这是因为蓝牙协议规定静态mac地址的2 MSBit必须是11(Bluetooth Core v4.0, Vol 3, Part C, chapter 10.8.1)

如果想省事一点,也可以用adalink这个python脚本。直接获取芯片信息

adalink nrf52832 -p jlink --info
Hardware ID : 0x52832
Variant : 0x41414530
Package : QFxx - 48-pin QFN
SRAM : 64 KB SRAM
Flash : 512 KB Flash
Device Addr : E0:A3:38:95:23:66
Device ID : BA74FBE3D9A8A03C
NFC Pins : NFC

Leave a Reply Cancel reply

Your email address will not be published.

Comment

Name

Email

Website


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK