I gave some remarks on the code, which were processed.
If there is a feeling that adding the HeatIndex complicates the example, maybe this example should be a separate file, named "DhtHeatIndexSensor"?
@mfalkvidd said in Sample sketch for test node including hardware and software acknowledgement:
@mfalkvidd Fantasic. Thank you. That is what I was looking for . It works now !!!
@idanronen , I am not an expert but did manage to accomplish what you are doing about a year ago. I can tell you that you are supposed to get two com ports from BMP. Also, where your screen shot says "SW-DP scan failed" means BMP cannot find any 'targets' on the nrf52. You should get back something that looks like this from the scan:
No. Att Driver
1 ARM Cortex-M
2 Nordic nRF52 Access Port
I performed this operation on ~10 nrf52832 and only one failed the scan. I never found out how to solve it.
Also, your use of the attach command is incorrect. You appear to be trying to attach the com port 13. If the swdp_scan had worked corrrectly, you would then attach the target that shows up in the scan. In my example output, it would be "attach 2" - the nRF52 Access Port.
That adds what I know, hope it helps a bit.
Yes it is possible, using the SWDIO and SWDCLK pads.
I programmed one to operate with MySensors using a black magic probe, but the J-Link also supports SWD programming.
The tricky part is connecting to the pads. I just soldered on some wires -- not a very elegant solution, but it worked.
You can get a reasonably priced J-Link EDU from Adafruit: