<?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>nrf52840 going into fault continously</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/114660/nrf52840-going-into-fault-continously</link><description>Hi, I am trying to run DHCP Client example using ethernet w5500 and my nrf is continously going into fault. sometimes it gets the ip correctly and goes into fault and other times when it starts immediately goes into fault. 
 
 I have ran same code on</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 30 Sep 2024 12:55:33 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/114660/nrf52840-going-into-fault-continously" /><item><title>RE: nrf52840 going into fault continously</title><link>https://devzone.nordicsemi.com/thread/504367?ContentTypeID=1</link><pubDate>Mon, 30 Sep 2024 12:55:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eb4996aa-824d-4da9-98a3-25b3658c3e9d</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;No worries, Always happy to help out. I am glad to hear that you found a solution to the initial problem!&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52840 going into fault continously</title><link>https://devzone.nordicsemi.com/thread/504352?ContentTypeID=1</link><pubDate>Mon, 30 Sep 2024 12:16:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cdac6b60-fc48-47d9-9b9c-fa54a8617483</guid><dc:creator>Haseeb Zaib</dc:creator><description>&lt;p&gt;I am also able to connect to AWS now. Thanks for you time and assistance.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I should get my eyes checked XD&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52840 going into fault continously</title><link>https://devzone.nordicsemi.com/thread/504327?ContentTypeID=1</link><pubDate>Mon, 30 Sep 2024 10:46:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2d5472e5-7adb-4c93-9c19-c9562f9a08e1</guid><dc:creator>Haseeb Zaib</dc:creator><description>&lt;p&gt;ok I am such a dumbass, I was running spi on 40mHz IDK why, I just noticed it while connecting logic analyzer to spi and luckily my eyes went on spi frequency and I saw that it was set on 40MHZ, after lowering it down to 4MHZ the fault is gone XD, Sorry for wasting you time. Although now I am getting tls handshake error for connecting to aws mqtt&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52840 going into fault continously</title><link>https://devzone.nordicsemi.com/thread/504285?ContentTypeID=1</link><pubDate>Mon, 30 Sep 2024 07:25:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aacf065c-4ccc-4809-947a-e1d330c800af</guid><dc:creator>Haseeb Zaib</dc:creator><description>&lt;p&gt;I have also noticed that when w5500 driver stopped working the nrf52840 also stopped going into fault, so it is definitely the w5500 driver that is causing fault by maybe accessing out of bound memory address,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;but I am still confused why this issue does not occur on nrf9160 and nrf52832.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52840 going into fault continously</title><link>https://devzone.nordicsemi.com/thread/504283?ContentTypeID=1</link><pubDate>Mon, 30 Sep 2024 07:17:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4daa78a8-4da2-4e8a-9ae3-56c22c8845b6</guid><dc:creator>Haseeb Zaib</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Yes I have logic analyzer,&lt;/p&gt;
