<?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>J-Flash failed to erase chip</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/112551/j-flash-failed-to-erase-chip</link><description>Hi, 
 I build a custom board (nRF52840) but I&amp;#39;m not able to flash it using nRF5340DK with J-Flash via SWD interface. 
 1. The first thing I did was to do a full chip erase. However, I got the error message &amp;quot;RAMCode did not respond in time&amp;quot;. 
 2. I later</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 28 Jun 2024 20:58:18 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/112551/j-flash-failed-to-erase-chip" /><item><title>RE: J-Flash failed to erase chip</title><link>https://devzone.nordicsemi.com/thread/491420?ContentTypeID=1</link><pubDate>Fri, 28 Jun 2024 20:58:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dd680fcf-393e-4933-b252-a74b3428fb00</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;That may be the case. It may be that you are lucky and it works on the bad unit if you try to reduce the clockspeed. You can try to use the flag -c or --clockspeed to set the debugger SWD clockspeed. I see from your screenshots and logs that it is anywhere from 2000 to 4000 kHz, so try setting it to 1000, or even 500 kHz:&lt;/p&gt;
&lt;p&gt;nrfjprog --clockspeed 500 --eraseall&lt;br /&gt;nrfjprog --clockspeed 500 --program &amp;lt;path_to_hex&amp;gt; --verify&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: J-Flash failed to erase chip</title><link>https://devzone.nordicsemi.com/thread/491281?ContentTypeID=1</link><pubDate>Fri, 28 Jun 2024 10:22:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8100d3db-e903-4d52-a6f6-533ac6b6ca9a</guid><dc:creator>yesheng</dc:creator><description>&lt;p&gt;I guess this is a SMT issue. I tested another board and it worked as expected.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>