<?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>What are the flashing pins for the nRF52820 chip and how do I flash with the flashing pins?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/110024/what-are-the-flashing-pins-for-the-nrf52820-chip-and-how-do-i-flash-with-the-flashing-pins</link><description>Hi, 
 I want to know what are the flashing pins for the part nRF52820, and what is the procedure for flashing the program with these pins? Should I use the comands? If yes, please help me with the commands? 
 Note: I am using nRF connect desktop SDK </description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 10 Apr 2024 09:31:31 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/110024/what-are-the-flashing-pins-for-the-nrf52820-chip-and-how-do-i-flash-with-the-flashing-pins" /><item><title>RE: What are the flashing pins for the nRF52820 chip and how do I flash with the flashing pins?</title><link>https://devzone.nordicsemi.com/thread/477993?ContentTypeID=1</link><pubDate>Wed, 10 Apr 2024 09:31:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a6ce9d8f-ab89-4033-a72e-ab169bd33478</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>[quote user="Gotak"]So when I am trying to build the configurations for my nRF52820 custom board with nrf52833dk_nrf52820 with the central sample, I am getting this errors:[/quote]
&lt;p&gt;The build log indicates that the application is too large to fit in Flash and RAM of nRF52820:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;c:/ncs/toolchains/c57af46cb7/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: region `FLASH&amp;#39; overflowed by 7776 bytes
c:/ncs/toolchains/c57af46cb7/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: region `RAM&amp;#39; overflowed by 11040 bytes&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Try building a simpler application.&lt;/p&gt;
[quote user="Gotak"]&lt;p&gt;I am trying to flash the code image into my external custom nrf52820 board with my nrf52833 DK.&lt;/p&gt;
&lt;p&gt;Is these any board switch settings to do on the nRF52833 DK to flash on the nRF52820 externally?&lt;/p&gt;[/quote]
&lt;p&gt;No, the nRF52833 DK will select the external board based on voltage level on VTG pin. If you are connecting the external board through P20 header, please connect VTG pin to VDD of the external board. Note that the on-board J-Link on the DK does not support voltage level conversion, so the external board must be supplied at the same voltage as the DK (3.0V).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What are the flashing pins for the nRF52820 chip and how do I flash with the flashing pins?</title><link>https://devzone.nordicsemi.com/thread/477991?ContentTypeID=1</link><pubDate>Wed, 10 Apr 2024 09:26:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:266997b9-29dd-4d1a-8a25-da6916dcd082</guid><dc:creator>Gotak</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Any update on this?&lt;/p&gt;
&lt;p&gt;I am trying to flash the code image into my external custom nrf52820 board with my nrf52833 DK.&lt;/p&gt;
&lt;p&gt;Is these any board switch settings to do on the nRF52833 DK to flash on the nRF52820 externally?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Gotak&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What are the flashing pins for the nRF52820 chip and how do I flash with the flashing pins?</title><link>https://devzone.nordicsemi.com/thread/477840?ContentTypeID=1</link><pubDate>Tue, 09 Apr 2024 13:50:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e8191f99-d476-41f6-91b4-a2ba37463f8c</guid><dc:creator>Gotak</dc:creator><description>&lt;p&gt;So when I am trying to build the configurations for my nRF52820 custom board with nrf52833dk_nrf52820 with the central sample, I am getting this errors:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;* Executing task: nRF Connect: Build: central/build (active)&lt;/p&gt;
&lt;p&gt;Building central&lt;br /&gt;C:\WINDOWS\system32\cmd.exe /d /s /c &amp;quot;west build --build-dir c:/ncs/v2.5.2/nrf/samples/bluetooth/central/build c:/ncs/v2.5.2/nrf/samples/bluetooth/central&amp;quot;&lt;/p&gt;
&lt;p&gt;[1/6] Linking C executable zephyr\zephyr_pre0.elf&lt;br /&gt;FAILED: zephyr/zephyr_pre0.elf zephyr/zephyr_pre0.map &lt;br /&gt;cmd.exe /C &amp;quot;cd . &amp;amp;&amp;amp; C:\ncs\toolchains\c57af46cb7\opt\zephyr-sdk\arm-zephyr-eabi\bin\arm-zephyr-eabi-gcc.exe -gdwarf-4 @CMakeFiles\zephyr_pre0.rsp -o zephyr\zephyr_pre0.elf &amp;amp;&amp;amp; cmd.exe /C &amp;quot;cd /D C:\ncs\v2.5.2\nrf\samples\bluetooth\central\build\zephyr &amp;amp;&amp;amp; C:\ncs\toolchains\c57af46cb7\opt\bin\cmake.exe -E true&amp;quot;&amp;quot;&lt;br /&gt;c:/ncs/toolchains/c57af46cb7/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr\zephyr_pre0.elf section `rodata&amp;#39; will not fit in region `FLASH&amp;#39;&lt;br /&gt;c:/ncs/toolchains/c57af46cb7/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr\zephyr_pre0.elf section `noinit&amp;#39; will not fit in region `RAM&amp;#39;&lt;br /&gt;c:/ncs/toolchains/c57af46cb7/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: region `FLASH&amp;#39; overflowed by 7776 bytes&lt;br /&gt;c:/ncs/toolchains/c57af46cb7/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: region `RAM&amp;#39; overflowed by 11040 bytes&lt;br /&gt;collect2.exe: error: ld returned 1 exit status&lt;br /&gt;ninja: build stopped: subcommand failed.&lt;br /&gt;FATAL ERROR: command exited with status 1: &amp;#39;C:\ncs\toolchains\c57af46cb7\opt\bin\cmake.EXE&amp;#39; --build &amp;#39;c:\ncs\v2.5.2\nrf\samples\bluetooth\central\build&amp;#39;&lt;/p&gt;
&lt;p&gt;* The terminal process terminated with exit code: 1. &lt;br /&gt; * Terminal will be reused by tasks, press any key to close it.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;only when I am using these prj.conf:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_BT=y
CONFIG_BT_CENTRAL=y