&lt;p&gt;I tried checking signals using logic analyzer but when I connect my logic analyzer parallel to spi the spi starts to have issue and w5500 does not analyzer. and when I remove the logic analyzer the w5500 initialzes fine.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52840 going into fault continously</title><link>https://devzone.nordicsemi.com/thread/504276?ContentTypeID=1</link><pubDate>Mon, 30 Sep 2024 06:37:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7ba76082-40f8-40e4-b1a6-304504265175</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Do you have a logic analyser available?&lt;/p&gt;
&lt;p&gt;I would recommend that you scope your SPI pins, including cs-gpios/int-gpios/reset-gpios, to see if there is something out of the ordinary on the bus there. If you are not that experienced with SPI, feel free to share the trace here.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user="Haseeb Zaib"]Hi can you explain a little bit how do you find addresses in .map file ?[/quote]
&lt;p&gt;RAM is mapped from address 0x2000_0000 and upwards.&amp;nbsp;Each RAM location is tagged with a starting address and a size. Since the&amp;nbsp;thread that the fault is pointing to is a part of the w5500 structure, it will not find it directly, so we have to find the nearest RAM address location to see what object is using that area.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52840 going into fault continously</title><link>https://devzone.nordicsemi.com/thread/504148?ContentTypeID=1</link><pubDate>Fri, 27 Sep 2024 10:32:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cd7ab2d6-b4e0-4eb1-95b3-c791c08f6e24</guid><dc:creator>Haseeb Zaib</dc:creator><description>&lt;p&gt;Hi can you explain a little bit how do you find addresses in .map file ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52840 going into fault continously</title><link>https://devzone.nordicsemi.com/thread/503547?ContentTypeID=1</link><pubDate>Tue, 24 Sep 2024 10:32:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a46dbe53-7793-4d4f-a252-319004a9f922</guid><dc:creator>Haseeb Zaib</dc:creator><description>&lt;p&gt;same :&amp;#39;(&lt;/p&gt;
&lt;p&gt;&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/pastedimage1727173940790v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52840 going into fault continously</title><link>https://devzone.nordicsemi.com/thread/503528?ContentTypeID=1</link><pubDate>Tue, 24 Sep 2024 09:25:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6ba78930-0792-41f6-a5f3-80b61c1d712c</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thank you for sharing this.&lt;/p&gt;
&lt;p&gt;Can you try to lower the SPI frequency to 4 MHz, for testing purposes? That is the line: &amp;quot;spi-max-frequency = &amp;lt;4000000&amp;gt;;&amp;quot;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52840 going into fault continously</title><link>https://devzone.nordicsemi.com/thread/503523?ContentTypeID=1</link><pubDate>Tue, 24 Sep 2024 08:57:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4e25c41b-ca3c-4be9-bec2-7902f8aa4f22</guid><dc:creator>Haseeb Zaib</dc:creator><description>&lt;p&gt;nrf52840 dts&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;/*
 * Copyright (c) 2017 Linaro Limited
 *
 * SPDX-License-Identifier: Apache-2.0
 */

/dts-v1/;
#include &amp;lt;nordic/nrf52840_qiaa.dtsi&amp;gt;
#include &amp;quot;nrf52840dk_nrf52840-pinctrl.dtsi&amp;quot;
#include &amp;lt;zephyr/dt-bindings/input/input-event-codes.h&amp;gt;

