Part Number: CC3220
Tool/software: Code Composer Studio
I'm trying to test provisioning on a custom PCB using a CC3220SF chip. I'm using CCS version 8.2.0.00007 with the example provisioning code (also Out of Box code). This is connected to a CC3220SF launchpad which is connected to my board via a 10 pin JTAG connector.
I'm able to connect to the board and program it, however after running I receive the error a few seconds after when the code attempts to wake up the network processor (whether running or stepping through code):
Error connecting to the target:
(Error -242 @ 0x0)
A router subpath could not be accessed.
The board configuration file is probably incorrect.
By stepping through the code, I've determined this error occurs a few seconds after the line
HWREG(WAKENWP) = WAKENWP_WAKEREQ;
in the sl_DeviceEnable() function which is called in the sl_start() function. It seems the only action caused by that line is writing to the register to wake the NWP. When this line is reached in the code, CCS seems to freeze for a few seconds before the error pops up.
I've tried many of the suggested solutions other people had with the -242 error (such as resetting the memory, checking JTAG connection is correct, verifying power to the board never falls below the brownout limit, modifying the configuration file settings) however this error still persists. The provisioning and out of box code projects (without modifications) work fine on the launchpad. Any ideas for what I can look into?