Bootstrapping a new nRF52840 chip

Beginner here (some experience with rp2040 and esp). I have been reading the documentation and these forums and haven't been able to find a precise answer to this.

  • I have noted that modules are shipped blank (I am planning on using a MDBT50Q module), which means REGOUT0 will be default at 1.8v.
  • I am using an rp2040 as an SWD probe. This is 3.3v logic level (as are other cheap SWD probes that beginners might have on hand).
  • My schematic does include USB.
  • As well as a TC2050 ST-Link v2 SWD landing for debugging and development.

The disconnect is how I get the chip from blank at 1.8v logic level, to routinely flashing at 3.3v. I have a good idea on how I will set REGOUT0 in my firmware, but: how do l get it into a state where it will accept a 3.3v flash from SWD in the first place?

Ultimately/in conclusion: will the SDK tools do this via USB (again, to a blank chip)? Or will I need a 1.8v logic level programmer? If I do need a 1.8v programmer, can the dongle act as one - or do I need a DK? Once I configure and reset is there anything else required for flashing and debugging via SWD to work?

(It might help others to also indicate what I would do if I didn't have USB hooked up)

Thanks!

Related