/ {
	model = &amp;quot;Nordic nRF52840 DK NRF52840&amp;quot;;
	compatible = &amp;quot;nordic,nrf52840-dk-nrf52840&amp;quot;;

	chosen {
		zephyr,console = &amp;amp;uart0;
		zephyr,shell-uart = &amp;amp;uart0;
		zephyr,uart-mcumgr = &amp;amp;uart0;
		zephyr,bt-mon-uart = &amp;amp;uart0;
		zephyr,bt-c2h-uart = &amp;amp;uart0;
		zephyr,sram = &amp;amp;sram0;
		zephyr,flash = &amp;amp;flash0;
		zephyr,code-partition = &amp;amp;slot0_partition;
		zephyr,ieee802154 = &amp;amp;ieee802154;
	};

	leds {
		compatible = &amp;quot;gpio-leds&amp;quot;;
		led0: led_0 {
			gpios = &amp;lt;&amp;amp;gpio0 13 GPIO_ACTIVE_LOW&amp;gt;;
			label = &amp;quot;Green LED 0&amp;quot;;
		};
		led1: led_1 {
			gpios = &amp;lt;&amp;amp;gpio0 14 GPIO_ACTIVE_LOW&amp;gt;;
			label = &amp;quot;Green LED 1&amp;quot;;
		};
		led2: led_2 {
			gpios = &amp;lt;&amp;amp;gpio0 15 GPIO_ACTIVE_LOW&amp;gt;;
			label = &amp;quot;Green LED 2&amp;quot;;
		};
		led3: led_3 {
			gpios = &amp;lt;&amp;amp;gpio0 16 GPIO_ACTIVE_LOW&amp;gt;;
			label = &amp;quot;Green LED 3&amp;quot;;
		};
	};

	pwmleds {
		compatible = &amp;quot;pwm-leds&amp;quot;;
		pwm_led0: pwm_led_0 {
			pwms = &amp;lt;&amp;amp;pwm0 0 PWM_MSEC(20) PWM_POLARITY_INVERTED&amp;gt;;
		};
	};

	buttons {
		compatible = &amp;quot;gpio-keys&amp;quot;;
		button0: button_0 {
			gpios = &amp;lt;&amp;amp;gpio0 11 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)&amp;gt;;
			label = &amp;quot;Push button switch 0&amp;quot;;
			zephyr,code = &amp;lt;INPUT_KEY_0&amp;gt;;
		};
		button1: button_1 {
			gpios = &amp;lt;&amp;amp;gpio0 12 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)&amp;gt;;
			label = &amp;quot;Push button switch 1&amp;quot;;
			zephyr,code = &amp;lt;INPUT_KEY_1&amp;gt;;
		};
		button2: button_2 {
			gpios = &amp;lt;&amp;amp;gpio0 24 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)&amp;gt;;
			label = &amp;quot;Push button switch 2&amp;quot;;
			zephyr,code = &amp;lt;INPUT_KEY_2&amp;gt;;
		};
		button3: button_3 {
			gpios = &amp;lt;&amp;amp;gpio0 25 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)&amp;gt;;
			label = &amp;quot;Push button switch 3&amp;quot;;
			zephyr,code = &amp;lt;INPUT_KEY_3&amp;gt;;
		};
	};

	arduino_header: connector {
		compatible = &amp;quot;arduino-header-r3&amp;quot;;
		#gpio-cells = &amp;lt;2&amp;gt;;
		gpio-map-mask = &amp;lt;0xffffffff 0xffffffc0&amp;gt;;
		gpio-map-pass-thru = &amp;lt;0 0x3f&amp;gt;;
		gpio-map = &amp;lt;0 0 &amp;amp;gpio0 3 0&amp;gt;,	/* A0 */
			   &amp;lt;1 0 &amp;amp;gpio0 4 0&amp;gt;,	/* A1 */
			   &amp;lt;2 0 &amp;amp;gpio0 28 0&amp;gt;,	/* A2 */
			   &amp;lt;3 0 &amp;amp;gpio0 29 0&amp;gt;,	/* A3 */
			   &amp;lt;4 0 &amp;amp;gpio0 30 0&amp;gt;,	/* A4 */
			   &amp;lt;5 0 &amp;amp;gpio0 31 0&amp;gt;,	/* A5 */
			   &amp;lt;6 0 &amp;amp;gpio1 1 0&amp;gt;,	/* D0 */
			   &amp;lt;7 0 &amp;amp;gpio1 2 0&amp;gt;,	/* D1 */
			   &amp;lt;8 0 &amp;amp;gpio1 3 0&amp;gt;,	/* D2 */
			   &amp;lt;9 0 &amp;amp;gpio1 4 0&amp;gt;,	/* D3 */
			   &amp;lt;10 0 &amp;amp;gpio1 5 0&amp;gt;,	/* D4 */
			   &amp;lt;11 0 &amp;amp;gpio1 6 0&amp;gt;,	/* D5 */
			   &amp;lt;12 0 &amp;amp;gpio1 7 0&amp;gt;,	/* D6 */
			   &amp;lt;13 0 &amp;amp;gpio1 8 0&amp;gt;,	/* D7 */
			   &amp;lt;14 0 &amp;amp;gpio1 10 0&amp;gt;,	/* D8 */
			   &amp;lt;15 0 &amp;amp;gpio1 11 0&amp;gt;,	/* D9 */
			   &amp;lt;16 0 &amp;amp;gpio1 12 0&amp;gt;,	/* D10 */
			   &amp;lt;17 0 &amp;amp;gpio1 13 0&amp;gt;,	/* D11 */
			   &amp;lt;18 0 &amp;amp;gpio1 14 0&amp;gt;,	/* D12 */
			   &amp;lt;19 0 &amp;amp;gpio1 15 0&amp;gt;,	/* D13 */
			   &amp;lt;20 0 &amp;amp;gpio0 26 0&amp;gt;,	/* D14 */
			   &amp;lt;21 0 &amp;amp;gpio0 27 0&amp;gt;;	/* D15 */
	};

	arduino_adc: analog-connector {
		compatible = &amp;quot;arduino,uno-adc&amp;quot;;
		#io-channel-cells = &amp;lt;1&amp;gt;;
		io-channel-map = &amp;lt;0 &amp;amp;adc 1&amp;gt;,	/* A0 = P0.3 = AIN1 */
				 &amp;lt;1 &amp;amp;adc 2&amp;gt;,	/* A1 = P0.4 = AIN2 */
				 &amp;lt;2 &amp;amp;adc 4&amp;gt;,	/* A2 = P0.28 = AIN4 */
				 &amp;lt;3 &amp;amp;adc 5&amp;gt;,	/* A3 = P0.29 = AIN5 */
				 &amp;lt;4 &amp;amp;adc 6&amp;gt;,	/* A4 = P0.30 = AIN6 */
				 &amp;lt;5 &amp;amp;adc 7&amp;gt;;	/* A5 = P0.31 = AIN7 */
	};

	/* These aliases are provided for compatibility with samples */
	aliases {
		led0 = &amp;amp;led0;
		led1 = &amp;amp;led1;
		led2 = &amp;amp;led2;
		led3 = &amp;amp;led3;
		pwm-led0 = &amp;amp;pwm_led0;
		sw0 = &amp;amp;button0;
		sw1 = &amp;amp;button1;
		sw2 = &amp;amp;button2;
		sw3 = &amp;amp;button3;
		bootloader-led0 = &amp;amp;led0;
		mcuboot-button0 = &amp;amp;button0;
		mcuboot-led0 = &amp;amp;led0;
		watchdog0 = &amp;amp;wdt0;
		spi-flash0 = &amp;amp;mx25r64;
	};
};

