<?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>Running NRF52 binary in Renode simulator</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/69019/running-nrf52-binary-in-renode-simulator</link><description>Renode ( https://renode.io/ and https://github.com/renode/renode ) is an open source simulator and used by Zephyr OS for example to validate binaries for different architectures. 
 I would like to use Renode as well, however I&amp;#39;m stuck as soon as the softdevice</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 09 Dec 2020 14:18:04 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/69019/running-nrf52-binary-in-renode-simulator" /><item><title>RE: Running NRF52 binary in Renode simulator</title><link>https://devzone.nordicsemi.com/thread/284106?ContentTypeID=1</link><pubDate>Wed, 09 Dec 2020 14:18:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7ccd087c-ea39-4167-b303-83394d0763f9</guid><dc:creator>Carl Richard</dc:creator><description>&lt;p&gt;Hi again, Michael!&lt;br /&gt;&lt;br /&gt;The SD will require a LF clock to be present and the error you are seeing seems similar to issues where the LF clock is missing. I&amp;#39;m not sure how that is handled in Renode. We do not have a mock Sofdevice implementation, but you can read about how someone has handled it in &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/26031/unit-testing-with-unity-and-softdevice"&gt;this thread&lt;/a&gt;&amp;nbsp;(from what I can see they have some handling for the clock aswell).&lt;br /&gt;&lt;br /&gt;On another note, from my understanding Renode is used for the Zephyr RTOS mainly. Have you considered trying this with the nRF Connect SDK, which runs with Zephyr? It&amp;#39;s the new generation of our SDK.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Carl Richard&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Running NRF52 binary in Renode simulator</title><link>https://devzone.nordicsemi.com/thread/283129?ContentTypeID=1</link><pubDate>Thu, 03 Dec 2020 14:18:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cbefbd7c-a2cb-48ee-b66c-8636c7d5b62f</guid><dc:creator>Michael031</dc:creator><description>&lt;p&gt;Thanks Carl. My plan is to boot my application - but currently Renode just freeze when softdevice is initialized:&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;15:06:58.8514 [INFO] cpu: Entering function nrf_sdh_enable_request at 0x534C0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;15:06:58.8515 [NOISY] cpu: Allocated 64B pointer at 0x140561595633392.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;15:06:58.8515 [NOISY] cpu: Allocated is now 98.62MiB.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;15:06:58.8515 [NOISY] cpu: Deallocated a 64B pointer at 0x140561595633392.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;15:06:58.8515 [INFO] cpu: Entering function sd_softdevice_enable (entry) at 0x531D8&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;15:06:58.8515 [NOISY] nvic: Internal IRQ 11.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;15:06:58.8515 [NOISY] cpu: IRQ 0, value True&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;15:06:58.8516 [NOISY] cpu: Setting CPU IRQ #0 to True&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;15:06:58.8516 [NOISY] nvic: Acknowledged IRQ 11.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;15:06:58.8516 [NOISY] cpu: IRQ 0, value False&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;15:06:58.8516 [NOISY] cpu: Setting CPU IRQ #0 to False&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;15:06:58.8516 [NOISY] cpu: Allocated 64B pointer at 0x140562385098992.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;15:06:58.8516 [NOISY] cpu: Allocated is now 98.62MiB.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;15:06:58.8517 [NOISY] cpu: Loop to itself detected&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;15:06:58.8517 [NOISY] cpu: Deallocated a 64B pointer at 0x140562385098992.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;15:06:58.8517 [INFO] cpu: Entering function SVC_Handler (entry) at 0x262E6&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:inherit;"&gt;So I don&amp;#39;t expect BT functionality yet. Do you have some clues what is essential when the softdevice is initialized, i.e. which peripherals are needed, what kind of while loop are in the init code?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:inherit;"&gt;another question - do you have some mock softdevice implementation?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Thanks again and have a nice day.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Running NRF52 binary in Renode simulator</title><link>https://devzone.nordicsemi.com/thread/283123?ContentTypeID=1</link><pubDate>Thu, 03 Dec 2020 14:13:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8abb8082-8605-40bd-b4c8-6f7bce3ae85a</guid><dc:creator>Carl Richard</dc:creator><description>&lt;p&gt;Hi!&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Are sure Renode is able to simulate the Softdevice behavior? From what I can see it is not, based on what I see in this &lt;a href="https://github.com/renode/renode/issues/5"&gt;GitHub issue&lt;/a&gt;. I suggest taking this to the appropriate Renode forum for support there.&lt;br /&gt;&lt;br /&gt;They did recently introduce support for the nRF52840 as indicated by the &lt;a href="https://renode.io/news/renode-1.10-release/"&gt;1.1.0 release notes&lt;/a&gt;, and they are planning to support more Nordic devices in the future. However, from what I can see they do not support any BLE functionality as of now, as stated in the issue I linked above.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Carl Richard&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>