PIC32MZ EF starter kit "The target device is not ready for debugging"
I'm trying to get started with a DM320007 "PIC32MZ Embedded Connectivity with FPU (EF) Starter Kit".
I have all the latest tools installed and am trying to build a Harmony app. I've modified system_init.c as follows:
#pragma config FPLLIDIV = DIV_3
#pragma config FPLLRNG = RANGE_5_10_MHZ
#pragma config FPLLICLK = PLL_POSC
#pragma config FPLLMULT = MUL_50
#pragma config FPLLODIV = DIV_2
#pragma config UPLLFSEL = FREQ_24MHZ
with the intention of setting up a 200MHz system clock.
With, and without, these changes, after building I get
The target device is not ready for debugging. Please check your configuration bit settings and program the device before proceeding.
Can anybody advise the correct config bits to get this board to work? I'm using the on-board debugger, and have the jumpers set appropriately.