<?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>nrf52832 and USB functionality</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/64905/nrf52832-and-usb-functionality</link><description>I have a custom PCB using the nrf52832. when flashing my PCB or connecting to the RTT terminal, pins SWDCLK, SWDIO, VDD &amp;amp; GND are used. i would like to know if theres a way of flashing and connecting to the RTT terminal via usb. Currently, my usb port</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 21 Aug 2020 09:24:46 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/64905/nrf52832-and-usb-functionality" /><item><title>RE: nrf52832 and USB functionality</title><link>https://devzone.nordicsemi.com/thread/265713?ContentTypeID=1</link><pubDate>Fri, 21 Aug 2020 09:24:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d9fa7331-cc46-45b8-b530-5deb34b5b702</guid><dc:creator>Sigurd</dc:creator><description>[quote user="LASHCA@PIETERSE"]If I&amp;#39;m understanding you correctly... I could wire the SWDIO and SWDCLK to the USB port. From there on I could connect my nrf52 DK to the PCB via USB and flash the PCB?&amp;nbsp;[/quote]
&lt;p&gt;&amp;nbsp;No, you need a programmer/debugger for this. On our development kits we have a on-board programmer(J-Link OB) that we use. See &lt;a href="https://www.segger.com/products/debug-probes/j-link/models/j-link-ob/"&gt;this link&lt;/a&gt;.&lt;/p&gt;
[quote user="LASHCA@PIETERSE"]I want to be able to flash my pcb by using the USB port[/quote]
&lt;p&gt;&amp;nbsp;Since you are only&amp;nbsp;using the USB port for charging now, and since this is a nRF52832 (and not a nRF52840/nRF52833/nRF52820 that has&amp;nbsp;on-chip USB support), I think you would need to redesign the PCB to&amp;nbsp;achieve this. In order to flash the chip with fw over a USB port on the PCB, you would need either&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;A&amp;nbsp;&lt;span&gt;on-board programmer on the PCB(e.g. J-Link OB)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;A USB-to-UART bridge chip(with a serial bootloader already flashed to the chip)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;nRF52840/nRF52833/nRF52820&amp;nbsp;that has&amp;nbsp;on-chip&amp;nbsp;USB support(with a&amp;nbsp;USB bootloader already flashed to the chip).&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52832 and USB functionality</title><link>https://devzone.nordicsemi.com/thread/265625?ContentTypeID=1</link><pubDate>Thu, 20 Aug 2020 21:18:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:98f0f44d-0d70-4017-88c2-4a0913cdddaf</guid><dc:creator>LASHCA@PIETERSE</dc:creator><description>&lt;ul&gt;
&lt;li&gt;Thanks for the response. I did not design the PCB but I am working with it now and want to make improvements. mainly, I want to be able to flash my pcb by using the USB port.&lt;/li&gt;
&lt;li&gt;If I&amp;#39;m understanding you correctly... I could wire the SWDIO and SWDCLK to the USB port. From there on I could connect my nrf52 DK to the PCB via USB and flash the PCB?&amp;nbsp;&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52832 and USB functionality</title><link>https://devzone.nordicsemi.com/thread/265070?ContentTypeID=1</link><pubDate>Tue, 18 Aug 2020 11:30:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0ee57aa9-8899-43c0-b3d1-3b8244bb45f6</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Segger RTT uses the SWD lines, so you need a Segger J-Link debugger/programmer in order to use RTT.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52832 and USB functionality</title><link>https://devzone.nordicsemi.com/thread/264972?ContentTypeID=1</link><pubDate>Tue, 18 Aug 2020 05:15:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:478e9473-4058-4eb9-b38a-af6e670b2c73</guid><dc:creator>Erick_s</dc:creator><description>&lt;p&gt;Hello!&lt;br /&gt;&lt;br /&gt;Did you make this PCB? There&amp;#39;s definitely a way to do it through USB, just take as an example the nRF52 DK. But as a principle, you should&amp;#39;ve done this while projecting the board since making this change now can be a bit uncomfortable. That&amp;#39;s of course if you didn&amp;#39;t connect your USB to these pins before.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>