&amp;amp;adc {
	status = &amp;quot;okay&amp;quot;;
};

&amp;amp;uicr {
	gpio-as-nreset;
};

&amp;amp;gpiote {
	status = &amp;quot;okay&amp;quot;;
};

&amp;amp;gpio0 {
	status = &amp;quot;okay&amp;quot;;
	gpio-reserved-ranges = &amp;lt;0 2&amp;gt;, &amp;lt;6 1&amp;gt;, &amp;lt;8 3&amp;gt;, &amp;lt;17 7&amp;gt;;
	gpio-line-names = &amp;quot;XL1&amp;quot;, &amp;quot;XL2&amp;quot;, &amp;quot;AREF&amp;quot;, &amp;quot;A0&amp;quot;, &amp;quot;A1&amp;quot;, &amp;quot;RTS&amp;quot;, &amp;quot;TXD&amp;quot;,
		&amp;quot;CTS&amp;quot;, &amp;quot;RXD&amp;quot;, &amp;quot;NFC1&amp;quot;, &amp;quot;NFC2&amp;quot;, &amp;quot;BUTTON1&amp;quot;, &amp;quot;BUTTON2&amp;quot;, &amp;quot;LED1&amp;quot;,
		&amp;quot;LED2&amp;quot;, &amp;quot;LED3&amp;quot;, &amp;quot;LED4&amp;quot;, &amp;quot;QSPI CS&amp;quot;, &amp;quot;RESET&amp;quot;, &amp;quot;QSPI CLK&amp;quot;,
		&amp;quot;QSPI DIO0&amp;quot;, &amp;quot;QSPI DIO1&amp;quot;, &amp;quot;QSPI DIO2&amp;quot;, &amp;quot;QSPI DIO3&amp;quot;,&amp;quot;BUTTON3&amp;quot;,
		&amp;quot;BUTTON4&amp;quot;, &amp;quot;SDA&amp;quot;, &amp;quot;SCL&amp;quot;, &amp;quot;A2&amp;quot;, &amp;quot;A3&amp;quot;, &amp;quot;A4&amp;quot;, &amp;quot;A5&amp;quot;;
};

&amp;amp;gpio1 {
	status = &amp;quot;okay&amp;quot;;
	gpio-line-names = &amp;quot;&amp;quot;, &amp;quot;D0&amp;quot;, &amp;quot;D1&amp;quot;, &amp;quot;D2&amp;quot;, &amp;quot;D3&amp;quot;, &amp;quot;D4&amp;quot;, &amp;quot;D5&amp;quot;, &amp;quot;D6&amp;quot;,
		&amp;quot;D7&amp;quot;, &amp;quot;&amp;quot;, &amp;quot;D8&amp;quot;, &amp;quot;D9&amp;quot;, &amp;quot;D10&amp;quot;, &amp;quot;D11&amp;quot;, &amp;quot;D12&amp;quot;, &amp;quot;D13&amp;quot;;
};

&amp;amp;uart0 {
	compatible = &amp;quot;nordic,nrf-uarte&amp;quot;;
	status = &amp;quot;okay&amp;quot;;
	current-speed = &amp;lt;115200&amp;gt;;
	pinctrl-0 = &amp;lt;&amp;amp;uart0_default&amp;gt;;
	pinctrl-1 = &amp;lt;&amp;amp;uart0_sleep&amp;gt;;
	pinctrl-names = &amp;quot;default&amp;quot;, &amp;quot;sleep&amp;quot;;
};