CONFIG_FLASH=y
CONFIG_FLASH_PAGE_LAYOUT=y

CONFIG_NVS=y
CONFIG_LOG=y
CONFIG_LOG_MODE_IMMEDIATE=y
CONFIG_NVS_LOG_LEVEL_DBG=y
CONFIG_REBOOT=y
CONFIG_MPU_ALLOW_FLASH_WRITE=y

CONFIG_BT_SMP=y
CONFIG_BT_GATT_CLIENT=y
CONFIG_BT_GATT_DM=y
CONFIG_HEAP_MEM_POOL_SIZE=1024
CONFIG_BT_GATT_DM_DATA_PRINT=y

CONFIG_UART_ASYNC_API=y
CONFIG_NRFX_UARTE0=y
CONFIG_SERIAL=y
CONFIG_GPIO=y
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y
CONFIG_HEAP_MEM_POOL_SIZE=2048
CONFIG_BT_PERIPHERAL=y
CONFIG_BT_DEVICE_APPEARANCE=833
CONFIG_BT_MAX_CONN=6
CONFIG_BT_MAX_PAIRED=1
CONFIG_BT_NUS=y
CONFIG_BT_SETTINGS=y
CONFIG_FLASH_MAP=y
CONFIG_SETTINGS=y
CONFIG_LOG_BACKEND_RTT=y
CONFIG_LOG_BACKEND_UART=y
CONFIG_LOG_PRINTK=y
CONFIG_ASSERT=y

# CONFIG_UART_INTERRUPT_DRIVEN=y
# CONFIG_UART_0_INTERRUPT_DRIVEN=y

#thread
CONFIG_LOG_MODE_IMMEDIATE=y

CONFIG_WATCHDOG=y
CONFIG_WDT_LOG_LEVEL_DBG=y
CONFIG_WDT_DISABLE_AT_BOOT=y

CONFIG_TASK_WDT=y
CONFIG_TASK_WDT_MIN_TIMEOUT=500

CONFIG_THREAD_NAME=y

# Required to disable default behavior of deep sleep on timeout
CONFIG_PM_DEVICE=y
CONFIG_GPIO=y
# Optional select RAM retention (nRF52 only)
#CONFIG_APP_RETENTION=y
CONFIG_CRC=y
CONFIG_POWEROFF=y
CONFIG_ASSERT=y
CONFIG_ASSERT_LEVEL=2
CONFIG_CMSIS_RTOS_V1=y
CONFIG_NUM_PREEMPT_PRIORITIES=56
CONFIG_HEAP_MEM_POOL_SIZE=256
CONFIG_THREAD_NAME=y
CONFIG_THREAD_STACK_INFO=y
CONFIG_THREAD_MONITOR=y
CONFIG_INIT_STACKS=y
CONFIG_POLL=y
CONFIG_SCHED_SCALABLE=y
CONFIG_THREAD_CUSTOM_DATA=y&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Gotak&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What are the flashing pins for the nRF52820 chip and how do I flash with the flashing pins?</title><link>https://devzone.nordicsemi.com/thread/477804?ContentTypeID=1</link><pubDate>Tue, 09 Apr 2024 12:40:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b6d0fb28-84bd-4ba7-b961-fe0a18d70ba9</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;The&amp;nbsp;&lt;span&gt;nrf52833dk_nrf52820 target would be the best starting point in nRF Connect SDK. We do not have a dedicated development kit for nRF52820, but nRF52833 DK can work as a &amp;quot;emulated&amp;quot; development platform. You can also reference &amp;quot;&lt;a href="https://academy.nordicsemi.com/courses/nrf-connect-sdk-intermediate/lessons/lesson-3-adding-custom-board-support/"&gt;Adding custom board support&lt;/a&gt;&amp;quot; lesson in nRF Connect SDK Intermediate course in DevAcademy on how to implement your custom board in NCS.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Depending on what application you are building, you might need to set different configurations or devicetree overlays to build and run successfully.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;If you post which sample you build, and attach the build log, we can help you resolve the problems.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What are the flashing pins for the nRF52820 chip and how do I flash with the flashing pins?</title><link>https://devzone.nordicsemi.com/thread/477639?ContentTypeID=1</link><pubDate>Mon, 08 Apr 2024 15:13:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4a71e37c-c2bc-47c4-82ea-f154f3d8bb13</guid><dc:creator>Gotak</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thanks for the reply! I will try that.&lt;/p&gt;
&lt;p&gt;While I was going through flashing I got struck at one point at the very initial. What build configuration should I choose for flashing a custom nrf52820, all I could find is&amp;nbsp;&lt;/p&gt;
&lt;p&gt;1. nrf52833dk_nrf52820&lt;/p&gt;
&lt;p&gt;2. nrf52820dongle_nrf52820&lt;/p&gt;
&lt;p&gt;Both of these build configurations gave be incomplete build fatal errors. What should I do? Or , Is there any other build configuration that would work for nrf52820 custom board?&lt;/p&gt;
&lt;p&gt;Thanks&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Gotak&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What are the flashing pins for the nRF52820 chip and how do I flash with the flashing pins?</title><link>https://devzone.nordicsemi.com/thread/477626?ContentTypeID=1</link><pubDate>Mon, 08 Apr 2024 14:33:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7b806ee2-9e66-431c-a68a-6f779ac67883</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;All nRF52 series chips are programmed through the &lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf52820/dif.html#dap"&gt;SWD interface&lt;/a&gt;. You will need a debugger/programmer that supports the SWD interface, we recommend using Segger J-Link, which is available on our DKs (also for programming custom boards through the &lt;a href="https://infocenter.nordicsemi.com/topic/ug_nrf52833_dk/UG/dk/hw_debug_out.html"&gt;debug output connectors&lt;/a&gt;).&lt;/p&gt;
&lt;p&gt;Once you have the J-Link connected to your board, you can program the chip through&amp;nbsp;&lt;a title="nRF Connect Programmer" href="https://infocenter.nordicsemi.com/topic/ug_nc_programmer/UG/nrf_connect_programmer/ncp_introduction.html?cp=11_3_2"&gt;nRF Connect Programmer&lt;/a&gt;&amp;nbsp;or&amp;nbsp;&lt;a title="Programming SoCs with nrfjprog" href="https://infocenter.nordicsemi.com/topic/ug_nrf_cltools/UG/cltools/nrf_nrfjprogexe.html?cp=11_1_3"&gt;nrfjprog&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>