<?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>Not able to program NRF52840 through PCA 10040 development kit.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/102823/not-able-to-program-nrf52840-through-pca-10040-development-kit</link><description>Hi All, 
 I am trying to program my custom board (NRF52840) through NRF52832(PCA10040) development kit. I am using the debug out connector P19 to load the file into my custom board. But its giving me error saying &amp;quot;stopped by vector cache&amp;quot;. Can anyone</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 18 Aug 2023 21:33:44 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/102823/not-able-to-program-nrf52840-through-pca-10040-development-kit" /><item><title>RE: Not able to program NRF52840 through PCA 10040 development kit.</title><link>https://devzone.nordicsemi.com/thread/442141?ContentTypeID=1</link><pubDate>Fri, 18 Aug 2023 21:33:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:79c5a01e-3cb4-4561-b2a2-168fb5157916</guid><dc:creator>JONATHAN LL</dc:creator><description>&lt;p&gt;This is a issue that can be rated to&amp;nbsp; couple of things.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;There is one solution shown here but not sure if this fits your scenario:&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/80313/stopped-by-vector-catch"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/80313/stopped-by-vector-catch&lt;/a&gt;&amp;nbsp;&lt;br /&gt;&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Maybe double check the &amp;quot;Memory Segments&amp;quot; section in the Linker setting and the&amp;nbsp; &amp;quot;Section Placement Macros&amp;quot; settings. Maybe there is something wrong there?&lt;br /&gt;&lt;br /&gt;What SDK are you using and do you have the same issue if you are using a default example application?&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Maybe have a read here as well&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/72900/stopped-by-vector-catch-unknown-function"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/72900/stopped-by-vector-catch-unknown-function&lt;/a&gt;&amp;nbsp;&amp;nbsp;, might be of help.&lt;br /&gt;&lt;br /&gt;If not pleas share some details about the SDK and what application that is causing this?&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Are there any other warnings or errors?&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Jonathan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Not able to program NRF52840 through PCA 10040 development kit.</title><link>https://devzone.nordicsemi.com/thread/441734?ContentTypeID=1</link><pubDate>Thu, 17 Aug 2023 05:31:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:53d8e2c6-4e44-4c6f-af90-33a5bf58725a</guid><dc:creator>sne_333</dc:creator><description>&lt;p&gt;Hi Jonathan,&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;I am getting this error when trying to do erase all&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1692250273786v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;I also tried to do &amp;quot;nrfjprog --recover -f nrf52 --log&amp;quot;. Device got recovered and program was also flashed. But nothing comes up on RTT viewer. Also again when I try to use segger for debugging I again get this error of stopped by vector cache.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1692250684453v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;What to do?&lt;/p&gt;
&lt;p&gt;Thanks &amp;amp; Regards,&lt;/p&gt;
&lt;p&gt;Snehal&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Not able to program NRF52840 through PCA 10040 development kit.</title><link>https://devzone.nordicsemi.com/thread/441657?ContentTypeID=1</link><pubDate>Wed, 16 Aug 2023 13:55:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:58975874-6b6f-4aed-b5e3-1fefa3c9ef41</guid><dc:creator>JONATHAN LL</dc:creator><description>&lt;p&gt;Trying to figure out where the issue is. So it is just a step for debugging.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;It could be that the issue is something that occurs due to some issues with settings for the custom board.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;There are other cases here on Devzone with the same error message but it could be different reasons for it. Can happen during debugging or if the application starts a specific place in memory.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/search?q=Stopped%20by%20vector%20catch"&gt;https://devzone.nordicsemi.com/search?q=Stopped%20by%20vector%20catch&lt;/a&gt;&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Jonathan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Not able to program NRF52840 through PCA 10040 development kit.</title><link>https://devzone.nordicsemi.com/thread/441651?ContentTypeID=1</link><pubDate>Wed, 16 Aug 2023 13:44:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0414c476-d5a8-4032-859a-fe54b16083ef</guid><dc:creator>sne_333</dc:creator><description>&lt;p&gt;But we should be able to program via Segger too right? Do we need to change any settings?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Not able to program NRF52840 through PCA 10040 development kit.</title><link>https://devzone.nordicsemi.com/thread/441649?ContentTypeID=1</link><pubDate>Wed, 16 Aug 2023 13:36:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:29d142ec-115d-4f18-9f9e-0f92af543f3c</guid><dc:creator>JONATHAN LL</dc:creator><description>&lt;p&gt;&lt;span&gt;You will get &amp;quot;Stopped by vector catch&amp;quot; if your application starts from 0x1000 but you have not programmed the MBR. Could that be the case?&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Can you try to use the &lt;a href="https://www.nordicsemi.com/Products/Development-tools/nrf-command-line-tools"&gt;nrfjprog command line&lt;/a&gt; tool?&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Use the commands&lt;br /&gt;&lt;br /&gt;To prepare the board for programming.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;code&gt;nrfjprog --recover&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Then to program&lt;/p&gt;
&lt;p&gt;&lt;code&gt;nrfjprog -program &amp;lt;file.hex&amp;gt; &lt;span&gt;--verify&lt;/span&gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;If neither of the above work the add the --log at the end and share the log.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Jonathan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Not able to program NRF52840 through PCA 10040 development kit.</title><link>https://devzone.nordicsemi.com/thread/441397?ContentTypeID=1</link><pubDate>Tue, 15 Aug 2023 13:10:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cfd09a7b-377d-4e30-8e54-5bfd5e274a18</guid><dc:creator>sne_333</dc:creator><description>&lt;p&gt;Yes the board was working. I had programmed it many times using NRF52840 dev kit... Now I want to program it via NRF52 dev kit but its not working. I am trying to flash the code via Segger embedded studio. In Segger ES it gives me an error of&lt;/p&gt;
&lt;p&gt;&amp;quot;s&lt;span&gt;topped by vector cache&amp;quot;. I also tried to flash it via Jlink Flashlite tool but that also gives me Download fail error.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The custom board is connected to Development kit through JTAG wire on P19 connector of development board.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks &amp;amp; Regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;snehal&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Not able to program NRF52840 through PCA 10040 development kit.</title><link>https://devzone.nordicsemi.com/thread/441298?ContentTypeID=1</link><pubDate>Tue, 15 Aug 2023 07:41:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:63d2171c-85ac-42d5-8893-f447f7a95c32</guid><dc:creator>JONATHAN LL</dc:creator><description>&lt;p&gt;Can you share some info on the setup and how you connected to the custom board.&lt;br /&gt;&lt;br /&gt;Does the custom board work as expected otherwise?&amp;nbsp;&lt;br /&gt;&lt;br /&gt;What application are you trying to flash to the custom board?&amp;nbsp;&lt;br /&gt;&lt;br /&gt;And how are you trying to flash\program the board. Are you using Segger Embedded studio or have you tested with other tools like nrfjprog or the nRF Connect for desktop programmer app?&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Jonathan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>