※This article is based on Simplicity Studio 4 、EmberZnet SDK 6.7.5.0 and EFR32MG Series
Simplicity Studio 工具的主要目的不是编译调试,而是一个工程项目的模板编辑器, 他创建的工程项目,再在IAR 等 IDE 工具中打开使用,用 IAR 等工具进行开发编译调试。
为了后期的版本升级方便,建议最大程度的使用 Simplicity Studio 工具进行代码的开发,IAR 等工具只作为编译器去使用。
例程
https://github.com/SiliconLabs/zigbee_applications
Try Project->Properties->Run/Debug Settings "iRIS_270FX Debug" -> Edit button, Connection tab Also Simplicity Commander.. click Connect twice defiantly the right processor... on two counts
you shouldn't configure the part number as mgmxxx in Simplicity IDE, that is not a valid part number. you should use efr32ngxxxx as the commander showed.
C:\SiliconLabs\SimplicityStudio\v4\developer\adapter_packs\commander>commander device info -d cortex-m4 --serialno 440029541
显示以下的错误信息:
Error[Pe020]: identifier "BSP_PTI_DOUT_LOC" is undefined D:\Tools\SimplicityStudio-EmberZnet 6.7.5.0\SimplicityStudio\v4\developer\sdks\gecko_sdk_suite\v2.7\platform\base\hal\micro\cortexm3\efm32\hal-config.c 379 Error[Pe020]: identifier "BSP_PTI_DOUT_PORT" is undefined D:\Tools\SimplicityStudio-EmberZnet 6.7.5.0\SimplicityStudio\v4\developer\sdks\gecko_sdk_suite\v2.7\platform\base\hal\micro\cortexm3\efm32\hal-config.c 380 Error[Pe020]: identifier "BSP_PTI_DOUT_PIN" is undefined D:\Tools\SimplicityStudio-EmberZnet 6.7.5.0\SimplicityStudio\v4\developer\sdks\gecko_sdk_suite\v2.7\platform\base\hal\micro\cortexm3\efm32\hal-config.c 381 Error[Pe020]: identifier "BSP_PTI_DFRAME_LOC" is undefined D:\Tools\SimplicityStudio-EmberZnet 6.7.5.0\SimplicityStudio\v4\developer\sdks\gecko_sdk_suite\v2.7\platform\base\hal\micro\cortexm3\efm32\hal-config.c 385 Error[Pe020]: identifier "BSP_PTI_DFRAME_PORT" is undefined D:\Tools\SimplicityStudio-EmberZnet 6.7.5.0\SimplicityStudio\v4\developer\sdks\gecko_sdk_suite\v2.7\platform\base\hal\micro\cortexm3\efm32\hal-config.c 386 Error[Pe020]: identifier "BSP_PTI_DFRAME_PIN" is undefined D:\Tools\SimplicityStudio-EmberZnet 6.7.5.0\SimplicityStudio\v4\developer\sdks\gecko_sdk_suite\v2.7\platform\base\hal\micro\cortexm3\efm32\hal-config.c 387
打开.hwconf文件(或者在isc文件的 HAL 选项卡里面找到“Open Hardware Configurator”),找到PTI,将其取消,或者配置对应的参数,试缺少的参数补齐(PTI一般开发板才需要配合使用)
在isc文件的 includes 选项卡里面,add directory... 添加下面的路径
安装路径\SimplicityStudio-EmberZnet 6.7.5.0\SimplicityStudio\v4\developer\sdks\gecko_sdk_suite\v2.7\platform\radio\rail_lib\common
Simplicity Commander 是一个实用程序,可提供对 EFM32 设备调试功能的 GUI 和命令行访问。它允许您刷新固件、更新套件固件以及锁定或解锁调试访问。此工具旨在替换 eACommander。
下载地址
https://www.silabs.com/documents/public/software/SimplicityCommander-Windows.zip
simplicity studio v5 的话,点击 tools 选择 simplicity commander
检查是否有线松动
&ref(): File not found: "ZigBee.png" at page "++EmberZnet++开发环境";
Comment: