Debugging and Operation Issues with Matter Thermostat Example in VS Code

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Debugging and Operation Issues with Matter Thermostat Example in VS Code

跳至解决方案
1,275 次查看
pooisonner
Contributor III

Hello, I am learning step by step by posting questions here.
Following NXP's suggestion, I set up the development environment as described in https://community.nxp.com/t5/Wireless-Connectivity-Knowledge/Getting-Started-with-MCUXpresso-for-VS-....
I successfully built and ported the Matter Thermostat example using the RT1060-EVKC + Maya-W276 (IW612) and confirmed its operation. However, when I run it using the debug button in VS Code, it works fine, but when I stop the debug, reset the EVK board and RF board, and try to run it again, it does not work.
Additionally, I would like to add or remove a custom cluster in Matter, but I cannot find any related documentation.
Could you please provide any assistance?
Thank you in advance.

标记 (1)
0 项奖励
回复
1 解答
1,206 次查看
Mary319Horne
Contributor I

Hello!

For your NXP Matter thermostat issue, the most likely cause for it not running after a reset (despite working in debug) is that your application isn't correctly flashed for standalone boot or there's a specific bootloader configuration needed for the RT1060-EVKC and Maya-W276 (IW612). You'll need to check NXP's documentation for "production flashing" or "boot from flash" instructions. Regarding adding/removing custom Matter clusters, the primary tool is ZAP (ZCL Advanced Platform). You'll define your cluster in an XML file, integrate it with ZAP to generate C++ code, and then implement the specific application logic. Look for NXP's Matter SDK documentation, their GitHub repository, or the general Matter (CHIP) SDK guides on "Manufacturer Extensions" or "Custom Data Models" for detailed steps.

在原帖中查看解决方案

0 项奖励
回复
3 回复数
1,222 次查看
Ricardo_Zamora
NXP TechSupport
NXP TechSupport

Hello,

 

Hope you are doing well. Could you please share what version release are you using?

 

Did you modify something on the example?

 

Related documentation, maybe this could help you: Implementing New Clusters & Device Types — Matter documentation

 

Regards,

Ricardo

0 项奖励
回复
1,215 次查看
pooisonner
Contributor III

Thank you for your response.
I have not modified the thermostat example in the repository.
It can be downloaded using the debug button in VSCode and works fine, but when I exit VSCode and reset the board, the program does not run.
I don’t know the reason for this.
Please provide a response.
Thank you.

0 项奖励
回复
1,207 次查看
Mary319Horne
Contributor I

Hello!

For your NXP Matter thermostat issue, the most likely cause for it not running after a reset (despite working in debug) is that your application isn't correctly flashed for standalone boot or there's a specific bootloader configuration needed for the RT1060-EVKC and Maya-W276 (IW612). You'll need to check NXP's documentation for "production flashing" or "boot from flash" instructions. Regarding adding/removing custom Matter clusters, the primary tool is ZAP (ZCL Advanced Platform). You'll define your cluster in an XML file, integrate it with ZAP to generate C++ code, and then implement the specific application logic. Look for NXP's Matter SDK documentation, their GitHub repository, or the general Matter (CHIP) SDK guides on "Manufacturer Extensions" or "Custom Data Models" for detailed steps.

0 项奖励
回复