<?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>Where is the nordic overriden implementation for void __weak sys_arch_reboot(int type)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/117626/where-is-the-nordic-overriden-implementation-for-void-__weak-sys_arch_reboot-int-type</link><description>Hi, 
 
 I am evaluating warm and cold reboots, I am seeing no difference between them. I tried tracing sys_reboot definition, ended up with 
 
 
 
 For arm core with no handling of type of reboot. Does nordic override this weak definition .? Where can</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 30 Dec 2024 11:49:34 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/117626/where-is-the-nordic-overriden-implementation-for-void-__weak-sys_arch_reboot-int-type" /><item><title>RE: Where is the nordic overriden implementation for void __weak sys_arch_reboot(int type)</title><link>https://devzone.nordicsemi.com/thread/516492?ContentTypeID=1</link><pubDate>Mon, 30 Dec 2024 11:49:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6633bdf5-ff4a-47fb-8de4-87529cf54e41</guid><dc:creator>Mohammed Ubaid</dc:creator><description>&lt;p&gt;Thanks &lt;a href="https://devzone.nordicsemi.com/members/sigurd-hellesvik"&gt;Sigurd Hellesvik&lt;/a&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Where is the nordic overriden implementation for void __weak sys_arch_reboot(int type)</title><link>https://devzone.nordicsemi.com/thread/516489?ContentTypeID=1</link><pubDate>Mon, 30 Dec 2024 11:30:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9130e812-1813-4fa9-ba46-33b16ab10759</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Our reset alternatives can be found at &lt;a href="https://docs.nordicsemi.com/bundle/ps_nrf5340/page/chapters/reset/doc/reset.html#ariaid-title10"&gt;Application core reset behavior&lt;/a&gt;.&lt;br /&gt;This is hardware reset behaviour.&lt;/p&gt;
&lt;p&gt;I guess the alternative would be to deinitialize everything in software, but I do not think we got any driver to do that for everything at once, so you would have to do it manually for the things that you use in your project.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Where is the nordic overriden implementation for void __weak sys_arch_reboot(int type)</title><link>https://devzone.nordicsemi.com/thread/516486?ContentTypeID=1</link><pubDate>Mon, 30 Dec 2024 11:20:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5de16e46-8916-4d96-b698-7bcf9deb2d92</guid><dc:creator>Mohammed Ubaid</dc:creator><description>[quote userid="106736" url="~/f/nordic-q-a/117626/where-is-the-nordic-overriden-implementation-for-void-__weak-sys_arch_reboot-int-type/516485"]In this case, it does not look like hot and cold reboot does anything as sys_arch_reboot does not check for &amp;quot;type&amp;quot;. Do you agree with this conclusion?[/quote]
&lt;p&gt;I am afraid I am, had hoped to have cold reboot to systematically uinit &amp;amp; reint everything,&amp;nbsp;&lt;br /&gt;That allows for a graceful reboot of the system.&lt;br /&gt;&lt;br /&gt;Any other alternatives for the same.?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Where is the nordic overriden implementation for void __weak sys_arch_reboot(int type)</title><link>https://devzone.nordicsemi.com/thread/516485?ContentTypeID=1</link><pubDate>Mon, 30 Dec 2024 11:16:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:35635aed-51bc-45e6-aa8c-8c9f13d56441</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;From what I can see we use NVIC_SystemReset to reset, so no need to override sys_arch_reboot().&lt;/p&gt;
&lt;p&gt;You can verify this by debugging and stepping through the sys_arch_reboot().&lt;/p&gt;
&lt;p&gt;In this case, it does not look like hot and cold reboot does anything as sys_arch_reboot does not check for &amp;quot;type&amp;quot;. Do you agree with this conclusion?&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Sigurd Hellesvik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>