<?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>Determining required jlink version for nrf connect vscode extension</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/103709/determining-required-jlink-version-for-nrf-connect-vscode-extension</link><description>My nRF5340 project used to be debug-able using vscode and the nRF Connect extension, but unfortunately something seems broken after getting an extension update and updating the j-link drivers with the latest standalone nRF Connect for desktop program</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 02 Oct 2023 08:23:58 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/103709/determining-required-jlink-version-for-nrf-connect-vscode-extension" /><item><title>RE: Determining required jlink version for nrf connect vscode extension</title><link>https://devzone.nordicsemi.com/thread/448457?ContentTypeID=1</link><pubDate>Mon, 02 Oct 2023 08:23:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e75beec3-131d-4f08-8b0a-7d73386c4c4c</guid><dc:creator>Priyanka</dc:creator><description>&lt;p&gt;Hi Nathan,&lt;/p&gt;
&lt;p&gt;I am yet to hear back from the team and will keep you updated.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Priyanka&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Determining required jlink version for nrf connect vscode extension</title><link>https://devzone.nordicsemi.com/thread/448027?ContentTypeID=1</link><pubDate>Wed, 27 Sep 2023 18:50:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:50cb9f51-774e-4f55-93cd-5084d2fec599</guid><dc:creator>Nathan</dc:creator><description>&lt;p&gt;Priyanka,&lt;/p&gt;
&lt;p&gt;Ok, after some delay I&amp;#39;ve figured out that the reason my board wasn&amp;#39;t starting up is because when trying to debug the issue by moving to the low frequency RC internal clock I was setting &amp;quot;CONFIG_SOC_ENABLE_LFXO=n&amp;quot; and &amp;quot;CONFIG_SOC_LFXO_CAP_EXTERNAL=n&amp;quot; in prj.conf, but didn&amp;#39;t realize I also had to set &amp;quot;CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC=y&amp;quot; and &amp;quot;CONFIG_CLOCK_CONTROL_NRF_K32SRC_XTAL=n&amp;quot; to make the new configuration work. But I think this will probably only work until I try to call bt_enable(), because I&amp;#39;m not sure whether the setting is also being applied to the network core or not. I found some old tickets on the forums describing setting these in the hci_rpmsg subimage on NCS 2.0.0 but I don&amp;#39;t see that folder in my project, has this changed for 2.4.X? It&amp;#39;s still weird that my project worked before the tools updated but at this point I think that&amp;#39;s a moot point because I clearly had issues in my project settings that needed to be addressed.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;So I guess the real question is how do I properly set the&amp;nbsp;project up for rail to rail external oscillator for LFCLK input in the project settings, for both main application and network core, assuming that the oscillator will have to be started by the firmware at runtime? I clearly&amp;nbsp;messed that up&amp;nbsp;before, and would appreciate guidance on how to do it correctly.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards, Nathan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Determining required jlink version for nrf connect vscode extension</title><link>https://devzone.nordicsemi.com/thread/446870?ContentTypeID=1</link><pubDate>Wed, 20 Sep 2023 12:24:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:86761175-3d11-4927-8b67-4128d924c7ca</guid><dc:creator>Priyanka</dc:creator><description>&lt;p&gt;Hi Nathan,&lt;/p&gt;
&lt;p&gt;Thanks for the update and apologies for the delay. I have reported the findings too t the internal team and am awaiting a response. I will get back to you as soon as I hear from them.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Priyanka&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Determining required jlink version for nrf connect vscode extension</title><link>https://devzone.nordicsemi.com/thread/446526?ContentTypeID=1</link><pubDate>Mon, 18 Sep 2023 20:06:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a86d4be6-50e3-48f8-aacb-edc8b3be4511</guid><dc:creator>Nathan</dc:creator><description>&lt;p&gt;Ok, the plot thickens. I&amp;#39;ve confirmed that the segger debugger I&amp;#39;m using is OK because I hooked it up to the debug-in port of the nrf53 development kit, set the development kit to nRF only mode, and that board&amp;nbsp;runs to the start of main as expected. So there&amp;#39;s only a problem when&amp;nbsp;I try to&amp;nbsp;debug on my custom board.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;My custom board uses the same rail voltage as the development kit (3.3V), and it seems to erase/program/verify just fine, but it just won&amp;#39;t run to the start of main like the development kit does. I&amp;#39;ve also confirmed it has the exact same processor type loaded (production rev1 silicon) and that it&amp;#39;s being powered sufficiently. Side note, the latest version of nRF Connect Programmer misreports the chip as Engineering D silicon, I manually checked the chip markings to confirm it really is rev1 silicon.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The only other possibility&amp;nbsp;I&amp;#39;ve been able to think of so far is if something in the workspace no longer likes my low frequency clock setup. Unlike the devkit, I&amp;#39;m using a rail to rail oscillator for my 32K LFCLK input (which I turn on at runtime).&amp;nbsp;I set it up like that because this board has an external backup calendar chip with a&amp;nbsp;32,768 oscillator output, so it saves cost and board space for me not to use an external crystal but instead hook up P0.00 to the external oscillator that&amp;#39;s already available (and leave P0.01 disconnected per the datasheet). But I suppose it&amp;#39;s possible that after updating my workspace, zephyr is no longer happy with my configuration&amp;nbsp;settings regarding the LFCLK source and is getting stuck before it reaches the main function of my app.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I tried turning off the LFXO in the kconfig settings but&amp;nbsp;that didn&amp;#39;t help, so what should I put into my prj.conf file to make&amp;nbsp;certain that the low frequency clock source is fully switched over to internal RC temporarily for testing? And it it doesn&amp;#39;t turn out to be the crystal, what other hardware difference could possibly cause this kind of behavior, considering that erase/flash/verify does still work?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Determining required jlink version for nrf connect vscode extension</title><link>https://devzone.nordicsemi.com/thread/446498?ContentTypeID=1</link><pubDate>Mon, 18 Sep 2023 15:47:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3d432fad-d4f0-4399-8224-73173763c27c</guid><dc:creator>Nathan</dc:creator><description>&lt;p&gt;Priyanka,&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve done some more testing and determined that the everything works if I&amp;#39;m running and debugging on an nRF devkit, but using a segger j-link base compact debugger with my custom board is not working anymore. Which is weird because you&amp;#39;d think that if I can get as far as erasing and programming the chip successfully, then it would hit the breakpoint at the start of main normally. I&amp;#39;ll do some more testing and if I can&amp;#39;t figure it out, I&amp;#39;ll at least be able get you much more specific information about what specifically triggers the issue.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Nathan&lt;/p&gt;
&lt;p&gt;Edit: Here&amp;#39;s the debug console output when I run the debugger on the devkit for the exact same program, which does reach the breakpoint at the start of main:&lt;/p&gt;
&lt;p&gt;JLinkGDBServerCL: SEGGER J-Link GDB Server V7.80c Command Line Version&lt;br /&gt;JLinkGDBServerCL: &lt;br /&gt;JLinkGDBServerCL: JLinkARM.dll V7.80c (DLL compiled Sep 27 2022 16:06:20)&lt;br /&gt;JLinkGDBServerCL: &lt;br /&gt;JLinkGDBServerCL: -----GDB Server start settings-----&lt;br /&gt;JLinkGDBServerCL: GDBInit file: none&lt;br /&gt;JLinkGDBServerCL: GDB Server Listening port: 54069&lt;br /&gt;JLinkGDBServerCL: SWO raw output listening port: 2332&lt;br /&gt;JLinkGDBServerCL: Terminal I/O port: 2333&lt;br /&gt;JLinkGDBServerCL: Accept remote connection: localhost only&lt;br /&gt;JLinkGDBServerCL: Generate logfile: off&lt;br /&gt;JLinkGDBServerCL: Verify download: off&lt;br /&gt;JLinkGDBServerCL: Init regs on start: off&lt;br /&gt;JLinkGDBServerCL: Silent mode: on&lt;br /&gt;JLinkGDBServerCL: Single run mode: on&lt;br /&gt;JLinkGDBServerCL: Target connection timeout: 0 ms&lt;br /&gt;JLinkGDBServerCL: ------J-Link related settings------&lt;br /&gt;JLinkGDBServerCL: J-Link Host interface: USB&lt;br /&gt;JLinkGDBServerCL: J-Link script: none&lt;br /&gt;JLinkGDBServerCL: J-Link settings file: none&lt;br /&gt;JLinkGDBServerCL: ------Target related settings------&lt;br /&gt;JLinkGDBServerCL: Target device: nRF5340_xxAA_APP&lt;br /&gt;JLinkGDBServerCL: Target device parameters: none&lt;br /&gt;JLinkGDBServerCL: Target interface: SWD&lt;br /&gt;JLinkGDBServerCL: Target interface speed: 12000kHz&lt;br /&gt;JLinkGDBServerCL: Target endian: little&lt;br /&gt;JLinkGDBServerCL: &lt;br /&gt;=thread-group-added,id=&amp;quot;i1&amp;quot;&lt;br /&gt;=cmd-param-changed,param=&amp;quot;pagination&amp;quot;,value=&amp;quot;off&amp;quot;&lt;br /&gt;0x0001b4f4 in _skip_0 () at D:/Jobs/*redacted*/zephyr/arch/arm/core/aarch32\cpu_idle.S:129&lt;br /&gt;129 _sleep_if_allowed wfi&lt;br /&gt;[New Thread 536915128]&lt;br /&gt;[New Thread 536912832]&lt;br /&gt;[New Thread 536913064]&lt;br /&gt;[New Thread 536915528]&lt;br /&gt;[New Thread 536914864]&lt;br /&gt;[New Thread 536909784]&lt;br /&gt;[New Thread 536910784]&lt;br /&gt;[New Thread 536909984]&lt;br /&gt;[New Thread 536910184]&lt;br /&gt;[New Thread 536910584]&lt;br /&gt;[New Thread 536910384]&lt;br /&gt;[New Thread 536911240]&lt;br /&gt;[New Thread 536911040]&lt;br /&gt;[New Thread 536911440]&lt;br /&gt;[New Thread 536915328]&lt;br /&gt;[Switching to Thread 536915328]&lt;/p&gt;
&lt;p&gt;Thread 16 hit Breakpoint 1, main () at ../src/main.c:556&lt;br /&gt;556 {&lt;br /&gt;Execute debugger commands using &amp;quot;-exec &amp;lt;command&amp;gt;&amp;quot;, for example &amp;quot;-exec info registers&amp;quot; will list registers in use (when GDB is the debugger)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Determining required jlink version for nrf connect vscode extension</title><link>https://devzone.nordicsemi.com/thread/446267?ContentTypeID=1</link><pubDate>Fri, 15 Sep 2023 12:17:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:03a5173e-5aa7-47b5-b3cc-fab963d0ce77</guid><dc:creator>Priyanka</dc:creator><description>&lt;p&gt;Hi Nathan,&lt;/p&gt;
&lt;p&gt;I will check this internally with the team and get back to you.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Priyanka&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Determining required jlink version for nrf connect vscode extension</title><link>https://devzone.nordicsemi.com/thread/445838?ContentTypeID=1</link><pubDate>Wed, 13 Sep 2023 12:20:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e24ba418-06e6-4ff7-9428-de8056968536</guid><dc:creator>Nathan</dc:creator><description>&lt;p&gt;My nRF Connect for Desktop version is 4.2.0, latest applet versions associated. J-link version is the one that got installed with that update to Connect for Desktop, V7.80c. The nrf connect extension for VS Code is the September release, 2023.9.169. I have version 2.4.0 of the SDK still installed alongside 2.4.1,&amp;nbsp;both of which were installed using a previous version of the nRF Connect for Desktop using the toolchain manager there.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The &amp;quot;program&amp;quot; is the executable that is produced by my project, which is flashed and&amp;nbsp;runs on the nRF53. Before my IDE, j-link and nrf connect applications were updated I would tell the extension to run the debugger, and it would flash the board and stop at the breakpoint at the start of main. Then I would be able to debug normally from there. But now after my software has updated I&amp;#39;m not hitting the breakpoint at the start of main anymore. Specifically I get this in the debug console:&lt;/p&gt;
&lt;p&gt;JLinkGDBServerCL: SEGGER J-Link GDB Server V7.80c Command Line Version&lt;br /&gt;JLinkGDBServerCL: &lt;br /&gt;JLinkGDBServerCL: JLinkARM.dll V7.80c (DLL compiled Sep 27 2022 16:06:20)&lt;br /&gt;JLinkGDBServerCL: &lt;br /&gt;JLinkGDBServerCL: -----GDB Server start settings-----&lt;br /&gt;JLinkGDBServerCL: GDBInit file: none&lt;br /&gt;JLinkGDBServerCL: GDB Server Listening port: 50204&lt;br /&gt;JLinkGDBServerCL: SWO raw output listening port: 2332&lt;br /&gt;JLinkGDBServerCL: Terminal I/O port: 2333&lt;br /&gt;JLinkGDBServerCL: Accept remote connection: localhost only&lt;br /&gt;JLinkGDBServerCL: Generate logfile: off&lt;br /&gt;JLinkGDBServerCL: Verify download: off&lt;br /&gt;JLinkGDBServerCL: Init regs on start: off&lt;br /&gt;JLinkGDBServerCL: Silent mode: on&lt;br /&gt;JLinkGDBServerCL: Single run mode: on&lt;br /&gt;JLinkGDBServerCL: Target connection timeout: 0 ms&lt;br /&gt;JLinkGDBServerCL: ------J-Link related settings------&lt;br /&gt;JLinkGDBServerCL: J-Link Host interface: USB&lt;br /&gt;JLinkGDBServerCL: J-Link script: none&lt;br /&gt;JLinkGDBServerCL: J-Link settings file: none&lt;br /&gt;JLinkGDBServerCL: ------Target related settings------&lt;br /&gt;JLinkGDBServerCL: Target device: nRF5340_xxAA_APP&lt;br /&gt;JLinkGDBServerCL: Target device parameters: none&lt;br /&gt;JLinkGDBServerCL: Target interface: SWD&lt;br /&gt;JLinkGDBServerCL: Target interface speed: 12000kHz&lt;br /&gt;JLinkGDBServerCL: Target endian: little&lt;br /&gt;JLinkGDBServerCL: &lt;br /&gt;=thread-group-added,id=&amp;quot;i1&amp;quot;&lt;br /&gt;=cmd-param-changed,param=&amp;quot;pagination&amp;quot;,value=&amp;quot;off&amp;quot;&lt;br /&gt;0x000196e4 in _skip_1 () at D:/Jobs/*redacted*/zephyr/arch/arm/core/aarch32\cpu_idle.S:186&lt;br /&gt;186 _sleep_if_allowed wfe&lt;br /&gt;[New Remote target]&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Determining required jlink version for nrf connect vscode extension</title><link>https://devzone.nordicsemi.com/thread/445831?ContentTypeID=1</link><pubDate>Wed, 13 Sep 2023 11:51:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:67120487-6362-4802-b4af-57c6b14b83d3</guid><dc:creator>Priyanka</dc:creator><description>&lt;p&gt;HI Nathan,&lt;/p&gt;
&lt;p&gt;Could you provide me with the following details:&lt;/p&gt;
&lt;p&gt;1. nRF Connect for Desktop version&lt;/p&gt;
&lt;p&gt;2. Do you have any other SDK versions also installed?&lt;/p&gt;
&lt;p&gt;3. What is your j-link version now?&lt;/p&gt;
&lt;p&gt;4.&amp;nbsp;&lt;/p&gt;
[quote user=""]Specifically the program just&amp;nbsp;seems to&amp;nbsp;jump to the &amp;quot;sleep if able&amp;quot; function block before reaching main. [/quote]
&lt;p&gt;Which program are you mentioning here abut Is it your 5340 project that is mentioned here?&lt;/p&gt;
&lt;p&gt;Best Regards,&lt;/p&gt;
&lt;p&gt;Priyanka&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>