<?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>Programming nrf52840 using nrfconnect application</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/71082/programming-nrf52840-using-nrfconnect-application</link><description>Hi, 
 I have an nrf52840 based custom board. For flashing the hex file into our board, we used the nrf52840DK and nrfconnect ubuntu application. In this case I able to program the board successfully and working properly and getting the debug prints on</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 02 Feb 2021 11:24:04 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/71082/programming-nrf52840-using-nrfconnect-application" /><item><title>RE: Programming nrf52840 using nrfconnect application</title><link>https://devzone.nordicsemi.com/thread/292449?ContentTypeID=1</link><pubDate>Tue, 02 Feb 2021 11:24:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:95973c20-2295-4b0b-901b-37b6490778d4</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Yes, you can check the log in the Segger.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programming nrf52840 using nrfconnect application</title><link>https://devzone.nordicsemi.com/thread/292440?ContentTypeID=1</link><pubDate>Tue, 02 Feb 2021 10:42:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:352b7b22-7de4-4851-bf1e-60fd89fabb94</guid><dc:creator>jeevan t raj</dc:creator><description>[quote userid="77782" url="~/f/nordic-q-a/71082/programming-nrf52840-using-nrfconnect-application/292370#292370"]If your application runs with SD, please add the SD image the same as you do for your application image. You should see the memory layout like the following figure[/quote]