arduino_serial: &amp;amp;uart1 {
	current-speed = &amp;lt;115200&amp;gt;;
	pinctrl-0 = &amp;lt;&amp;amp;uart1_default&amp;gt;;
	pinctrl-1 = &amp;lt;&amp;amp;uart1_sleep&amp;gt;;
	pinctrl-names = &amp;quot;default&amp;quot;, &amp;quot;sleep&amp;quot;;
};

arduino_i2c: &amp;amp;i2c0 {
	compatible = &amp;quot;nordic,nrf-twi&amp;quot;;
	status = &amp;quot;okay&amp;quot;;
	pinctrl-0 = &amp;lt;&amp;amp;i2c0_default&amp;gt;;
	pinctrl-1 = &amp;lt;&amp;amp;i2c0_sleep&amp;gt;;
	pinctrl-names = &amp;quot;default&amp;quot;, &amp;quot;sleep&amp;quot;;
};

&amp;amp;i2c1 {
	compatible = &amp;quot;nordic,nrf-twi&amp;quot;;
	/* Cannot be used together with spi1. */
	/* status = &amp;quot;okay&amp;quot;; */
	pinctrl-0 = &amp;lt;&amp;amp;i2c1_default&amp;gt;;
	pinctrl-1 = &amp;lt;&amp;amp;i2c1_sleep&amp;gt;;
	pinctrl-names = &amp;quot;default&amp;quot;, &amp;quot;sleep&amp;quot;;
};

&amp;amp;pwm0 {
	status = &amp;quot;okay&amp;quot;;
	pinctrl-0 = &amp;lt;&amp;amp;pwm0_default&amp;gt;;
	pinctrl-1 = &amp;lt;&amp;amp;pwm0_sleep&amp;gt;;
	pinctrl-names = &amp;quot;default&amp;quot;, &amp;quot;sleep&amp;quot;;
};

&amp;amp;spi0 {
	compatible = &amp;quot;nordic,nrf-spi&amp;quot;;
	/* Cannot be used together with i2c0. */
	/* status = &amp;quot;okay&amp;quot;; */
	pinctrl-0 = &amp;lt;&amp;amp;spi0_default&amp;gt;;
	pinctrl-1 = &amp;lt;&amp;amp;spi0_sleep&amp;gt;;
	pinctrl-names = &amp;quot;default&amp;quot;, &amp;quot;sleep&amp;quot;;
};

&amp;amp;spi1 {
	compatible = &amp;quot;nordic,nrf-spi&amp;quot;;
	status = &amp;quot;okay&amp;quot;;
	pinctrl-0 = &amp;lt;&amp;amp;spi1_default&amp;gt;;
	pinctrl-1 = &amp;lt;&amp;amp;spi1_sleep&amp;gt;;
	pinctrl-names = &amp;quot;default&amp;quot;, &amp;quot;sleep&amp;quot;;
};

&amp;amp;spi2 {
	compatible = &amp;quot;nordic,nrf-spi&amp;quot;;
	status = &amp;quot;disabled&amp;quot;;
	pinctrl-0 = &amp;lt;&amp;amp;spi2_default&amp;gt;;
	pinctrl-1 = &amp;lt;&amp;amp;spi2_sleep&amp;gt;;
	pinctrl-names = &amp;quot;default&amp;quot;, &amp;quot;sleep&amp;quot;;
};

&amp;amp;qspi {
	status = &amp;quot;okay&amp;quot;;
	pinctrl-0 = &amp;lt;&amp;amp;qspi_default&amp;gt;;
	pinctrl-1 = &amp;lt;&amp;amp;qspi_sleep&amp;gt;;
	pinctrl-names = &amp;quot;default&amp;quot;, &amp;quot;sleep&amp;quot;;
	mx25r64: mx25r6435f@0 {
		compatible = &amp;quot;nordic,qspi-nor&amp;quot;;
		reg = &amp;lt;0&amp;gt;;
		/* MX25R64 supports only pp and pp4io */
		writeoc = &amp;quot;pp4io&amp;quot;;
		/* MX25R64 supports all readoc options */
		readoc = &amp;quot;read4io&amp;quot;;
		sck-frequency = &amp;lt;8000000&amp;gt;;
		jedec-id = [c2 28 17];
		sfdp-bfp = [
			e5 20 f1 ff  ff ff ff 03  44 eb 08 6b  08 3b 04 bb
			ee ff ff ff  ff ff 00 ff  ff ff 00 ff  0c 20 0f 52
			10 d8 00 ff  23 72 f5 00  82 ed 04 cc  44 83 68 44
			30 b0 30 b0  f7 c4 d5 5c  00 be 29 ff  f0 d0 ff ff
		];
		size = &amp;lt;67108864&amp;gt;;
		has-dpd;
		t-enter-dpd = &amp;lt;10000&amp;gt;;
		t-exit-dpd = &amp;lt;35000&amp;gt;;
	};
};

