nRF9160-DK as JTAG programmer to nRF7002-DK or Thingy:53

Hi

I am preparing a project for the MAKE IT MATTER contest.

During experiments I broke the USB connector on the nRF7002-DK.

Fortunately we already have downloaded the Light Bulb firmware on nRF 7002-DK and tested before the USB was broken. We have now a working Light Bulb module but no apparent way to reprogram it.

Looking for alternatives, a solution could be connecting the DK via JTAG connector + flat cable + JTAG programmer. Reading Nordic documentation we see that another DK can be used as a JTAG programmer.

So here some questions:

1 - How exactly nRF9160-DK (as JTAG programmer - debugger) can be connected with the nRF7002-DK using the JTAG flat cable?

2 - What is needed is to be able to discover the target device (nRF7002-DK) inside VS code or nRF Connect programmer.

3 - If that can be done can I do the same with Thingy:53 and how exactly?

4 - Can the other micro USB connector (nRF5340 USB) be used to program the nRF5340 chip?

5 - And finally is any way to externally solder / connect a USB connector? The tracks on the original Micro USB are damaged.

Note : I have been through a similar post 2 years ago  nRF9160 DK as a Debugger for a second nRF9160 DK:

devzone.nordicsemi.com/.../nrf9160-dk-as-a-debugger-for-a-second-nrf9160-dk

But my target board is different

nRF5340-DK was ordered as well some time ago but it will not be here on time

I appreciate any help since the nRF7002-DK can not programmed in time for the contest.

So getting the nRF7002 to life is crucial.

Regards

Vasilis

  • Hi Jonathan

    Yes I am still stacked. In fact am in kind of panic concerning the contest dead line. Time is very limited now and I am troubling to move forward.

    Anyway I will do that and report back

    Regards

    Vasilis

  • Hi Jonathan,

    Looks we got it working following your latest suggestion.

    Broken nRF7002-DK now is powered via Arduino connectors since I have build a custom shield there to interface with my WIZcube I/O boards

    So the procedure is:

    1 - Power the nRF7002-DK first

    2 - Then power the nRF9160 "programmer"

    3 - Open VS code reports that nRF9160-DK is connected but reports chip nRF5340 (that is on the nRF7002-DK. Proceed with programming, flashing OK and application is working.

    In Desk top programmer same results. This is OK

    Project image looks complicated but it is not. While waiting for the right cable I had to do a "home made" programmer cable from old staff. I was unable to source it locally.

    The nice thing is that I am able to program the nRF7002-DK using nRF9260-DK

    I will have that as a reference creating step by step directions to my contest project. This experience may will be interested to others.

    I imagine I can program Thingy:53 (or ant Thingy) in VS code as well using the same method.

    Job Done. Consider it as answered

    Thank you Jonathan

    Regards

    Vasilis

  • vorrias said:
    I imagine I can program Thingy:53 (or ant Thingy) in VS code as well using the same method.

    Correct, this should work the same way. 



    vorrias said:
    I will have that as a reference creating step by step directions to my contest project. This experience may will be interested to others.

    Great thanks, much appreciated!

    Regards,
    Jonathan

Related