<?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>JLink Info: Reset: Halt core after reset via DEMCR.VC_CORERESET.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/65502/jlink-info-reset-halt-core-after-reset-via-demcr-vc_corereset</link><description>Hello, 
 We are using the nRF52 DK board and Keil uvision 5. 
 Using SDK 17.0.0 we can successfully load and build the `examples`. If we choose `examples/peripherals` we can build and run these projects. 
 However, if you use examples/ble_peripherals</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 08 Sep 2020 08:07:04 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/65502/jlink-info-reset-halt-core-after-reset-via-demcr-vc_corereset" /><item><title>RE: JLink Info: Reset: Halt core after reset via DEMCR.VC_CORERESET.</title><link>https://devzone.nordicsemi.com/thread/268427?ContentTypeID=1</link><pubDate>Tue, 08 Sep 2020 08:07:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:50ff8254-55c0-4732-8098-15b96d207c6a</guid><dc:creator>pformkin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Sorry you are correct. I have just loaded an application and it working fine :-). I was focusing too much on removing:&lt;/p&gt;
&lt;p&gt;&lt;span&gt;* JLink Info: Reset: Halt core after reset via DEMCR.VC_CORERESET.&lt;/span&gt;&lt;br /&gt;&lt;span&gt;* JLink Info: Reset: Reset device via AIRCR.SYSRESETREQ.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thank you very much for your help. It seems that&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;C:\Users\fpformkin&amp;gt;nrfjprog -f nrf52 --recover&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Fixed it.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Regards,&lt;br /&gt;Tom&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: JLink Info: Reset: Halt core after reset via DEMCR.VC_CORERESET.</title><link>https://devzone.nordicsemi.com/thread/268422?ContentTypeID=1</link><pubDate>Tue, 08 Sep 2020 07:58:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:188ac2c2-ff6f-4715-9104-ce50e05e5946</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;That seems like a successful flash of a program.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: JLink Info: Reset: Halt core after reset via DEMCR.VC_CORERESET.</title><link>https://devzone.nordicsemi.com/thread/268267?ContentTypeID=1</link><pubDate>Mon, 07 Sep 2020 11:26:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d0a6a855-6a6b-4ade-a218-4cb52c7bc980</guid><dc:creator>pformkin</dc:creator><description>&lt;p&gt;OK, installed the command line tools and run:&lt;/p&gt;
&lt;p&gt;C:\Users\fpformkin&amp;gt;nrfjprog -f nrf52 --recover&lt;br /&gt;Recovering device. This operation might take 30s.&lt;br /&gt;Erasing user code and UICR flash areas.&lt;/p&gt;
&lt;p&gt;Went back to Keil&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1599477944463v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;and tried programming the softdevice part of the project and get the following problem.&lt;/p&gt;
&lt;p&gt;JLink info:&lt;br /&gt;------------&lt;br /&gt;DLL: V6.46 , compiled May 23 2019 17:49:56&lt;br /&gt;Firmware: J-Link OB-SAM3U128-V2-NordicSemi compiled Mar 17 2020 14:43:00&lt;br /&gt;Hardware: V1.00&lt;br /&gt;S/N : 682371969 &lt;br /&gt; &lt;br /&gt;* JLink Info: Found SW-DP with ID 0x2BA01477&lt;br /&gt;* JLink Info: Found SW-DP with ID 0x2BA01477&lt;br /&gt;* JLink Info: Scanning AP map to find all available APs&lt;br /&gt;* JLink Info: AP[2]: Stopped AP scan as end of AP map has been reached&lt;br /&gt;* JLink Info: AP[0]: AHB-AP (IDR: 0x24770011)&lt;br /&gt;* JLink Info: AP[1]: JTAG-AP (IDR: 0x02880000)&lt;br /&gt;* JLink Info: Iterating through AP map to find AHB-AP to use&lt;br /&gt;* JLink Info: AP[0]: Core found&lt;br /&gt;* JLink Info: AP[0]: AHB-AP ROM base: 0xE00FF000&lt;br /&gt;* JLink Info: CPUID register: 0x410FC241. Implementer code: 0x41 (ARM)&lt;br /&gt;* JLink Info: Found Cortex-M4 r0p1, Little endian.&lt;br /&gt;* JLink Info: FPUnit: 6 code (BP) slots and 2 literal slots&lt;br /&gt;* JLink Info: CoreSight components:&lt;br /&gt;* JLink Info: ROMTbl[0] @ E00FF000&lt;br /&gt;* JLink Info: ROMTbl[0][0]: E000E000, CID: B105E00D, PID: 000BB00C SCS-M7&lt;br /&gt;* JLink Info: ROMTbl[0][1]: E0001000, CID: B105E00D, PID: 003BB002 DWT&lt;br /&gt;* JLink Info: ROMTbl[0][2]: E0002000, CID: B105E00D, PID: 002BB003 FPB&lt;br /&gt;* JLink Info: ROMTbl[0][3]: E0000000, CID: B105E00D, PID: 003BB001 ITM&lt;br /&gt;* JLink Info: ROMTbl[0][4]: E0040000, CID: B105900D, PID: 000BB9A1 TPIU&lt;br /&gt;* JLink Info: ROMTbl[0][5]: E0041000, CID: B105900D, PID: 000BB925 ETM&lt;br /&gt;ROMTableAddr = 0xE00FF000&lt;br /&gt;* JLink Info: Reset: Halt core after reset via DEMCR.VC_CORERESET.&lt;br /&gt;* JLink Info: Reset: Reset device via AIRCR.SYSRESETREQ.&lt;br /&gt; &lt;br /&gt;Target info:&lt;br /&gt;------------&lt;br /&gt;Device: nRF52832_xxAA&lt;br /&gt;VTarget = 3.300V&lt;br /&gt;State of Pins: &lt;br /&gt;TCK: 0, TDI: 1, TDO: 1, TMS: 1, TRES: 1, TRST: 1&lt;br /&gt;Hardware-Breakpoints: 6&lt;br /&gt;Software-Breakpoints: 8192&lt;br /&gt;Watchpoints: 4&lt;br /&gt;JTAG speed: 1000 kHz&lt;br /&gt; &lt;br /&gt;Erase Done.&lt;br /&gt;Programming Done.&lt;br /&gt;Verify OK.&lt;br /&gt;* JLink Info: Reset: Halt core after reset via DEMCR.VC_CORERESET.&lt;br /&gt;* JLink Info: Reset: Reset device via AIRCR.SYSRESETREQ.&lt;br /&gt;Application running ...&lt;br /&gt;Flash Load finished at 12:22:58&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: JLink Info: Reset: Halt core after reset via DEMCR.VC_CORERESET.</title><link>https://devzone.nordicsemi.com/thread/268262?ContentTypeID=1</link><pubDate>Mon, 07 Sep 2020 11:09:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7b058dbc-c83c-46bf-bd38-fc3c1ca00cd4</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;Then you&amp;#39;ll need to install&amp;nbsp;&lt;a title="nRF5x Command Line Tools" href="https://infocenter.nordicsemi.com/topic/ug_nrf5x_cltools/UG/cltools/nrf5x_command_line_tools_lpage.html?cp=9_1"&gt;nRF5x Command Line Tools&lt;/a&gt;&amp;nbsp;first, or if you already have, fix a likely path issue.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: JLink Info: Reset: Halt core after reset via DEMCR.VC_CORERESET.</title><link>https://devzone.nordicsemi.com/thread/268255?ContentTypeID=1</link><pubDate>Mon, 07 Sep 2020 10:45:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1bea554b-ec54-4c37-ac95-64cea43fbfed</guid><dc:creator>pformkin</dc:creator><description>&lt;p&gt;Does my previous post enlighten you to the problem?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: JLink Info: Reset: Halt core after reset via DEMCR.VC_CORERESET.</title><link>https://devzone.nordicsemi.com/thread/268086?ContentTypeID=1</link><pubDate>Fri, 04 Sep 2020 13:11:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d9bc0b02-2315-42a9-b947-84257ff6abff</guid><dc:creator>pformkin</dc:creator><description>&lt;p&gt;I have not made any changes to the settings - where is the &amp;quot;read back protection&amp;quot; setting?&lt;/p&gt;
&lt;p&gt;Keil is this:&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;IDE-Version:&lt;br /&gt;&amp;micro;Vision V5.29.0.0&lt;br /&gt;Copyright (C) 2019 ARM Ltd and ARM Germany GmbH. All rights reserved.&lt;/p&gt;
&lt;p&gt;License Information:&lt;br /&gt;Tom Myers&lt;br /&gt;Platform Kinetics&lt;br /&gt;LIC=9XJTH-W4BLK-28JFI-RAW47-QL62Z-JRCWV&lt;/p&gt;
&lt;p&gt;Tool Version Numbers:&lt;br /&gt;Toolchain: MDK-ARM Essential Version: 5.29.0.0&lt;br /&gt;Toolchain Path: C:\Keil_v5\ARM\ARMCC\Bin&lt;br /&gt;C Compiler: Armcc.exe V5.06 update 6 (build 750)&lt;br /&gt;Assembler: Armasm.exe V5.06 update 6 (build 750)&lt;br /&gt;Linker/Locator: ArmLink.exe V5.06 update 6 (build 750)&lt;br /&gt;Library Manager: ArmAr.exe V5.06 update 6 (build 750)&lt;br /&gt;Hex Converter: FromElf.exe V5.06 update 6 (build 750)&lt;br /&gt;CPU DLL: SARMCM3.DLL V5.29.0.0&lt;br /&gt;Dialog DLL: TCM.DLL V1.36.5.0&lt;br /&gt;Target DLL: Segger\JL2CM3.dll V2.99.36.0&lt;br /&gt;Dialog DLL: TCM.DLL V1.36.5.0&lt;/p&gt;
&lt;p&gt;Jlink driver is this:&lt;/p&gt;
&lt;p&gt;J-Link OB-SAM3U128-V2-NordicSemi compiled Mar 17 2020 14:43:00&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;From a Win10 environment I tried running `&lt;span&gt;nrfjprog -f nrf52 --recover` but got this:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;#39;nrfjprog&amp;#39; is not recognized as an internal or external command,&lt;br /&gt;operable program or batch file.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: JLink Info: Reset: Halt core after reset via DEMCR.VC_CORERESET.</title><link>https://devzone.nordicsemi.com/thread/268075?ContentTypeID=1</link><pubDate>Fri, 04 Sep 2020 12:47:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:91caece6-c881-4330-a216-cae7bd15e6c5</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;Did you enable readback protection by any chance?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;What version of Keil are you using?&amp;nbsp;&lt;br /&gt;&lt;br /&gt;What version of the JLink driver are you using?&lt;br /&gt;&lt;br /&gt;Try using&amp;nbsp;nrfjprog -f nrf52 --recover from a command line.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: JLink Info: Reset: Halt core after reset via DEMCR.VC_CORERESET.</title><link>https://devzone.nordicsemi.com/thread/268056?ContentTypeID=1</link><pubDate>Fri, 04 Sep 2020 12:09:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f29f9dba-ebe1-425d-b0e5-f9d2acbfc5b2</guid><dc:creator>pformkin</dc:creator><description>&lt;p&gt;Why does it say &amp;quot;Error: Flash Download failed&amp;nbsp; -&amp;nbsp; &amp;quot;Cortex-M4&amp;quot;?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: JLink Info: Reset: Halt core after reset via DEMCR.VC_CORERESET.</title><link>https://devzone.nordicsemi.com/thread/268037?ContentTypeID=1</link><pubDate>Fri, 04 Sep 2020 11:30:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b711e313-3031-4ba9-99e6-3f0bb9f83407</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;You should only need to flash the SoftDevice once, then Keil will do a sector erase whenever you need to flash your application, f.ex when you do a build&amp;amp;run.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: JLink Info: Reset: Halt core after reset via DEMCR.VC_CORERESET.</title><link>https://devzone.nordicsemi.com/thread/267963?ContentTypeID=1</link><pubDate>Fri, 04 Sep 2020 07:32:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2584f897-4f80-4518-957e-a03f7a2e7114</guid><dc:creator>pformkin</dc:creator><description>&lt;p&gt;I downloaded the nRF Connect For Desktop and that programmed the softdevice. BUT still when I go back to Keil and try and load/run an application I still get the same project.&lt;/p&gt;
&lt;p&gt;In each of the Keil projects that Nordic have provided there is a &amp;quot;softDevice&amp;quot; and a &amp;quot;&lt;span&gt;nrf52832_xxaa&amp;quot; target. I tried flashing the &amp;quot;softDevice&amp;quot; without building and it has the error:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;**Error: Flash Download failed - &amp;quot;Cortex-M4&amp;quot;**&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;See full log here.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;JLink info:&lt;br /&gt;------------&lt;br /&gt;DLL: V6.46 , compiled May 23 2019 17:49:56&lt;br /&gt;Firmware: J-Link OB-SAM3U128-V2-NordicSemi compiled Mar 17 2020 14:43:00&lt;br /&gt;Hardware: V1.00&lt;br /&gt;S/N : 682371969 &lt;br /&gt; &lt;br /&gt;* JLink Info: Found SW-DP with ID 0x2BA01477&lt;br /&gt;* JLink Info: Found SW-DP with ID 0x2BA01477&lt;br /&gt;* JLink Info: Scanning AP map to find all available APs&lt;br /&gt;* JLink Info: AP[2]: Stopped AP scan as end of AP map has been reached&lt;br /&gt;* JLink Info: AP[0]: AHB-AP (IDR: 0x24770011)&lt;br /&gt;* JLink Info: AP[1]: JTAG-AP (IDR: 0x02880000)&lt;br /&gt;* JLink Info: Iterating through AP map to find AHB-AP to use&lt;br /&gt;* JLink Info: AP[0]: Core found&lt;br /&gt;* JLink Info: AP[0]: AHB-AP ROM base: 0xE00FF000&lt;br /&gt;* JLink Info: CPUID register: 0x410FC241. Implementer code: 0x41 (ARM)&lt;br /&gt;* JLink Info: Found Cortex-M4 r0p1, Little endian.&lt;br /&gt;* JLink Info: FPUnit: 6 code (BP) slots and 2 literal slots&lt;br /&gt;* JLink Info: CoreSight components:&lt;br /&gt;* JLink Info: ROMTbl[0] @ E00FF000&lt;br /&gt;* JLink Info: ROMTbl[0][0]: E000E000, CID: B105E00D, PID: 000BB00C SCS-M7&lt;br /&gt;* JLink Info: ROMTbl[0][1]: E0001000, CID: B105E00D, PID: 003BB002 DWT&lt;br /&gt;* JLink Info: ROMTbl[0][2]: E0002000, CID: B105E00D, PID: 002BB003 FPB&lt;br /&gt;* JLink Info: ROMTbl[0][3]: E0000000, CID: B105E00D, PID: 003BB001 ITM&lt;br /&gt;* JLink Info: ROMTbl[0][4]: E0040000, CID: B105900D, PID: 000BB9A1 TPIU&lt;br /&gt;* JLink Info: ROMTbl[0][5]: E0041000, CID: B105900D, PID: 000BB925 ETM&lt;br /&gt;ROMTableAddr = 0xE00FF000&lt;br /&gt;* JLink Info: Reset: Halt core after reset via DEMCR.VC_CORERESET.&lt;br /&gt;* JLink Info: Reset: Reset device via AIRCR.SYSRESETREQ.&lt;br /&gt; &lt;br /&gt;Target info:&lt;br /&gt;------------&lt;br /&gt;Device: nRF52832_xxAA&lt;br /&gt;VTarget = 3.300V&lt;br /&gt;State of Pins: &lt;br /&gt;TCK: 0, TDI: 1, TDO: 1, TMS: 1, TRES: 1, TRST: 1&lt;br /&gt;Hardware-Breakpoints: 6&lt;br /&gt;Software-Breakpoints: 8192&lt;br /&gt;Watchpoints: 4&lt;br /&gt;JTAG speed: 1000 kHz&lt;br /&gt; &lt;br /&gt;Erase Failed!&lt;br /&gt;Error: Flash Download failed - &amp;quot;Cortex-M4&amp;quot;&lt;br /&gt;Flash Load finished at 08:30:00&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;We are wanting to develop our own product around this chip. Using nRF Connect Desktop can get the evaluation board to work, but we are interested in getting it working at the lower level through Keil ... otherwise we cannot develop a product.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I would have thought that the Keil examples you provided would work more smoothly with your own evaluation board?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: JLink Info: Reset: Halt core after reset via DEMCR.VC_CORERESET.</title><link>https://devzone.nordicsemi.com/thread/267858?ContentTypeID=1</link><pubDate>Thu, 03 Sep 2020 13:19:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8415392d-8cc1-4f1c-8df1-cee7702cd2a2</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;The softdevice is prebuilt, you only need to flash it.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;See&amp;nbsp;sdk/components/softdevice/s132/hex/s132_nrf52_7.0.1_softdevice.hex, use nrfjprog or nrf_programmer appi in nRF Connect For Desktop to flash it.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: JLink Info: Reset: Halt core after reset via DEMCR.VC_CORERESET.</title><link>https://devzone.nordicsemi.com/thread/267804?ContentTypeID=1</link><pubDate>Thu, 03 Sep 2020 10:57:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ccbc9224-8b7d-4232-bc4d-bb259923910a</guid><dc:creator>pformkin</dc:creator><description>&lt;p&gt;OK, so in Keil I have two targets to select &amp;#39;flash_s132_nrf52_7.0.1_softdevice&amp;#39; and&amp;nbsp;&amp;#39;nrf52832_xxaa&amp;#39;. I get the error when building/running&amp;nbsp;&amp;#39;nrf52832_xxaa&amp;#39;. Are you saying that I need to somehow build/program&amp;nbsp;&lt;span&gt;&amp;#39;&lt;/span&gt;&lt;span&gt;flash_s132_nrf52_7.0.1_softdevice&amp;#39;&amp;nbsp; first? &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;When I try and build this I get this error:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Build target &amp;#39;flash_s132_nrf52_7.0.1_softdevice&amp;#39;&lt;br /&gt;error - cannot create command input file &amp;#39;..\..\..\..\..\..\components\softdevice\s132\hex\main.__i&amp;#39;&lt;br /&gt;Target not created.&lt;br /&gt;Build Time Elapsed: 00:00:00&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: JLink Info: Reset: Halt core after reset via DEMCR.VC_CORERESET.</title><link>https://devzone.nordicsemi.com/thread/267800?ContentTypeID=1</link><pubDate>Thu, 03 Sep 2020 10:50:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:05ab112b-6438-4cfe-bb65-0ea24b73db39</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;You&amp;#39;ve most likely not flashed the SoftDevice, Keil does not do that automatically.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>