<?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>ACL peripheral cannot be used in main processing</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/112776/acl-peripheral-cannot-be-used-in-main-processing</link><description>Hello. 
 I am trying to write protect the Flash area using nrf52840&amp;#39;s ACL peripheral. I tried to perform the same process on the main processing side by referring to nrf_bootloader_flash_protect() in nrf_bootloader_app_start_final.c, but an exception</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 08 Jul 2024 04:09:00 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/112776/acl-peripheral-cannot-be-used-in-main-processing" /><item><title>RE: ACL peripheral cannot be used in main processing</title><link>https://devzone.nordicsemi.com/thread/492590?ContentTypeID=1</link><pubDate>Mon, 08 Jul 2024 04:09:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fa1f24aa-baf4-44f1-959d-07727a9f2857</guid><dc:creator>Rockedge</dc:creator><description>&lt;pre id="tw-target-text" class="tw-data-text tw-text-large tw-ta" dir="ltr" data-ved="2ahUKEwiIkPDayJaHAxVVh68BHWFIBN4Q3ewLegQIBRAU"&gt;&lt;span class="Y2IQFc" lang="en"&gt;Hello Vidar Berg.
Thank you for your reply.

I understand that access to the ACL register is restricted while SoftDevice is running.
That&amp;#39;s right, SoftDevice was working.

Also, after checking the SoftDevice manual, I found that it is possible to write to the ACL register using sd_protected_register_write().

Thank you very much.&lt;/span&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ACL peripheral cannot be used in main processing</title><link>https://devzone.nordicsemi.com/thread/492422?ContentTypeID=1</link><pubDate>Fri, 05 Jul 2024 10:49:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dc24f7f4-6cfd-4445-80b5-4cd874ca377b</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It should not be a problem to use the ACL while running the main app, but it is important to note that you can&amp;#39;t access this peripheral directly while the Softdevice is enabled .&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1720176510293v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Ref.&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/sds_s140/page/SDS/s1xx/sd_resource_reqs/hw_block_interrupt_vector.html"&gt;Softdevice reserved peripherals&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;What kind of exception did you get when you tried to configured the ACL in your app?&lt;/p&gt;
&lt;p&gt;Best regards.&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>