<?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 nRF52832 with OpenOCD on Raspberry Pi3</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/51022/programming-nrf52832-with-openocd-on-raspberry-pi3</link><description>Hello, 
 I&amp;#39;m trying to use raspberry pi to program nRF52832 on mass production. Because it&amp;#39;s easy to do some test job with raspberry pi. 
 But there are still some issue I have no idea how to resolve them. 
 
 Env: 
 
 
 Raspberry Pi 3B+ (Software up</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 16 Aug 2019 13:40:58 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/51022/programming-nrf52832-with-openocd-on-raspberry-pi3" /><item><title>RE: Programming nRF52832 with OpenOCD on Raspberry Pi3</title><link>https://devzone.nordicsemi.com/thread/204534?ContentTypeID=1</link><pubDate>Fri, 16 Aug 2019 13:40:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:89aee86f-f3ce-461a-8c36-363a46a48f17</guid><dc:creator>Stian R&amp;#248;ed Hafskjold</dc:creator><description>&lt;p&gt;Thanks for sharing!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programming nRF52832 with OpenOCD on Raspberry Pi3</title><link>https://devzone.nordicsemi.com/thread/204468?ContentTypeID=1</link><pubDate>Fri, 16 Aug 2019 11:07:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c5757fff-3a63-43ef-acee-0634f3f2142b</guid><dc:creator>xianii</dc:creator><description>&lt;p&gt;Update:&lt;/p&gt;
&lt;p&gt;Tried set different `bcm2835gpio_speed_coeffs`, not work.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Tried with `interface sysfsgpio` other than `bcm2835gpio`&lt;/p&gt;
&lt;p&gt;This makes openocd works on programming nRF52832 with the RPI3B, meanwhile it will slow down the programming speed much.&lt;/p&gt;
&lt;p&gt;But at least, it worked in the end.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programming nRF52832 with OpenOCD on Raspberry Pi3</title><link>https://devzone.nordicsemi.com/thread/204424?ContentTypeID=1</link><pubDate>Fri, 16 Aug 2019 08:50:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c910b5cc-b41c-4791-b8ae-b258dc8c3f3d</guid><dc:creator>xianii</dc:creator><description>&lt;p&gt;Thx for the clue.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Noticed someone there posted that he make it work on RPI2 other than RPI3B.&lt;/p&gt;
&lt;p&gt;So, I tested different version of RasPi with the same TF card.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Result:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span&gt;Raspberry Pi 3B [Failed]&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Raspberry Pi 3B+ [Failed]&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Raspberry Pi 2B [Succeed]&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Quite weird&amp;nbsp;for me. But&amp;nbsp;at least, I can make it work on RPI2B for now.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I&amp;#39;ll try it on Pi Zero later.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Seems this issue is caused&amp;nbsp;by the difference&amp;nbsp;between RPI2 and RPI3 .&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I guess there should be someway to&amp;nbsp;make it work on RPI3. Help needed on this.&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: Programming nRF52832 with OpenOCD on Raspberry Pi3</title><link>https://devzone.nordicsemi.com/thread/204312?ContentTypeID=1</link><pubDate>Thu, 15 Aug 2019 13:08:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bcc85637-40b7-42a0-a159-73034f2ac742</guid><dc:creator>Stian R&amp;#248;ed Hafskjold</dc:creator><description>&lt;p&gt;Someone in this thread suggested that the error message is because of bad connection: &lt;a href="https://www.scooterhacking.org/forum/viewtopic.php?t=45"&gt;https://www.scooterhacking.org/forum/viewtopic.php?t=45&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programming nRF52832 with OpenOCD on Raspberry Pi3</title><link>https://devzone.nordicsemi.com/thread/204310?ContentTypeID=1</link><pubDate>Thu, 15 Aug 2019 13:04:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3b2f731f-f609-483b-bebf-ef22c70e21db</guid><dc:creator>Stian R&amp;#248;ed Hafskjold</dc:creator><description>&lt;p&gt;Can you try to do an eraseall first trough nrfjprog on a computer where you have JLink installed?&lt;/p&gt;
&lt;p&gt;We don&amp;#39;t officially support OpenOCD but there are several users here on the forum that uses it, so maybe someone has any ideas.&lt;/p&gt;
&lt;p&gt;You can also try to ask in the OpenOCD forum&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>