SparkFun Pro nRF52840 Mini not allowing mass erase using OpenOCD and STLink/v2

I have connected to the two debug pins on the bottom of the board for programming outside of the Arduino environment and my set up does not really allow me to use the bootloader. I am also wanting debug access for when I am testing new code. I have been able to connect to the device using OpenOCD and a STLink/v2 using JTAG but trying to clear the device is throwing errors. Am I limited to use a Segger J-Link device or is there something else I can do to clear the flash?

nrf5 nrf52_recover throws this error: Error: Cannot access nRF52 CTRL-AP!

nrf5 mass_erase throws this error: Error: Code region 0 size was pre-programmed at the factory, mass erase command won’t work.

openocd.cfg

source [find interface/stlink-dap.cfg]

transport select dapdirect_jtag

# Enable debug when in low power modes
set ENABLE_LOW_POWER 1

# Stop Watchdog counters when halt
set STOP_WATCHDOG 1

# STlink Debug clock frequency
set CLOCK_FREQ 4000

# Reset configuration
# use software system reset if reset done
reset_config none
set CONNECT_UNDER_RESET 0
set CORE_RESET 0

# ACCESS PORT NUMBER
# set AP_NUM 1
# GDB PORT
set GDB_PORT 3333

gdb_flash_program enable

gdb_breakpoint_override hard

# BCTM CPU variables

source [find target/nrf52.cfg]