arduino_spi: &amp;amp;spi3 {
	status = &amp;quot;okay&amp;quot;;
	cs-gpios = &amp;lt;&amp;amp;arduino_header 16 GPIO_ACTIVE_LOW&amp;gt;; /* D10 */
	pinctrl-0 = &amp;lt;&amp;amp;spi3_default&amp;gt;;
	pinctrl-1 = &amp;lt;&amp;amp;spi3_sleep&amp;gt;;
	pinctrl-names = &amp;quot;default&amp;quot;, &amp;quot;sleep&amp;quot;;
};

&amp;amp;ieee802154 {
	status = &amp;quot;okay&amp;quot;;
};

&amp;amp;flash0 {

	partitions {
		compatible = &amp;quot;fixed-partitions&amp;quot;;
		#address-cells = &amp;lt;1&amp;gt;;
		#size-cells = &amp;lt;1&amp;gt;;

		boot_partition: partition@0 {
			label = &amp;quot;mcuboot&amp;quot;;
			reg = &amp;lt;0x00000000 0x0000C000&amp;gt;;
		};
		slot0_partition: partition@c000 {
			label = &amp;quot;image-0&amp;quot;;
			reg = &amp;lt;0x0000C000 0x00076000&amp;gt;;
		};
		slot1_partition: partition@82000 {
			label = &amp;quot;image-1&amp;quot;;
			reg = &amp;lt;0x00082000 0x00076000&amp;gt;;
		};

		/*
		 * The flash starting at 0x000f8000 and ending at
		 * 0x000fffff is reserved for use by the application.
		 */

		/*
		 * Storage partition will be used by FCB/LittleFS/NVS
		 * if enabled.
		 */
		storage_partition: partition@f8000 {
			label = &amp;quot;storage&amp;quot;;
			reg = &amp;lt;0x000f8000 0x00008000&amp;gt;;
		};
	};
};

zephyr_udc0: &amp;amp;usbd {
	compatible = &amp;quot;nordic,nrf-usbd&amp;quot;;
	status = &amp;quot;okay&amp;quot;;
};
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;And here is my overlay for W5500&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;/* Copyright (c) 2022 Linumiz
 * SPDX-License-Identifier: Apache-2.0
 */

