This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Fatal Error: Failed to connect to XDS emulator

Hi,

My code from IAR was running well on both boards, but now I am getting a weird fatal error on two of my SmartRF06 boards with two CC2538EMs. When I go to debug it says:

"Fatal Error: Failed to connect to the XDS emulator (connect ICEPick)...

(Error-154 @ 0xFFFFFF66)

One of the FTDI driver functions used to write data returned bad status or an error.

(Emulation package 5.1.641.0)

Session aborted!"

I have used sample code and still got the error, I checked all the jumpers and made sure the EM was connected well, and I think the usb drivers are up to date.

When I used my third board it doesn't work with my code, but it works with sample code. When my other board gets an error it says:

"Fatal Error: Failed to connect to XDS emulator (connect to PC)...

(Error-6306) Failed to connect to PRSC module

(Emulation package 5.1.641.0)

Session aborted!"

Any ideas on what could be causing this problem?

Thanks,

Brendon