Anyone knows why "Redlink interface error 255" reported and how to resolve it?
As follow screenshot:
The most likely cause is that the firmware went to Power-off or to Deep Power Down. In these two power modes, the Debug HW block is not powered and access via SWD is not possible.
Use the define APP_MAINTAIN_SWD_CONNECTION in maintlogger.c and rebuild. This will avoid these two power modes, at the expense of a much higher current consumption.
Retrieving data ...