<?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>TFM-ITS out of space</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/96099/tfm-its-out-of-space</link><description>When using the `tfm` `its` service we run into a PSA_ERROR_INSUFFICIENT_STORAGE error. We only use ~12 assets of maximum ~300 bytes of size (most are smaller and the one running into the error is only a few bytes). We write to it using `psa_its_set` and</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 07 Feb 2023 11:18:57 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/96099/tfm-its-out-of-space" /><item><title>RE: TFM-ITS out of space</title><link>https://devzone.nordicsemi.com/thread/408512?ContentTypeID=1</link><pubDate>Tue, 07 Feb 2023 11:18:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0c982154-c6c2-4b07-92b7-3eb9695239e1</guid><dc:creator>Cla</dc:creator><description>&lt;p&gt;Thank you&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: TFM-ITS out of space</title><link>https://devzone.nordicsemi.com/thread/408510?ContentTypeID=1</link><pubDate>Tue, 07 Feb 2023 11:18:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:91974fe9-9aa5-417d-aac4-23b09e04a2a5</guid><dc:creator>Hakon</dc:creator><description>&lt;p&gt;Apparently all calls to TF-M goes through a single mutex. Unfortunately this is not well documented, so it&amp;#39;s hard to find information about this at the moment.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: TFM-ITS out of space</title><link>https://devzone.nordicsemi.com/thread/408337?ContentTypeID=1</link><pubDate>Mon, 06 Feb 2023 15:08:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e5340052-9882-48cd-88a9-f96f888314b4</guid><dc:creator>Cla</dc:creator><description>&lt;p&gt;Thank you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: TFM-ITS out of space</title><link>https://devzone.nordicsemi.com/thread/408317?ContentTypeID=1</link><pubDate>Mon, 06 Feb 2023 14:30:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0e2a586b-ca5c-44b0-8e1f-c6996cabc0da</guid><dc:creator>Hakon</dc:creator><description>&lt;p&gt;I believe it should be thread safe, but I&amp;#39;m not sure. I have asked this question internally.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: TFM-ITS out of space</title><link>https://devzone.nordicsemi.com/thread/407212?ContentTypeID=1</link><pubDate>Tue, 31 Jan 2023 07:14:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fd4e7fec-99ef-4d68-98a2-a83bdb12eb77</guid><dc:creator>Cla</dc:creator><description>&lt;p&gt;Or maybe to rephrase:&lt;br /&gt;In a multithreaded environment different threads execute `psa_its_get` and `psa_its_set` on the same ids. Is it guaranteed, that they all will have a consistent view of the data? Or should access to it be synchronized by the user for example with mutexes to avoid data races?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: TFM-ITS out of space</title><link>https://devzone.nordicsemi.com/thread/407167?ContentTypeID=1</link><pubDate>Mon, 30 Jan 2023 16:23:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4f897893-c4ca-4074-963e-4c6f534324d5</guid><dc:creator>Cla</dc:creator><description>&lt;p&gt;I tested and the answer seems to be no, &amp;quot;remove&amp;quot; is not needed before the next &amp;quot;set&amp;quot;.&lt;br /&gt;&lt;br /&gt;But is `psa_its` thread safe?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>