<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Matter window covering example with factory data on nrf5340</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/97671/matter-window-covering-example-with-factory-data-on-nrf5340</link><description>Hi, 
 i&amp;#39;m trying to build the window covering example with factory data on nrf5340 with ncs 2.2.0 according to https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/matter/nrfconnect_factory_data_configuration.html 
 when running he example it stops</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 16 Mar 2023 09:05:21 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/97671/matter-window-covering-example-with-factory-data-on-nrf5340" /><item><title>RE: Matter window covering example with factory data on nrf5340</title><link>https://devzone.nordicsemi.com/thread/415631?ContentTypeID=1</link><pubDate>Thu, 16 Mar 2023 09:05:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ece384bf-d9e1-4419-a9e8-2c90dee48a0a</guid><dc:creator>Jannis Konrad</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;thanks. Protection (part of) the application sounds like a good solution, assuming mcuboot handles unlocking on OTA updates.&lt;/p&gt;
&lt;p&gt;The PR looks like it changes the size of the factory data partition to 16K. We can do the same and look into overlaping the protection with the app later, when we run out of flash.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Matter window covering example with factory data on nrf5340</title><link>https://devzone.nordicsemi.com/thread/415519?ContentTypeID=1</link><pubDate>Wed, 15 Mar 2023 14:49:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7771cc01-1a86-4ce2-b409-953791e9ed55</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I managed to get it working, and ran it by our Matter team. They confirmed that this is a bug in v2.2.0 and v2.3.0. This will be fixed in a future release, and it is found here, so you can use it now:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/nrfconnect/sdk-nrf/pull/10561"&gt;https://github.com/nrfconnect/sdk-nrf/pull/10561&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;They said:&lt;/p&gt;
&lt;p&gt;&lt;em&gt;So there are three options. Either increase the factory size, turn off FPROTECT or, as we did in the PR, keep the factory data on one flash page, but overlap the FPROTECT block with the application part. The last one is a bit tricky. It is fixed automatically on the pull request, but the client needs to ensure that the settings partition is not under FPRTOECT.&amp;nbsp;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Matter window covering example with factory data on nrf5340</title><link>https://devzone.nordicsemi.com/thread/415436?ContentTypeID=1</link><pubDate>Wed, 15 Mar 2023 12:09:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4fb42e23-a734-4da4-a323-b255d098bb53</guid><dc:creator>Jannis Konrad</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;i can reproduce the behavior with just the changes to the prj.conf, i&amp;#39;ll attach a zip.&lt;/p&gt;
&lt;p&gt;just run:&lt;br /&gt;west build -b nrf5340dk_nrf5340_cpuapp&lt;br /&gt;west flash&lt;br /&gt;west attach&lt;/p&gt;
&lt;p&gt;and observe output an /dev/ttyACM1&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/window_5F00_covering.zip"&gt;devzone.nordicsemi.com/.../window_5F00_covering.zip&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Matter window covering example with factory data on nrf5340</title><link>https://devzone.nordicsemi.com/thread/415430?ContentTypeID=1</link><pubDate>Wed, 15 Mar 2023 11:52:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3ccc73f3-d625-4cf0-8a87-b3c7c2a679c3</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;I am still struggling with building a sample that can reproduce this. Can you please zip and upload a sample that I can build?&lt;/p&gt;
&lt;p&gt;Did you manage to get jsonscheme into your toolchain? I am struggling with this part, and it will not build without.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Matter window covering example with factory data on nrf5340</title><link>https://devzone.nordicsemi.com/thread/415381?ContentTypeID=1</link><pubDate>Wed, 15 Mar 2023 08:37:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5c07af4c-3dd5-41b0-b308-c71a1e15bc81</guid><dc:creator>Jannis Konrad</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;i haven&amp;#39;t tried 2.3.0. The quickest way to reproduce is to start a new window covering example and append these options to prj.conf:&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;# Use Factory Data&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_CHIP_FACTORY_DATA&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;# Generate Factory Data from KConifg&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_CHIP_FACTORY_DATA_BUILD&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_CHIP_DEVICE_DISCRIMINATOR&lt;/span&gt;&lt;span&gt;=0xF01&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;i get:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;uart:~$ I: nRF5 802154 radio initialized &lt;br /&gt;I: 4 Sectors of 4096 bytes &lt;br /&gt;I: alloc wra: 3, ab8 &lt;br /&gt;I: data wra: 3, 6fc &lt;br /&gt;*** Booting Zephyr OS build v3.2.99-ncs1 *** &lt;br /&gt;I: Init CHIP stack &lt;br /&gt;I: 181 [DL]BLE address: C4:37:98:94:20:A9 &lt;br /&gt;I: 204 [DL]OpenThread SED interval set to 500ms &lt;br /&gt;I: 219 [DL]OpenThread ifconfig up and thread start &lt;br /&gt;I: 227 [DL]OpenThread started: OK &lt;br /&gt;I: 230 [DL]Setting OpenThread device type to SYNCHRONIZED SLEEPY END DEVICE &lt;br /&gt;E: 238 [DL]Failed to protect the factory data partition. &lt;br /&gt;E: Exited with code 2000016&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Matter window covering example with factory data on nrf5340</title><link>https://devzone.nordicsemi.com/thread/415254?ContentTypeID=1</link><pubDate>Tue, 14 Mar 2023 14:29:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:54f265ef-7ab9-4984-a556-85e7d35c660f</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Can I please ask how you generated your factory data? What command did you use? (mostly so that I can quickly reproduce the issue that you are seeing). Did you test this to see if it behaves the same in v2.3.0 as it does in v2.2.0?&lt;/p&gt;
[quote user="Jannis Konrad"]but i would prefer to not waste 12K flash[/quote]
&lt;p&gt;I can understand that.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Matter window covering example with factory data on nrf5340</title><link>https://devzone.nordicsemi.com/thread/415156?ContentTypeID=1</link><pubDate>Tue, 14 Mar 2023 11:50:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6f4a1a81-ccb0-469f-9a8d-3d747a63729a</guid><dc:creator>Jannis Konrad</dc:creator><description>&lt;p&gt;increasing the size of the factory data partition to 16K works, but i would prefer to not waste 12K flash&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>