<?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>Doubts about programming</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/57070/doubts-about-programming</link><description>Hello. I&amp;#39;m having problems to programme the nRF52832. I&amp;#39;m just connecting the VCC (+3,3V), GND and SWDIO and SWDCLK. Is it ncessary to connect any other devices like capacitors or reset pins in the circuit? My problem is with programming process... I</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 05 Feb 2020 14:03:08 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/57070/doubts-about-programming" /><item><title>RE: Doubts about programming</title><link>https://devzone.nordicsemi.com/thread/232857?ContentTypeID=1</link><pubDate>Wed, 05 Feb 2020 14:03:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6da30759-ce27-41c1-8aa3-db265e933198</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi Anderson&lt;/p&gt;
&lt;p&gt;Glad you got it working! Yes, it should not be a problem to make a HelloWorld example that can be flashed onto your nRF. You can take a look at &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v16.0.0/gpio_example.html"&gt;our blinky example&lt;/a&gt; that should be ready to be flashed when downloading our SDK.&lt;/p&gt;
&lt;p&gt;However, we try to keep each ticket to its own topic as that makes the forum easier to navigate for people with similar issues in the future, so if you have any further questions on MBED development, I suggest you make a new ticket dedicated to that subject.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Doubts about programming</title><link>https://devzone.nordicsemi.com/thread/232795?ContentTypeID=1</link><pubDate>Wed, 05 Feb 2020 11:21:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:25cb6e2a-4c83-4ddf-998e-d310ec59e3c4</guid><dc:creator>Anderson Silva</dc:creator><description>&lt;p&gt;Hi Simonr.&lt;br /&gt;Thank you so much for your help.&lt;br /&gt;These resistors (R28 and R29) are not mounted. We put them in the circuit just to imagining (preventing) if these would be necessary pull ups... But after manufacture the PCB we confirm that wasn&amp;#39;t necessary.&lt;br /&gt;But we realised what was the problem yesterday and fix it. All the PCB had a problem in the conection from some pads (in top layer) and midlayer (intermitente conection). So we manufactor another PCB and it worked very well.&lt;br /&gt;Thank you very much for your help. With you w could filter and aliminate problems till find the real problem.&lt;br /&gt;&lt;br /&gt;Now I wish to ask you another question...&lt;br /&gt;Is it possible to create a simple &amp;quot;HelloWorld&amp;quot; code in MBED and program the Nordic with J-LINK?&lt;br /&gt;I&amp;#39;m asking you it because I&amp;#39;ve created a code to blink a led but it doesn&amp;#39;t blink the led.&lt;br /&gt;I&amp;#39;ve created a new program in MBED using Nordic nRF52-DK with template &amp;quot;(mbed OS 5)Blink LED HelloWorld&amp;quot; as you can see in the images bellow.&lt;br /&gt;And I&amp;#39;m trying to blink the a led connected to pin P0.28 in my PCB. But it doens&amp;#39;t works. I&amp;#39;ve already confirmed that led circuit works.&lt;br /&gt;In the Nordic Dev Kit (nRF52-DK) this program works very well (using the pins P0.17 ~ P0.20)... But in the PCB it doesn&amp;#39;t works... So I believe that probably MBED just Works with Dev Kit.&lt;br /&gt;Is it correct?&lt;br /&gt;&lt;br /&gt;Thank you very much again.&lt;br /&gt;Anderson&lt;br /&gt;&lt;br /&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1580901181450v2.png" alt=" " /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1580901092903v1.png" alt=" " /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Doubts about programming</title><link>https://devzone.nordicsemi.com/thread/232454?ContentTypeID=1</link><pubDate>Tue, 04 Feb 2020 07:43:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7e3a48d0-d9a6-44a0-9dfe-8c00db26e1e0</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;After looking at your layout, can you tell me whether the resistors R28 and R29 are mounted or not? Why are the SWCLK and SWDIO pins connected to the 3V3 net via these resistors? When programming these pins should only be connected to the SWD pins on the debugger and not have a voltage on them. The external chip must be powered itself, but not the SWD pins.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Doubts about programming</title><link>https://devzone.nordicsemi.com/thread/232316?ContentTypeID=1</link><pubDate>Mon, 03 Feb 2020 12:41:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b9c18bdf-e3ed-4385-9dae-b32b78b7be17</guid><dc:creator>Anderson Silva</dc:creator><description>&lt;p&gt;Hi Simonr&lt;br /&gt;These are the Gerber Files.&lt;br /&gt;As you can see I&amp;#39;ve placed the componentes as close as possible from the respective pins. But I&amp;#39;ve placed in the othe PCB face...&lt;br /&gt;But I didn&amp;#39;t imagined that it could cause the problem with programming process....&lt;br /&gt;Actually I&amp;#39;m still not so sure if this is the problemm...&lt;br /&gt;I believe that it could cause problems with performance or something related with Bluetooth... But not with programming process...&lt;br /&gt;Thanks for your help.&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/PCB_5F00_Nordic.zip"&gt;devzone.nordicsemi.com/.../PCB_5F00_Nordic.zip&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Doubts about programming</title><link>https://devzone.nordicsemi.com/thread/232224?ContentTypeID=1</link><pubDate>Mon, 03 Feb 2020 06:57:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8d908892-660f-44ac-a630-e84a8f1f0ab3</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi Anderson&lt;/p&gt;
&lt;p&gt;As long as the components still are as close as possible to the board pins moving them to the other side of the board shouldn&amp;#39;t be detrimental for your design. Do you mind uploading the Gerber files of your design so I can confirm whether or not your design is the problem?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Doubts about programming</title><link>https://devzone.nordicsemi.com/thread/232131?ContentTypeID=1</link><pubDate>Fri, 31 Jan 2020 15:44:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d03b8db2-4eea-4c96-8c63-4382ac7e7eeb</guid><dc:creator>Anderson Silva</dc:creator><description>&lt;p&gt;No no....&lt;br /&gt;The electrical connections are OK. The componentes are placed in correct positions.&lt;br /&gt;But the datasheet recomends to put the nRF in the TOP face and the periferal componentes in the TOP too (as close as possible of respecitive pins).&lt;br /&gt;But I&amp;#39;ve done the layout with this periferal devices in the BOTTON face.... and the nRF are in the TOP face... So the electrical connections are right. There&amp;#39;s no electrical mistakes... All the connections cross the PCB (by vias) from nRF (in the top) to perifecical devices (in the botoon)...&lt;br /&gt; I just haven&amp;#39;t followed the recommended layout.&lt;br /&gt;But I&amp;#39;m not sure if it would cause the problem with programming procedure...&lt;br /&gt;Do you think that it could be the reason?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Doubts about programming</title><link>https://devzone.nordicsemi.com/thread/232007?ContentTypeID=1</link><pubDate>Fri, 31 Jan 2020 07:11:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b2569c92-df16-42c0-8cd4-cc1f6d705b34</guid><dc:creator>Simonr</dc:creator><description>[quote user="Anderson Silva"]I placed these periferical componentes in the opossite side of PCB (the nRF is in the top and the capacitors are in the bottom).[/quote]
&lt;p&gt;&amp;nbsp;I&amp;#39;m sorry, but what do you mean by this? Have you connected the components that should go on one side of the board to the other, I.E. left to right and vice versa? In that case, this is definitely the reason you&amp;#39;re having trouble. If your nRF chip is on the wrong way, please try to desolder it and place it correctly.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Doubts about programming</title><link>https://devzone.nordicsemi.com/thread/231946?ContentTypeID=1</link><pubDate>Thu, 30 Jan 2020 15:07:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:45383e93-77cf-4928-a8d3-98868394ee43</guid><dc:creator>Anderson Silva</dc:creator><description>&lt;p&gt;I&amp;#39;ve readed again the datasheet and I noted one thing that I haven&amp;#39;t noted before...&lt;br /&gt;I placed these periferical componentes in the opossite side of PCB (the nRF is in the top and the capacitors are in the bottom).&lt;br /&gt;They are very close of respective nRF pins, but in opposite side of PCB.&lt;br /&gt;I believe that it can be the reason for can&amp;#39;t program it...&lt;br /&gt;What do you think? Is it possible?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Doubts about programming</title><link>https://devzone.nordicsemi.com/thread/231915?ContentTypeID=1</link><pubDate>Thu, 30 Jan 2020 13:56:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c1006e45-d538-40a9-8509-5a8176ebaddc</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;There shouldn&amp;#39;t be any&amp;nbsp;differences between the E0 and E1 build codes, these codes are just to track which supplier has manufactured the IC. Are the E0 and E1 connected identically HW-wise? On your schematics, there are some components that are crossed out in red, does that mean that they&amp;#39;re not mounted? If so, I think you should mount L2 and L3 in your DCDC circuit. Are R28 and R29 just shorted, as SWDIO and SWDCLK need to reach the chip somehow?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Doubts about programming</title><link>https://devzone.nordicsemi.com/thread/231856?ContentTypeID=1</link><pubDate>Thu, 30 Jan 2020 11:39:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:81eef135-b7de-4607-8c85-a8e65d14b537</guid><dc:creator>Anderson Silva</dc:creator><description>&lt;p&gt;These jumpers are exacltly how I&amp;#39;m trying to programm the nRF52.&lt;br /&gt;And bellow follows my circuit. It is very similar with reference design.&lt;br /&gt;The marking code of the nRF that I&amp;#39;m using is &amp;quot;N52832 QFAA E1&amp;quot; (that I can&amp;#39;t program). But I have other custom board with&amp;nbsp;&lt;span style="background-color:#ffffff;color:#000000;float:none;font-family:Verdana,Arial,Helvetica,sans-serif;font-size:12px;font-style:normal;font-weight:400;letter-spacing:normal;text-align:left;text-decoration:none;text-indent:0px;text-transform:none;white-space:normal;"&gt;&amp;quot;N52832 QFAA E0&amp;quot; that I can program very well... Is there any diference related with this &amp;quot;E0&amp;quot; and &amp;quot;E1&amp;quot;?&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1580384094007v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Doubts about programming</title><link>https://devzone.nordicsemi.com/thread/231822?ContentTypeID=1</link><pubDate>Thu, 30 Jan 2020 09:56:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0113d4ec-5b06-40ad-87a4-913e03619d34</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;It shouldn&amp;#39;t be necessary to do anything different when your program an nRF52 the first time. Please make sure that your custom board is connected to the DK like in the picture below. I&amp;#39;d also like to see the schematics of your custom board so I can see that everything is connected correctly. If you don&amp;#39;t want to share your schematic files publicly, please say so, and I will set this case to private mode so that only yourself and Nordic engineers will be able to see this case.&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-f91ed502dfa54a8a90e8a681e10afa21/ext_5F00_52DK.png" /&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Doubts about programming</title><link>https://devzone.nordicsemi.com/thread/231751?ContentTypeID=1</link><pubDate>Wed, 29 Jan 2020 18:39:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f1a63969-d62e-4c2b-a97c-5aac42681c35</guid><dc:creator>Anderson Silva</dc:creator><description>&lt;p&gt;This is exactly what I&amp;#39;m doing. But it doesn&amp;#39;t works.&lt;br /&gt;The programmer doesn&amp;#39;t recognize the nRF52 and can&amp;#39;t program it.&lt;br /&gt;Is necessary to do something in the first programming? Because the programer says that is not recognizing it or the device is blocked (protected).&lt;br /&gt;I tryied with different units but the results are the same.&lt;br /&gt;And the problem is not with the PCB...&lt;br /&gt;I&amp;#39;m not sure if is necessary to do something differente in the first programming to &amp;quot;unblock&amp;quot; it...&lt;br /&gt;Thanks again&lt;br /&gt;Regards&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Doubts about programming</title><link>https://devzone.nordicsemi.com/thread/231651?ContentTypeID=1</link><pubDate>Wed, 29 Jan 2020 12:51:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8d254970-1e5e-4e93-a7d8-da2a2ed9eb16</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;We recommend mounting all components stated in the reference circuitry (&lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.nrf52832.ps.v1.1%2Fref_circuitry.html&amp;amp;&amp;amp;anchor=schematic_qfn48_ldo"&gt;found here&lt;/a&gt;) before flashing and running your device to make sure it runs properly. The antenna components shouldn&amp;#39;t be necessary to connect, but the DEC capacitors and the DCC components should be attached if you&amp;#39;re using the DCDC regulator. The 32MHz crystal should be connected, but the LF crystal is optional as you can see. The reset pin can indeed be floating.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Doubts about programming</title><link>https://devzone.nordicsemi.com/thread/231605?ContentTypeID=1</link><pubDate>Wed, 29 Jan 2020 11:02:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:35d0b70b-3962-4c89-a19c-c8aed0257472</guid><dc:creator>Anderson Silva</dc:creator><description>&lt;p&gt;I understood...&lt;br /&gt;But I&amp;#39;m not sure about with one should I solder.... You wanna mean the capacitors connected with pins DEC1 (1), DEC3 (33), DEC2 (32), DEC4 (46), ANT (30) and inductors connectec with the pins DCC (47) ?&lt;br /&gt;Is necessary to connect the cristal too?&lt;br /&gt;The reset pin could be floating?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Doubts about programming</title><link>https://devzone.nordicsemi.com/thread/231439?ContentTypeID=1</link><pubDate>Tue, 28 Jan 2020 14:21:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ac9d7734-fe9c-4575-9770-753b481a1229</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;You should definitely mount all the surrounding caps and inductors before trying to program and power an nRF52 device. &lt;a href="https://devzone.nordicsemi.com/members/turboj"&gt;Turbo J&lt;/a&gt; is correct that external caps and inductors are necessary for the processor to start.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Doubts about programming</title><link>https://devzone.nordicsemi.com/thread/231392?ContentTypeID=1</link><pubDate>Tue, 28 Jan 2020 12:26:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9a530a2c-3f82-421c-aee6-a372c7c0cf17</guid><dc:creator>Turbo J</dc:creator><description>&lt;p&gt;Did you bother to put on the passives (caps, inductors) around the NRF52 chip?&lt;/p&gt;
&lt;p&gt;The processor will only start when supplied properly - and some voltages require external caps (and inductors) to be present.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>