Hello,
I recently ported our firmware to BLE SDK 2.4 to support the CC2642 Rev E silicon. While testing the ported software I noticed watchdog resets occurring whenever the HCI_EXT_EndModemTestCmd() API is called. I faced a similar issue back on SDK 1.6, which was fixed by modifying the stack's rom_init.c file. I believe this issue was fixed in some of the versions of the SDK between 1.6 and 2.4, but it looks like it's come back in 2.4.
I modified line 671 of \source\ti\ble5stack\rom\agama_r1\rom_init.c, to not have the "!" in the #if defined() on line 671, and this fixed the issue:
#if defined(CTRL_V50_CONFIG) (uint32)LL_EXT_EndModemTest, // ROM_JT_OFFSET[191] #else // !CTRL_V50_CONFIG (uint32)ROM_Spinlock, #endif // CTRL_V50_CONFIG
Will this be fixed in the SDK 3.1 release? I'd prefer not to have to modify stack files, as we don't currently have the stack / SDK under version control.
-Josh