<?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>Problem bringing up a custom board (cant see board outside of bootloader mode)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/86218/problem-bringing-up-a-custom-board-cant-see-board-outside-of-bootloader-mode</link><description>I have designed a custom board for the nrf52840 and upon testing it in the nrf connect sdk (using a JLink), I can only see the board when it&amp;#39;s in bootloader mode. When it&amp;#39;s in normal operation, the debugger does not show it. 
 Additionally, it does not</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 02 May 2022 11:58:25 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/86218/problem-bringing-up-a-custom-board-cant-see-board-outside-of-bootloader-mode" /><item><title>RE: Problem bringing up a custom board (cant see board outside of bootloader mode)</title><link>https://devzone.nordicsemi.com/thread/365749?ContentTypeID=1</link><pubDate>Mon, 02 May 2022 11:58:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:731b2f86-1622-405b-a19d-dbc5627ef7ee</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;About 3.3V should be fine, also&amp;nbsp;with the J-Link EDU Mini.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem bringing up a custom board (cant see board outside of bootloader mode)</title><link>https://devzone.nordicsemi.com/thread/365652?ContentTypeID=1</link><pubDate>Sat, 30 Apr 2022 05:22:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b6769f6e-dfc1-40bd-974a-c0bdac6a3bf2</guid><dc:creator>hmahdi</dc:creator><description>&lt;p&gt;I measured VDD in both normal and reset modes, and it was 3.3v&lt;/p&gt;
&lt;p&gt;Additionally, the SWDIO is 3.3v&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I am using the JLink EDU Mini. Could that be why?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem bringing up a custom board (cant see board outside of bootloader mode)</title><link>https://devzone.nordicsemi.com/thread/365122?ContentTypeID=1</link><pubDate>Wed, 27 Apr 2022 08:38:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6070ead6-09f2-4e7c-864a-2b479febe7e3</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Which type of J-Link debugger are you using? And what VDD voltage to you measure when you hold the device in reset and what do you measure when it is not held in reset? Also, check voltage on SWDIO signals from the nRF?&lt;/p&gt;
&lt;p&gt;I ask because if you have a basic J-Link which is fixed to be used with ~3.3V, then you will have problems before you can write to GPREGRET0 so that the high voltage regulator outputs a higher voltage (default is 1.8V).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem bringing up a custom board (cant see board outside of bootloader mode)</title><link>https://devzone.nordicsemi.com/thread/364996?ContentTypeID=1</link><pubDate>Tue, 26 Apr 2022 14:51:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:126da841-d916-4187-ad65-16a167cd9ae7</guid><dc:creator>hmahdi</dc:creator><description>&lt;p&gt;I totally agree that it doesn&amp;rsquo;t make sense to operate in this mode and I know it won&amp;rsquo;t work. I was just trying to do it because the debugger won&amp;rsquo;t see the board otherwise. I know that is not the expected behaviour and the jlink should see it when it&amp;rsquo;s not in reset mode.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem bringing up a custom board (cant see board outside of bootloader mode)</title><link>https://devzone.nordicsemi.com/thread/364937?ContentTypeID=1</link><pubDate>Tue, 26 Apr 2022 11:53:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7bfa9554-e0ee-466a-a1df-1c35e29de207</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am sorry to say, but there is nothing here that rings any bells. Other than that I still struggle with this:&lt;/p&gt;
[quote user="hmahdi"]but of course I cant actually debug because jlink still only sees the board when the reset switch is flipped[/quote]
&lt;p&gt;If the reset pin is enabled and reset is asserted the device is in an undefined state, so nothing and anything could happen. So there is no point in operating in this condition (if that is what you mean).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem bringing up a custom board (cant see board outside of bootloader mode)</title><link>https://devzone.nordicsemi.com/thread/364789?ContentTypeID=1</link><pubDate>Mon, 25 Apr 2022 23:51:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4f3a0b41-d20b-4b92-8b3c-ad4946ebd2e6</guid><dc:creator>hmahdi</dc:creator><description>&lt;p&gt;I have some more information about the error. When I use the &amp;quot;recover board&amp;quot; feature in vscode, I can see the board when not in reset mode as long as I have not downloaded any code to the board. So what I did, I clicked debug on this clean board, and I got a new error message:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;
Program
 received signal SIGTRAP, Trace/breakpoint trap.