&amp;amp;arduino_spi {
	status = &amp;quot;okay&amp;quot;;
	/*Custom added by me */
	cs-gpios = &amp;lt;&amp;amp;arduino_header 16 GPIO_ACTIVE_LOW&amp;gt;; /* D10 */
	eth_w5500_arceli_eth_w5500: eth_w5500@0 {
		compatible = &amp;quot;wiznet,w5500&amp;quot;;
		reg = &amp;lt;0x0&amp;gt;;
		spi-max-frequency = &amp;lt;80000000&amp;gt;;
		int-gpios = &amp;lt;&amp;amp;arduino_header 15 GPIO_ACTIVE_LOW&amp;gt;;	/* D9 */
		reset-gpios = &amp;lt;&amp;amp;arduino_header 14 GPIO_ACTIVE_LOW&amp;gt;;	/* D8 */
		/*Custom added by me */
		local-mac-address = [ 02 08 dc 86 07 e2 ];
	};
};
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I know you can get all the info from .dts file but incase I am attaching this as well.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52840 going into fault continously</title><link>https://devzone.nordicsemi.com/thread/503520?ContentTypeID=1</link><pubDate>Tue, 24 Sep 2024 08:49:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:573cef79-6c41-42d8-8c07-1970be897497</guid><dc:creator>Haseeb Zaib</dc:creator><description>&lt;p&gt;Here is .config file and .config.old file as well and .dts file. It was not allowing me to upload the file so I made zip and all the files are inside it&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/.config-and-dts-file.rar"&gt;devzone.nordicsemi.com/.../.config-and-dts-file.rar&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;And ethernet is connected to spi3(arduino spi)&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52840 going into fault continously</title><link>https://devzone.nordicsemi.com/thread/503517?ContentTypeID=1</link><pubDate>Tue, 24 Sep 2024 08:44:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0584c3fd-b493-4450-9db4-063ba5dd4f64</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The content of LR is inside w5500_spi_read:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;pre class="ui-code" data-mode="text"&gt; .text.w5500_spi_read
                0x000000000003593a       0x72 zephyr/drivers/ethernet/libdrivers__ethernet.a(eth_w5500.c.obj)&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;And the content of PC is inside memcpy:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt; .text.memcpy   0x000000000003d14c       0x1c F:/ncs/toolchains/cf2149caf2/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi/lib/thumb/v7e-m/nofp\libc_nano.a(lib_a-memcpy-stub.o)
                0x000000000003d14c                memcpy&lt;/pre&gt;And your faulting thread is the internal thread of the w5500 runtime structure.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you share your build/zephyr/.config file and build/zephyr/zephyr.dts file?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52840 going into fault continously</title><link>https://devzone.nordicsemi.com/thread/503488?ContentTypeID=1</link><pubDate>Tue, 24 Sep 2024 04:09:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9fc67ec7-253c-4544-858b-d2d4c160fdfd</guid><dc:creator>Haseeb Zaib</dc:creator><description>&lt;p&gt;This time it failed now before getting address from DNS, but as you can see faulting instruction address is same&amp;nbsp;&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/pastedimage1727150739119v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/7418.zephyr.map"&gt;devzone.nordicsemi.com/.../7418.zephyr.map&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/5543.zephyr_5F00_final.map"&gt;devzone.nordicsemi.com/.../5543.zephyr_5F00_final.map&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;this is outside for addr2line&amp;nbsp;&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/pastedimage1727150954298v2.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52840 going into fault continously</title><link>https://devzone.nordicsemi.com/thread/503414?ContentTypeID=1</link><pubDate>Mon, 23 Sep 2024 13:30:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:da310bec-70a4-442e-892c-872c681a470d</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;But, is it still failing in the same place? I cannot tell without having the rest of the details around your current build.&lt;/p&gt;
&lt;p&gt;Can you please share the latest fault output + .map file?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52840 going into fault continously</title><link>https://devzone.nordicsemi.com/thread/503365?ContentTypeID=1</link><pubDate>Mon, 23 Sep 2024 07:55:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bd21ab1c-3372-493f-9a33-f0def5d81e93</guid><dc:creator>Haseeb Zaib</dc:creator><description>&lt;p&gt;well as I said during the start it is random. sometimes even it is able to get addr from the dns and then goes into fault and other times it fails during start.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;This screenshot was luckily when it went further.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52840 going into fault continously</title><link>https://devzone.nordicsemi.com/thread/503360?ContentTypeID=1</link><pubDate>Mon, 23 Sep 2024 07:16:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d67d9922-be85-4047-9da0-c6129db4494e</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Your error log shows that you got further in the process and now is failing on the getaddrinfo, ie. the hostname lookup. Try to use addr2line and zephyr.map to back trace where the fault occurred.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52840 going into fault continously</title><link>https://devzone.nordicsemi.com/thread/503321?ContentTypeID=1</link><pubDate>Sat, 21 Sep 2024 04:45:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4118b2fd-1cfb-40f2-9a83-9074c65571ba</guid><dc:creator>Haseeb Zaib</dc:creator><description>&lt;p&gt;do you think that issue is with w5500 driver ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;But if it is why it worked on nrf52832 or nrf9160&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52840 going into fault continously</title><link>https://devzone.nordicsemi.com/thread/503274?ContentTypeID=1</link><pubDate>Fri, 20 Sep 2024 13:04:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:643410da-8a9c-4579-b923-680d70004405</guid><dc:creator>Haseeb Zaib</dc:creator><description>&lt;p&gt;nope I increased the stack upto 15k and still error&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&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/pastedimage1726837464432v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52840 going into fault continously</title><link>https://devzone.nordicsemi.com/thread/503272?ContentTypeID=1</link><pubDate>Fri, 20 Sep 2024 12:55:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e7534bc9-c302-4782-a3c3-8480e5d375b8</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks for sharing.&lt;/p&gt;
&lt;p&gt;According to the .map, that area is within a dedicated RAM area for the w5500:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt; .data.w5500_0_runtime
                0x0000000020000000     0x1780 zephyr/drivers/ethernet/libdrivers__ethernet.a(eth_w5500.c.obj)&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;And looking at that structure, it points to this:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/v3.6.99-ncs2/drivers/ethernet/eth_w5500_priv.h#L93"&gt;https://github.com/nrfconnect/sdk-zephyr/blob/v3.6.99-ncs2/drivers/ethernet/eth_w5500_priv.h#L93&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you try to increase &amp;quot;CONFIG_ETH_W5500_RX_THREAD_STACK_SIZE&amp;quot; and see if the issue disappears?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52840 going into fault continously</title><link>https://devzone.nordicsemi.com/thread/503226?ContentTypeID=1</link><pubDate>Fri, 20 Sep 2024 09:13:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:33f3b339-671a-4deb-b8ad-f38b757dc1df</guid><dc:creator>Haseeb Zaib</dc:creator><description>&lt;p&gt;1) Uploaded fresh code&amp;nbsp;&lt;/p&gt;
