Debugging and Operation Issues with Matter Thermostat Example in VS Code

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Debugging and Operation Issues with Matter Thermostat Example in VS Code

Jump to solution
1,274 Views
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.

Tags (1)
0 Kudos
Reply
1 Solution
1,205 Views
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.

View solution in original post

0 Kudos
Reply
3 Replies
1,221 Views
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 Kudos
Reply
1,214 Views
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 Kudos
Reply
1,206 Views
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 Kudos
Reply