I'm moving from the nRF52 DK to using the nRF52832
It can be hand soldered.
If I order this and connect up a battery, can you tell me if there is already a Nordic system flashed on it.
And if this is the case, do you think it would then be possible to do an OTA upload of an application using the nRF Connect nordic mobile application over bluetooth?
All this would get around having the flash the chip setting up JTAG connections and JLink
Any thoughts on this would be most useful.
The device is blank when delivered from the factory. In order to connect to is, you need to flash with some firmware. This can either be done after soldering by Jlink via the SWD interface (SWDIO, SWCLK and GND) or in a socket before soldering.
Very many thanks for your reply. I still have a few questions.
can you tell me what a socket is and how I can get one? Is there one for this chip?
I'm using the BC832 which contains the nRF52820
You seem to say I only need three pins (SWDIO, SWCLK and GND).
From the Segger website it looks as though I need 6 pins (VTref, nRESET, GND, SWDIO, SWCLK and SWO).
Which one is the SWO? Is it not needed?
However, if I wish to use JTAG, it says I have to used the 10-pin needle adapter.
I take it that JTAG is not an absolute requirement in order to flash the chip?
SWD is the jtag interface. So yes you need a jtag. SWO and nRESET pins are not require to flash the chip.
You connect the require pins to the jtag. It doesn't matter what type of connector as long as you can wire it to your jtag.
You use the Jlink or the IDAP-Link for that purpose.
You can only program the chip with the SWD interface, JTAG is not supported.
It doesn't sound very practical to program the complete module before it's mounted. The needle adapter will be a better choice.
You only need SWDIO and SWCLK and GND. Depending on the type of programmer, VTref may be needed to set the logic level of the programmer to the same as the device. Reset is optional and SWO is not used.
jtag has became a generic for the probe whether it operates in jtag interface or SWD interface. A CMSIS-DAP can work with both interface. So yes it's jtag operating in SWD mode. Other MCU such as NXP or STM32 can support both mode. nRF5x only supports SWD mode. The IDAP-Link is the only low cost CMSIS-DAP debug jtag that supports both mode that I know. All the other CMSIS-DAP jtag only supports SWD.
SWD is invented by ARM and they call it jtag as well https://developer.arm.com/architectures/cpu-architecture/debug-visibility-and-trace/coresight-architecture/serial-wire-debug