&lt;p&gt;2) Here is assert output&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/pastedimage1726823478313v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;3) .map file of latest flash, Uploading all 3 map files just incase&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/6864.zephyr.map"&gt;devzone.nordicsemi.com/.../6864.zephyr.map&lt;/a&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/zephyr_5F00_pre0.map"&gt;devzone.nordicsemi.com/.../zephyr_5F00_pre0.map&lt;/a&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/zephyr_5F00_final.map"&gt;devzone.nordicsemi.com/.../zephyr_5F00_final.map&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52840 going into fault continously</title><link>https://devzone.nordicsemi.com/thread/503209?ContentTypeID=1</link><pubDate>Fri, 20 Sep 2024 07:55:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b41dbf6e-e1d9-4d94-bc9e-01d23d1a839d</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you do the following?&lt;/p&gt;
&lt;p&gt;1. flash the device&lt;/p&gt;
&lt;p&gt;2. Share the assert output&lt;/p&gt;
&lt;p&gt;3. share the .map file&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52840 going into fault continously</title><link>https://devzone.nordicsemi.com/thread/503189?ContentTypeID=1</link><pubDate>Fri, 20 Sep 2024 04:39:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8d07a8c2-720b-4198-ab9e-ba284a0ff7dd</guid><dc:creator>Haseeb Zaib</dc:creator><description>&lt;p&gt;was manually restarting the mcu as I was turned automatic restart off.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52840 going into fault continously</title><link>https://devzone.nordicsemi.com/thread/503188?ContentTypeID=1</link><pubDate>Fri, 20 Sep 2024 04:38:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f17a7d49-ff83-4871-86b4-b84413f8d7ed</guid><dc:creator>Haseeb Zaib</dc:creator><description>&lt;p&gt;I deleted build file recreated it recompiled the code and uploaded again, The address change.But after constantly restarting the mcu, the address remained the same 0x20001080, but even then in zephyr.map file the address does not exists.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52840 going into fault continously</title><link>https://devzone.nordicsemi.com/thread/503089?ContentTypeID=1</link><pubDate>Thu, 19 Sep 2024 10:18:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:490b85d4-b15d-45c4-9991-3cacff4182b9</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user="Haseeb Zaib"]Hi, So I stopped the nrf restarting by the following flag and then checked the map file there is no 200003a0 thread in that file, looked manually and as well as searched the whole file but nothing came up. Here is the file[/quote]
&lt;p&gt;The assert output will change when you recompile/reflash the firmware.&lt;/p&gt;
&lt;p&gt;Do you have the latest uart assert output&amp;nbsp;? I suspect that this address has now changed.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52840 going into fault continously</title><link>https://devzone.nordicsemi.com/thread/503032?ContentTypeID=1</link><pubDate>Thu, 19 Sep 2024 06:23:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:00c0aa7c-65b9-4eff-a45d-7ecb742b602b</guid><dc:creator>Haseeb Zaib</dc:creator><description>&lt;p&gt;got any idea ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>