0xdeadbeee in ?? ()
Debug-14: Enqueuing {&amp;quot;command&amp;quot;:&amp;quot;disassemble&amp;quot;,&amp;quot;arguments&amp;quot;:{&amp;quot;memoryReference&amp;quot;:&amp;quot;0xdeadbeee&amp;quot;,&amp;quot;offset&amp;quot;:0,&amp;quot;instructionOffset&amp;quot;:-200,&amp;quot;instructionCount&amp;quot;:400,&amp;quot;resolveSymbols&amp;quot;:true},&amp;quot;type&amp;quot;:&amp;quot;request&amp;quot;,&amp;quot;seq&amp;quot;:14}
Note: We detected the following memory regions as valid using gdb &amp;quot;info mem&amp;quot; and &amp;quot;objdump -h&amp;quot;
    This information is used to adjust bounds only when normal disassembly fails.
================================================================================
  Using following memory regions for disassembly
================================================================================
      Size   VMA Beg   VMA End   LMA Beg   LMA End  Attributes
================================================================================
  Unfortunately, No memory information from gdb (or gdb-server). Will try to manage without
  ------------------------------------------------------------------------------
  0000503c  00000000  0000503c  --------  --------  (.sec1) contents alloc load
================================================================================
Debug-14: Dequeuing...
Debug: Gdb command: -data-disassemble -s 0xdeadbbce -e 0xdeadc20e -- 5     1600 bytes 
Error: GDB failed: Cannot access memory at address 0xdeadbbce (from data-disassemble -s 0xdeadbbce -e 0xdeadc20e -- 5)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem bringing up a custom board (cant see board outside of bootloader mode)</title><link>https://devzone.nordicsemi.com/thread/364788?ContentTypeID=1</link><pubDate>Mon, 25 Apr 2022 23:42:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ebdc77ba-cee9-4be1-8bee-a37caa72fa78</guid><dc:creator>hmahdi</dc:creator><description>&lt;p&gt;Thanks for your patience we me. I remade the board with the vscode extension this time (not starting from the dk or the dongle) to back track even more.&lt;/p&gt;
&lt;p&gt;It seems this is definetly on the right track, because I no longer get a SIGTRAP when running debug (but of course I cant actually debug because jlink still only sees the board when the reset switch is flipped).&lt;/p&gt;
&lt;p&gt;Here is a screenshot of when I run debug in reset mode:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1650930044067v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;P.S. I did what you suggested by essentially only adding the one pin needed by the blinky program for the sake of simplicity.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem bringing up a custom board (cant see board outside of bootloader mode)</title><link>https://devzone.nordicsemi.com/thread/364662?ContentTypeID=1</link><pubDate>Mon, 25 Apr 2022 10:16:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:825183de-1a29-496e-8125-793140bf8c6c</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Can you backtrack and continue to test with the Blinky example first, and use a board based on nrf452840dk_nrf52840 (not the dongle!)? Even if you have a dongle form factor, the&amp;nbsp;nrf452840dk_nrf52840 is likely a better starting point as it has no fuzz. Then it should be enough to only change the LED pin to get the blinky sample working.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem bringing up a custom board (cant see board outside of bootloader mode)</title><link>https://devzone.nordicsemi.com/thread/364556?ContentTypeID=1</link><pubDate>Sat, 23 Apr 2022 18:39:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:35590a41-af99-482c-83ca-26a29bcb37fb</guid><dc:creator>hmahdi</dc:creator><description>&lt;p&gt;Unfortunately, connecting the reset pin did not change the behaviour.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem bringing up a custom board (cant see board outside of bootloader mode)</title><link>https://devzone.nordicsemi.com/thread/364057?ContentTypeID=1</link><pubDate>Thu, 21 Apr 2022 00:55:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b86878e5-30b6-405a-bb94-eca7cf4ee1ca</guid><dc:creator>hmahdi</dc:creator><description>&lt;p&gt;I found this person saying the reset pin could solve the problem. I will try to connect the reset to the jlink:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/82547/cant-program-custom-board"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/82547/cant-program-custom-board&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I&amp;#39;ll keep you posted. Meanwhile, if it seems anything is wrong with the configuration i posted please let me know!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem bringing up a custom board (cant see board outside of bootloader mode)</title><link>https://devzone.nordicsemi.com/thread/364047?ContentTypeID=1</link><pubDate>Wed, 20 Apr 2022 23:16:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cdbd905b-5e23-4d33-96cb-7ded10b98a41</guid><dc:creator>hmahdi</dc:creator><description>&lt;p&gt;That is what I thought, however, I also tried to use the ftsab-debugger configuration which starts at&amp;nbsp;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;0x000000000 :&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="text"&gt;
&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;;

		/* The size of this partition ensures that MCUBoot can be built
		 * with an RTT console, CDC ACM support, and w/o optimizations.
		 */
		boot_partition: partition@0 {
			label = &amp;quot;mcuboot&amp;quot;;
			reg = &amp;lt;0x000000000 0x00012000&amp;gt;;
		};

		slot0_partition: partition@12000 {
			label = &amp;quot;image-0&amp;quot;;
			reg = &amp;lt;0x00012000 0x000069000&amp;gt;;
		};
		slot1_partition: partition@7b000 {
			label = &amp;quot;image-1&amp;quot;;
			reg = &amp;lt;0x0007b000 0x000069000&amp;gt;;
		};
		scratch_partition: partition@e4000 {
			label = &amp;quot;image-scratch&amp;quot;;
			reg = &amp;lt;0x000e4000 0x00018000&amp;gt;;
		};
		storage_partition: partition@fc000 {
			label = &amp;quot;storage&amp;quot;;
			reg = &amp;lt;0x000fc000 0x00004000&amp;gt;;
		};
	};
};
&lt;/pre&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;It did not change the behaviour. I made sure to remove&amp;nbsp;BOARD_HAS_NRF5_BOOTLOADER&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Sorry for asking too many questions but it&amp;#39;s frustrating because I know the debugger sees the microcontroller but i am getting literally nothing. I dont think it&amp;#39;s a hardware issue so most likely, it&amp;#39;s the board configuration.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem bringing up a custom board (cant see board outside of bootloader mode)</title><link>https://devzone.nordicsemi.com/thread/363460?ContentTypeID=1</link><pubDate>Tue, 19 Apr 2022 07:46:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a39af2a9-a762-481f-8c15-4f1c3434cd32</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;I think it is time to backtrack a bit. As I explained in my previous post, you have configured your board to build the application starting at 0x1000, as if it has the nRF5 SDK bootloader (which is the case for the nRF52840 dongle). If that is not intentional, the solution should not be to add the bootloader (which is a different bootloader than what you find in the nRF Connect SDK), but rather change your board configuration to remove that part so that you don not rely on the nRF5 SDK bootloader. (That is used in the nRF52840 dongle for legacy reasons and I see little reason for wanting to put that in a dongle you make).&lt;/p&gt;
&lt;p&gt;So, instead, I suggest you change your Kconfig.defconfig and remove&amp;nbsp;BOARD_HAS_NRF5_BOOTLOADER etc.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem bringing up a custom board (cant see board outside of bootloader mode)</title><link>https://devzone.nordicsemi.com/thread/363320?ContentTypeID=1</link><pubDate>Sat, 16 Apr 2022 19:23:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fa6891ce-64bb-4108-ba97-2d43c3013bea</guid><dc:creator>hmahdi</dc:creator><description>&lt;p&gt;Ok as a follow up, I attempted to install the bootloader example from the nrf Connect SDK, however, that did not change the behaviour of the microcontroller and did not solve the problem. I also tried on the blinky example itself by setting&amp;nbsp;&lt;span&gt;CONFIG_IS_SECURE_BOOTLOADER&lt;/span&gt;&lt;span&gt;=y in the config.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I am quite lost and not sure how to get the bootloader on the microcontroller correctly.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem bringing up a custom board (cant see board outside of bootloader mode)</title><link>https://devzone.nordicsemi.com/thread/362709?ContentTypeID=1</link><pubDate>Sat, 09 Apr 2022 20:38:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c8cf7804-2a00-4784-957c-fb3090363088</guid><dc:creator>hmahdi</dc:creator><description>&lt;p&gt;Thanks Einar this is really valuable information. I actually did not flash any bootloader as I do not have much embedded development experience and I didnt know the chips dont come with it. I will flash the nRF5 SDK bootloader to stay as close to the dongle as possible.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem bringing up a custom board (cant see board outside of bootloader mode)</title><link>https://devzone.nordicsemi.com/thread/362636?ContentTypeID=1</link><pubDate>Fri, 08 Apr 2022 14:09:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eb170aeb-9533-4e41-9749-2db57c45df9a</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I do not see anything sticking out in your dts.&lt;/p&gt;
&lt;p&gt;I&amp;nbsp;just remember one thing though, and checking that I see an issue. In your Kconfig and Kconfig.defconfig you have&amp;nbsp;BOARD_HAS_NRF5_BOOTLOADER and&amp;nbsp;FLASH_LOAD_OFFSET etc. This is inherited from the nRF52840dongle_nrf52840, and is becaue this dongle ships with a nRF5 SDK bootloader, where the first page is the MBR. As you write that you see the board in bootlaoder mode I assume you flashed the nRF5 SDK&amp;nbsp;bootloader on your custom board as well? If not (for instance you are using another bootlaoder, like MCUBoot), this is not correct and should be removed. It is generally only sensible for the nrf52840 dongle, and not other (though similar) boards.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem bringing up a custom board (cant see board outside of bootloader mode)</title><link>https://devzone.nordicsemi.com/thread/362445?ContentTypeID=1</link><pubDate>Thu, 07 Apr 2022 18:20:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:40714350-c4a0-4ec5-b354-0f0cec9be90d</guid><dc:creator>hmahdi</dc:creator><description>&lt;p&gt;I have not modified the blinky program at all. It should work because I created an LED with the same alias in the device tree. Here is the .dts file which I think is most relevant from the board defintion so it&amp;#39;s simpler to sift through.&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/nrf52840hab_5F00_nrf52840.dts"&gt;devzone.nordicsemi.com/.../nrf52840hab_5F00_nrf52840.dts&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem bringing up a custom board (cant see board outside of bootloader mode)</title><link>https://devzone.nordicsemi.com/thread/362245?ContentTypeID=1</link><pubDate>Thu, 07 Apr 2022 08:45:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0e61ea5f-8779-4149-a11b-c01919e9d455</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Ah, so you mean that you can &amp;quot;debug&amp;quot; when reset is asserted (held low)? At that point the CPU is not running, though (and in fact most of the IC is in an undefined state while the reset pin is asserted).&lt;/p&gt;
[quote user="hmahdi"]I am using the base blinky program. I wonder there is a hard fault. [/quote]
&lt;p&gt;Yes, it looks like it. Can you upload the full project including any modifications you have done so that I can take a look (in your previous upload I saw the board file etc but not the blinky project etc)? It could also make sense to remove your board specific code just for simplicity&amp;nbsp;to try to narrow down the issue.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem bringing up a custom board (cant see board outside of bootloader mode)</title><link>https://devzone.nordicsemi.com/thread/361903?ContentTypeID=1</link><pubDate>Tue, 05 Apr 2022 15:23:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6a613085-de72-495e-9590-a0cc1550d376</guid><dc:creator>hmahdi</dc:creator><description>&lt;p&gt;By reset mode I meant flipping the nreset pin which can be seen on our schematic. I attached a screenshot highlighting it.&lt;/p&gt;
&lt;p&gt;.&amp;nbsp;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/PNG-image.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;I am using the base blinky program. I wonder there is a hard fault. Maybe it&amp;rsquo;s the board configuration but I&amp;rsquo;m pretty sure I left most aliases the same so it would be compatible with the demo blinky out of the box &amp;nbsp;( ex: left led 0 with the same name but changed the pin to match our board)&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem bringing up a custom board (cant see board outside of bootloader mode)</title><link>https://devzone.nordicsemi.com/thread/361736?ContentTypeID=1</link><pubDate>Tue, 05 Apr 2022 07:29:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d82108ad-e88f-4463-9ac3-f3cd544760ed</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Can you elaborate by what you mean by chip being in &amp;quot;reset mode&amp;quot;? Anyway, looking at the screenshot it looks like you are able to debug, and you get a SIGTRAP at&amp;nbsp;&lt;span&gt;0xFFFFFFFE, which indicates you gat a hard fault for some reason.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem bringing up a custom board (cant see board outside of bootloader mode)</title><link>https://devzone.nordicsemi.com/thread/361633?ContentTypeID=1</link><pubDate>Tue, 05 Apr 2022 01:24:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8429ee73-a86f-4c43-8099-e623b6c1d4b5</guid><dc:creator>hmahdi</dc:creator><description>&lt;p&gt;Thanks @&lt;a class="internal-link view-user-profile" href="https://devzone.nordicsemi.com/members/eith"&gt;Einar Thorsrud&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;1. I attached the schematics as well as the custom board I defined withing nrf connect sdk. It was modified from the nrf52840 dongle board definition.&lt;/p&gt;
&lt;p&gt;2. In terms of debugging, I am in a conundrum because the debugger only sees the board in reset mode. I attached the output.&lt;/p&gt;
&lt;p&gt;Additionally, I tried the code on a fresh board. I noticed that prior to installing any code, I can see the&amp;nbsp;chip through the debugger whether the&amp;nbsp;chip is in reset mode or not. However, after flashing the blinky program (which still doesnt work), I noticed the debugger can only see the chip when it&amp;#39;s in reset mode.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/8463.MCU_5F00_Schematic.pdf"&gt;devzone.nordicsemi.com/.../8463.MCU_5F00_Schematic.pdf&lt;/a&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1649121854829v1.png" alt=" " /&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/nrf52840hab_5F00_nrf52840.zip"&gt;devzone.nordicsemi.com/.../nrf52840hab_5F00_nrf52840.zip&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem bringing up a custom board (cant see board outside of bootloader mode)</title><link>https://devzone.nordicsemi.com/thread/361403?ContentTypeID=1</link><pubDate>Mon, 04 Apr 2022 07:42:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:55c9bdfd-3928-4eed-ab14-e9826a882b7c</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;I see. So Blinky is also not working. Please continue testing with Blinky, as that is the simplest possible example application and that really should work. As it does not, something is fundamentally wrong.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Can you upload your schematics and layout, and also your Blinky project (with any modifications you have made for your board). That way I can review to see if I see something obvious.&lt;/li&gt;
&lt;li&gt;Let me know whatever you find from attempting to debug? What exactly happens? Can you share logs, screenshots, etc, to make tit clearer?&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem bringing up a custom board (cant see board outside of bootloader mode)</title><link>https://devzone.nordicsemi.com/thread/361375?ContentTypeID=1</link><pubDate>Sun, 03 Apr 2022 23:03:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7eecaa67-df1d-4a5e-8bfe-33829c7d32ea</guid><dc:creator>hmahdi</dc:creator><description>&lt;p&gt;I have tried a Blinky example, and it compiles fine with the custom board that i have defined, however, i dont see the voltage changing on the pin at all. I also tried this:&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/77570/zephyr-project-on-a-custom-board-wont-start-up-after-removing-debugger"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/77570/zephyr-project-on-a-custom-board-wont-start-up-after-removing-debugger&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;But it did not seem to work for me.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem bringing up a custom board (cant see board outside of bootloader mode)</title><link>https://devzone.nordicsemi.com/thread/360530?ContentTypeID=1</link><pubDate>Tue, 29 Mar 2022 12:10:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b92ae63c-078f-41ab-b888-4ab40b055674</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Have you got debugging working? I wrote about bootloader, but please keep that out of things. No need to complicate more then necessary, so don&amp;#39;t use a bootloader at first.&lt;/p&gt;
&lt;p&gt;Can you start by just trying to flash the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.9.1/zephyr/samples/basic/blinky/README.html"&gt;Blinky sample&lt;/a&gt; and observe that it toggles the pin (you don&amp;#39;t even need a LED on it, just check it with a logic analyzer if hat is easier). Next step is to debug. Are you able to debug? Then gradually move on.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem bringing up a custom board (cant see board outside of bootloader mode)</title><link>https://devzone.nordicsemi.com/thread/360366?ContentTypeID=1</link><pubDate>Mon, 28 Mar 2022 16:13:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e71b203a-1077-4ca8-bb8e-c5120ae6e8e6</guid><dc:creator>hmahdi</dc:creator><description>&lt;p&gt;Sorry for my late reply. I tried to get a GPIO to output a high but nothing is happening. I tried the same program on a dongle and it worked.&lt;/p&gt;
&lt;p&gt;Here is the schematic of the custom board:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/MCU_5F00_Schematic.pdf"&gt;devzone.nordicsemi.com/.../MCU_5F00_Schematic.pdf&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem bringing up a custom board (cant see board outside of bootloader mode)</title><link>https://devzone.nordicsemi.com/thread/359940?ContentTypeID=1</link><pubDate>Fri, 25 Mar 2022 08:59:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8cd23c6a-1b92-4212-abbe-d7fc25f20022</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user=""]I have designed a custom board for the nrf52840 and upon testing it in the nrf connect sdk (using a JLink), I can only see the board when it&amp;#39;s in () mode. When it&amp;#39;s in normal operation, the debugger does not show it.&amp;nbsp;[/quote]
&lt;p&gt;If the debugger is connected, then you should always see it. Can you explain a bit both how you test, how your firmware is and how your HW is.&lt;/p&gt;
[quote user=""]Additionally, it does not appear as a USB device although I enabled USB CDC. In fact, I kept the configuration pretty much similar to the nrf52840 dongle when I defined the custom board on the nrf connect sdk.[/quote]
&lt;p&gt;Difficult to say here. Bu tif you are not even able to debug, there could be a more fundamental issue. I think you need to get the basics working first.&lt;/p&gt;
&lt;p&gt;Could it for instance be that you have connected the debug (SWD) lines to a GPIO that you force high or low from your application? (that is just a wild guess, we need more information to make more precise suggestions).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>