&lt;p&gt;Hi Amanda,&lt;/p&gt;
&lt;p&gt;That was the issue. I added the SD hex also. So now I am getting the debug prints as properly.&lt;/p&gt;
&lt;p&gt;Thanks for pointing out that. :+1&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Just to confirm, while we pressed &amp;#39;Build and run&amp;#39; from segger IDE, do the SD and application binary is written into the controller flash?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programming nrf52840 using nrfconnect application</title><link>https://devzone.nordicsemi.com/thread/292370?ContentTypeID=1</link><pubDate>Tue, 02 Feb 2021 07:01:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1eb7e790-c749-423e-b10b-cae1c7eb939c</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
[quote user="jeevan t raj"]Yes, SD is included in our project. I didn&amp;#39;t do anything to program SD image separately. How can I do that?.&amp;nbsp;[/quote]
&lt;p&gt;If your application runs with SD, please add the SD image the same as you do for your application image. You should see the memory layout like the following figure.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1612249207347v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programming nrf52840 using nrfconnect application</title><link>https://devzone.nordicsemi.com/thread/292360?ContentTypeID=1</link><pubDate>Tue, 02 Feb 2021 06:04:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f3581688-ae48-4a61-bb07-fe583284338c</guid><dc:creator>jeevan t raj</dc:creator><description>&lt;p&gt;Thanks for the reply,&amp;nbsp;&lt;/p&gt;
[quote userid="77782" url="~/f/nordic-q-a/71082/programming-nrf52840-using-nrfconnect-application/292213#292213"]&lt;p&gt;Does the application run with the SD? If so, do you also program the SD image?&lt;/p&gt;
&lt;div class="quote-header"&gt;&lt;/div&gt;&lt;blockquote class="quote"&gt;&lt;div class="quote-content"&gt;&lt;/div&gt;&lt;/blockquote&gt;[/quote]
&lt;p&gt;Yes, SD is included in our project. I didn&amp;#39;t do anything to program SD image separately. How can I do that?.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Can you give the instructions to try this.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote userid="77782" url="~/f/nordic-q-a/71082/programming-nrf52840-using-nrfconnect-application/292213#292213"]Do you also get the log from&lt;span&gt;&amp;nbsp;J-Link RTT viewer if you press &amp;quot;build and run&amp;quot;?&amp;nbsp;&lt;/span&gt;[/quote]
&lt;p&gt;Yes,&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;Connected main board to nRF52832 DK,&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;Opened and cleaned the project,&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;selected build and run from segger IDE,&amp;nbsp;&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;And it is found the debug prints on the RTT viewer&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;/p&gt;
[quote userid="77782" url="~/f/nordic-q-a/71082/programming-nrf52840-using-nrfconnect-application/292213#292213"]&lt;p&gt;Do you see any error log while programming with&amp;nbsp;&lt;span&gt;the&amp;nbsp;&lt;/span&gt;&lt;em&gt;&lt;strong&gt;nRF Connect&lt;/strong&gt;&lt;/em&gt;&lt;span&gt;&amp;nbsp;app? If so, are you able to provide the log?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;[/quote]
&lt;p&gt;Please see the attached log file&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;2021-02-02T05:56:20.429Z INFO Application data folder: /home/jeevan/.config/nrfconnect/pc-nrfconnect-programmer
2021-02-02T05:56:20.512Z INFO Using nrfjprog library 10.12.1, pc-nrfjprog-js 1.7.6
2021-02-02T05:56:20.520Z DEBUG App pc-nrfconnect-programmer v1.4.8 official
2021-02-02T05:56:20.520Z DEBUG App path: /home/jeevan/.nrfconnect-apps/node_modules/pc-nrfconnect-programmer
2021-02-02T05:56:20.520Z DEBUG nRFConnect 3.6.1 is supported by the app (^3.6.0)
2021-02-02T05:56:20.520Z DEBUG nRFConnect path: /tmp/.mount_nrfconDZZMu9/resources/app.asar
2021-02-02T05:56:20.521Z DEBUG HomeDir: /home/jeevan
2021-02-02T05:56:20.521Z DEBUG TmpDir: /tmp
2021-02-02T05:56:21.447Z VERBOSE Could not fetch serial number for serial port at /dev/ttyS0
2021-02-02T05:56:21.448Z VERBOSE Could not fetch serial number for serial port at /dev/ttyS1
2021-02-02T05:56:21.448Z VERBOSE Could not fetch serial number for serial port at /dev/ttyS10
2021-02-02T05:56:21.449Z VERBOSE Could not fetch serial number for serial port at /dev/ttyS11
2021-02-02T05:56:21.449Z VERBOSE Could not fetch serial number for serial port at /dev/ttyS12
2021-02-02T05:56:21.449Z VERBOSE Could not fetch serial number for serial port at /dev/ttyS13
2021-02-02T05:56:21.449Z VERBOSE Could not fetch serial number for serial port at /dev/ttyS14
2021-02-02T05:56:21.450Z VERBOSE Could not fetch serial number for serial port at /dev/ttyS15
2021-02-02T05:56:21.450Z VERBOSE Could not fetch serial number for serial port at /dev/ttyS16
2021-02-02T05:56:21.450Z VERBOSE Could not fetch serial number for serial port at /dev/ttyS17
2021-02-02T05:56:21.450Z VERBOSE Could not fetch serial number for serial port at /dev/ttyS18
2021-02-02T05:56:21.451Z VERBOSE Could not fetch serial number for serial port at /dev/ttyS19
2021-02-02T05:56:21.451Z VERBOSE Could not fetch serial number for serial port at /dev/ttyS2
2021-02-02T05:56:21.451Z VERBOSE Could not fetch serial number for serial port at /dev/ttyS20
2021-02-02T05:56:21.451Z VERBOSE Could not fetch serial number for serial port at /dev/ttyS21
2021-02-02T05:56:21.451Z VERBOSE Could not fetch serial number for serial port at /dev/ttyS22
2021-02-02T05:56:21.452Z VERBOSE Could not fetch serial number for serial port at /dev/ttyS23
2021-02-02T05:56:21.452Z VERBOSE Could not fetch serial number for serial port at /dev/ttyS24
2021-02-02T05:56:21.452Z VERBOSE Could not fetch serial number for serial port at /dev/ttyS25
2021-02-02T05:56:21.452Z VERBOSE Could not fetch serial number for serial port at /dev/ttyS26
2021-02-02T05:56:21.452Z VERBOSE Could not fetch serial number for serial port at /dev/ttyS27
2021-02-02T05:56:21.453Z VERBOSE Could not fetch serial number for serial port at /dev/ttyS28
2021-02-02T05:56:21.453Z VERBOSE Could not fetch serial number for serial port at /dev/ttyS29
2021-02-02T05:56:21.453Z VERBOSE Could not fetch serial number for serial port at /dev/ttyS3
2021-02-02T05:56:21.453Z VERBOSE Could not fetch serial number for serial port at /dev/ttyS30
2021-02-02T05:56:21.453Z VERBOSE Could not fetch serial number for serial port at /dev/ttyS31
2021-02-02T05:56:21.454Z VERBOSE Could not fetch serial number for serial port at /dev/ttyS4
2021-02-02T05:56:21.454Z VERBOSE Could not fetch serial number for serial port at /dev/ttyS5
2021-02-02T05:56:21.454Z VERBOSE Could not fetch serial number for serial port at /dev/ttyS6
2021-02-02T05:56:21.454Z VERBOSE Could not fetch serial number for serial port at /dev/ttyS7
2021-02-02T05:56:21.454Z VERBOSE Could not fetch serial number for serial port at /dev/ttyS8
2021-02-02T05:56:21.454Z VERBOSE Could not fetch serial number for serial port at /dev/ttyS9
2021-02-02T05:56:27.382Z INFO Using nrfjprog to communicate with target
2021-02-02T05:56:28.881Z INFO Using J-Link Software version 6.88
2021-02-02T05:56:30.051Z INFO Segger serial:  682828354
2021-02-02T05:56:30.052Z INFO Segger speed:  2000  kHz
2021-02-02T05:56:30.052Z INFO Segger version:  J-Link OB-SAM3U128-V2-NordicSemi compiled Mar 17 2020 14:43:00
2021-02-02T05:56:30.053Z INFO Core probed: 682828354
2021-02-02T05:56:30.054Z INFO Core RAM: 256KiB
2021-02-02T05:56:30.054Z INFO Core ROM: 1024KiB in pages of 4KiB
2021-02-02T05:56:30.187Z INFO Model: NRF52840_xxAA_REV2.
2021-02-02T05:56:31.412Z INFO Core0: Reading device non-volatile memory. This may take a few seconds.
2021-02-02T05:56:32.697Z INFO Core0: UICR has been read. Click read button to read full non-volatile memory.
2021-02-02T05:57:00.610Z INFO Parsing HEX file:  /home/jeevan/Projects/eost_nowm/nRF5_SDK_17.0.2_d674dde/nova_wm/ses/Output/Debug/Exe/nova_wm.hex
2021-02-02T05:57:00.802Z INFO File was last modified at  2/2/2021, 11:19:56 AM
2021-02-02T05:57:39.985Z INFO Recovery procedure finished
2021-02-02T05:57:39.999Z INFO Using nrfjprog to communicate with target
2021-02-02T05:57:41.245Z INFO Using J-Link Software version 6.88
2021-02-02T05:57:42.438Z INFO Segger serial:  682828354
2021-02-02T05:57:42.438Z INFO Segger speed:  2000  kHz
2021-02-02T05:57:42.439Z INFO Segger version:  J-Link OB-SAM3U128-V2-NordicSemi compiled Mar 17 2020 14:43:00
2021-02-02T05:57:42.441Z INFO Core probed: 682828354
2021-02-02T05:57:42.442Z INFO Core RAM: 256KiB
2021-02-02T05:57:42.442Z INFO Core ROM: 1024KiB in pages of 4KiB
2021-02-02T05:57:42.576Z INFO Model: NRF52840_xxAA_REV2.
2021-02-02T05:57:43.805Z INFO Core0: Reading device non-volatile memory. This may take a few seconds.
2021-02-02T05:57:45.041Z INFO Core0: UICR has been read. Click read button to read full non-volatile memory.
2021-02-02T05:57:45.209Z INFO Writing procedure starts for core0
2021-02-02T05:57:48.896Z INFO Write procedure finished
2021-02-02T05:57:48.904Z INFO Using nrfjprog to communicate with target
2021-02-02T05:57:50.146Z INFO Using J-Link Software version 6.88
2021-02-02T05:57:51.351Z INFO Segger serial:  682828354
2021-02-02T05:57:51.352Z INFO Segger speed:  2000  kHz
2021-02-02T05:57:51.352Z INFO Segger version:  J-Link OB-SAM3U128-V2-NordicSemi compiled Mar 17 2020 14:43:00
2021-02-02T05:57:51.352Z INFO Core probed: 682828354
2021-02-02T05:57:51.352Z INFO Core RAM: 256KiB
2021-02-02T05:57:51.353Z INFO Core ROM: 1024KiB in pages of 4KiB
2021-02-02T05:57:51.476Z INFO Model: NRF52840_xxAA_REV2.
2021-02-02T05:57:52.763Z INFO Core0: Reading device non-volatile memory. This may take a few seconds.
2021-02-02T05:57:54.042Z INFO Core0: UICR has been read. Click read button to read full non-volatile memory.&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programming nrf52840 using nrfconnect application</title><link>https://devzone.nordicsemi.com/thread/292213?ContentTypeID=1</link><pubDate>Mon, 01 Feb 2021 12:44:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8fcacae5-65e9-4e42-9263-aa3f64c6fede</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Does the application run with the SD? If so, do you also program the SD image?&lt;/p&gt;
[quote user=""]We tried flashing the&amp;nbsp;board using the same setup from the segger IDE&amp;nbsp; and seen that debug prints are getting properly.[/quote]
&lt;p&gt;Do you also get the log from&lt;span&gt;&amp;nbsp;J-Link RTT viewer if you press &amp;quot;build and run&amp;quot;?&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Do you see any error log while programming with&amp;nbsp;&lt;span&gt;the&amp;nbsp;&lt;/span&gt;&lt;em&gt;&lt;strong&gt;nRF Connect&lt;/strong&gt;&lt;/em&gt;&lt;span&gt;&amp;nbsp;app? If so, are you able to provide the log?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/0066.png" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;-Amanda H.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>