Hi, @Alice_Yang
I still recommend you check hardware, or change anther debugger to test.
-> I've checked hardware, its all connections and it is ok.
I can easily erase/download any code using Flash magic in ISP mode(UART).
All other peripherals i.e. CAN, UART, GPIO are working properly.
I am able to toggle SWD pins if configured as GPIO and it is also working fine.
I've used two different debuggers J-link and PE-Micro but not able to connect. I can connect other boards using this debugger but not LPC54606 boards.
Erase full flash, then debug a simple led project to test.
-> Even after erasing full flash I am not able to debug led project in MCUXpresso.
I've erased flash and then downloaded led code using flash magic but still not able to connect to J-Link.
Previously I was using one board which was working well until I've downloaded EEPROM code. Then that board didn't connected to J-Link yet.
I've tried connecting it using different tools like J-Flash, J-Flash Lite, J-Link Commander but failed.
I've checked security bits setting but that is also ok. I can read security using flash magic which says CRP is disabled.
After that I've used 2nd board and it was also working fine but after downloading EEPROM code same problem arrived in second board too.
Now I'm not able to debug any board and not able to test anything.
But I've noticed that after downloading EEPROM code I'm experiencing this problem.