<?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>Flashing nrf52832 chip with ST link V2</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/21415/flashing-nrf52832-chip-with-st-link-v2</link><description>Hello,
Is it possible to use this: 
 www.ebay.com/.../401088363326 
 for flashing the nrf52832 chip? if so how? is this thing the same as Jlink?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 13 Jan 2023 05:59:18 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/21415/flashing-nrf52832-chip-with-st-link-v2" /><item><title>RE: Flashing nrf52832 chip with ST link V2</title><link>https://devzone.nordicsemi.com/thread/404680?ContentTypeID=1</link><pubDate>Fri, 13 Jan 2023 05:59:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f8c08cc9-5a8c-4c50-aa66-a7b8e7468947</guid><dc:creator>girish7</dc:creator><description>&lt;p&gt;I get an error saying no cortex M-SW device is found. any idea how to fix this ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flashing nrf52832 chip with ST link V2</title><link>https://devzone.nordicsemi.com/thread/269741?ContentTypeID=1</link><pubDate>Tue, 15 Sep 2020 21:34:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c8d90e94-c63a-48b6-8493-bf99d8cdcfe4</guid><dc:creator>David H</dc:creator><description>&lt;p&gt;Hi nirk,&lt;/p&gt;
&lt;p&gt;where you able to figure it out? I created a custom programmer board using the STLINK-V3 module from ST.&lt;/p&gt;
&lt;p&gt;When I want to upload a hex file to the attached NRF52810, I get the following output from openOcd:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;C:\Users\david&amp;gt;openocd -f interface/stlink.cfg -f target/nrf52.cfg -c &amp;quot;reset_config none; program MyHexFile.ihex verify reset exit&amp;quot;
Open On-Chip Debugger 0.10.0 (2020-03-10) [https://github.com/sysprogs/openocd]
Licensed under GNU GPL v2
libusb1 09e75e98b4d9ea7909e8837b7a3f00dda4589dc3
For bug reports, read
        http://openocd.org/doc/doxygen/bugs.html
Info : auto-selecting first available session transport &amp;quot;hla_swd&amp;quot;. To override use &amp;#39;transport select &amp;lt;transport&amp;gt;&amp;#39;.
Info : The selected transport took over low-level target control. The results might differ compared to plain JTAG/SWD
Info : clock speed 1000 kHz
Info : STLINK v3 JTAG v5 API v3 SWIM v1 VID 0x0483 PID 0x374F
Info : using stlink api v3
Info : Target voltage: 2.568788
Info : Stlink adapter speed set to 1000 kHz
Error: jtag status contains invalid mode value - communication failure
Polling target nrf52.cpu failed, trying to reexamine
Examination failed, GDB will be halted. Polling again in 100ms
Info : Previous state query failed, trying to reconnect
Error: jtag status contains invalid mode value - communication failure
Polling target nrf52.cpu failed, trying to reexamine
Examination failed, GDB will be halted. Polling again in 300ms
Info : Listening on port 3333 for gdb connections
** Unable to reset target **
shutdown command invoked&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Interestingly, using an STLINK-V2 it works perfectly:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;C:\Users\david&amp;gt;openocd -f interface/stlink.cfg -f target/nrf52.cfg -c &amp;quot;reset_config none; program MyHexFile.ihex verify reset exit&amp;quot;
Open On-Chip Debugger 0.10.0 (2020-03-10) [https://github.com/sysprogs/openocd]
Licensed under GNU GPL v2
libusb1 09e75e98b4d9ea7909e8837b7a3f00dda4589dc3
For bug reports, read
        http://openocd.org/doc/doxygen/bugs.html
Info : The selected transport took over low-level target control. The results might differ compared to plain JTAG/SWD
Info : clock speed 1000 kHz
Info : STLINK v2 JTAG v35 API v2 SWIM v7 VID 0x0483 PID 0x3748
Info : using stlink api v2
Info : Target voltage: 2.566820
Info : Unable to match requested speed 1000 kHz, using 950 kHz
Info : Stlink adapter speed set to 950 kHz
Info : nrf52.cpu: hardware has 6 breakpoints, 4 watchpoints
Info : Listening on port 3333 for gdb connections
target halted due to debug-request, current mode: Thread
xPSR: 0x01000000 pc: 0x00000a80 msp: 0x20000400
** Programming Started **
Info : nRF52810-QFAA(build code: D0) 192kB Flash, 24kB RAM
Warn : Adding extra erase range, 0x00027280 .. 0x00027fff
target halted due to breakpoint, current mode: Thread
xPSR: 0x61000000 pc: 0x2000001e msp: 0x20000400
** Programming Finished **
** Verify Started **
target halted due to breakpoint, current mode: Thread
xPSR: 0x61000000 pc: 0x2000002e msp: 0x20000400
** Verified OK **
** Resetting Target **
shutdown command invoked&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;However, using the STLINK-V3 for debugging/flashing STM32 microcontrollers works perfectly.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks in advance&lt;/p&gt;
&lt;p&gt;David&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flashing nrf52832 chip with ST link V2</title><link>https://devzone.nordicsemi.com/thread/245056?ContentTypeID=1</link><pubDate>Thu, 16 Apr 2020 14:40:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:931be46e-6fc8-46e3-bd2f-31a693dcd08f</guid><dc:creator>Nguyen Hoan Hoang</dc:creator><description>&lt;p&gt;You can also try the &lt;a href="https://embeddedsoftdev.blogspot.com/p/idap-link.html"&gt;IDAP-Link CMSIS-DAP&lt;/a&gt;. It comes with software to flash softdevice and dfu without the need of mergehex also supports parallel flashing for production.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flashing nrf52832 chip with ST link V2</title><link>https://devzone.nordicsemi.com/thread/245036?ContentTypeID=1</link><pubDate>Thu, 16 Apr 2020 14:04:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:db8dd6e1-28aa-410e-b48c-34ab87f08bb2</guid><dc:creator>nirk</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I&amp;#39;d also like to ask, does the same apply for ST-LinkV3set?&lt;/p&gt;
&lt;p&gt;Can I use it as well to program nRF52832?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flashing nrf52832 chip with ST link V2</title><link>https://devzone.nordicsemi.com/thread/212415?ContentTypeID=1</link><pubDate>Sun, 29 Sep 2019 22:50:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1fafef43-40ec-463e-a744-0c49b29f67ed</guid><dc:creator>MikeLemon</dc:creator><description>&lt;p&gt;Great and simple idea to do it didn&amp;#39;t think about it before though I still don&amp;#39;t understand how programming the chip with segger ide(programming wise) and can&amp;#39;t find any guides for nordic type of programming so the project is stuck.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flashing nrf52832 chip with ST link V2</title><link>https://devzone.nordicsemi.com/thread/212414?ContentTypeID=1</link><pubDate>Sun, 29 Sep 2019 21:33:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ad2f915a-6af3-490f-b3c0-e20aee1f03a4</guid><dc:creator>Miguel</dc:creator><description>&lt;p&gt;&lt;a href="https://stlinkv2-nina-b112.blogspot.com/2019/07/programando-nina-b112-com-st-link-v2-o.html?m=1"&gt;stlinkv2-nina-b112.blogspot.com/.../programando-nina-b112-com-st-link-v2-o.html&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flashing nrf52832 chip with ST link V2</title><link>https://devzone.nordicsemi.com/thread/199252?ContentTypeID=1</link><pubDate>Thu, 18 Jul 2019 11:48:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fd430c0b-26ce-4c8c-98f6-15c59a677aea</guid><dc:creator>Miguel</dc:creator><description>&lt;p&gt;Got success here using openocd on windows!!!!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flashing nrf52832 chip with ST link V2</title><link>https://devzone.nordicsemi.com/thread/83988?ContentTypeID=1</link><pubDate>Wed, 19 Apr 2017 23:45:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1c517500-1080-4df2-a09a-0c3db8daba93</guid><dc:creator>MikeLemon</dc:creator><description>&lt;p&gt;Thanks!!!!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flashing nrf52832 chip with ST link V2</title><link>https://devzone.nordicsemi.com/thread/83990?ContentTypeID=1</link><pubDate>Wed, 19 Apr 2017 09:00:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:35f332ba-54c8-47ba-8b94-95af8fc2b140</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;If your STM Discovery board has a ST-LINK on-board, then it appears that you should be able to make it JLink compatible, see &lt;a href="https://www.segger.com/jlink-st-link.html"&gt;this&lt;/a&gt; page.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;SEGGER offers a firmware upgrading the ST-LINK on-board on the Nucleo and Discovery Boards. This firmware makes the ST-LINK on-board compatible to J-Link OB, allowing users to take advantage of most J-Link features like the ultra fast flash download and debugging speed or the free-to-use GDBServer.
SEGGER offers a firmware upgrading the ST-LINK on-board on the Nucleo and Discovery Boards.&lt;/em&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flashing nrf52832 chip with ST link V2</title><link>https://devzone.nordicsemi.com/thread/83989?ContentTypeID=1</link><pubDate>Tue, 18 Apr 2017 00:43:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:430a1e6b-9e28-42d3-9ecf-39c0e2f214e4</guid><dc:creator>MikeLemon</dc:creator><description>&lt;p&gt;Thanks.
Could you use eclipse IDE for that?
And can you turn an STM discovery board to a Jlink somehow?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flashing nrf52832 chip with ST link V2</title><link>https://devzone.nordicsemi.com/thread/83987?ContentTypeID=1</link><pubDate>Mon, 17 Apr 2017 23:09:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2e1b4a35-f669-40b0-a9c1-6bc9ef649a86</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;Yes, ST-Link V2 supports SWD so it is usable to flash nRF52. There are several tutorials on this forum, just place ST Link to search (e.g. &lt;a href="https://devzone.nordicsemi.com/question/1874/can-i-directly-start-programming-a-nrf51822-breakout-board/?answer=7452#post-id-7452"&gt;this&lt;/a&gt; and &lt;a href="https://devzone.nordicsemi.com/question/94/can-i-user-other-programmers-than-j-link/?answer=23233#post-id-23233"&gt;this&lt;/a&gt; and &lt;a href="https://devzone.nordicsemi.com/question/22729/programming-nrf51-with-st-link-uvision/"&gt;this&lt;/a&gt;). And no, it is not the same as SEGGER J-Link, SEGGER tools and DLLs won&amp;#39;t work unless you connect it to SEGGER J-Link compatible probe with alternative FW (see &lt;a href="https://devzone.nordicsemi.com/question/112818/how-to-add-flash-programming-algorithm-for-softdevice/"&gt;more about it here&lt;/a&gt;). However you can use tools from ST Micro (these are also integrated with some IDEs like Keil) or some open source SW like OpenOCD.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>