Unable to Initialize PEDebug using Multilink Device

By Nikhil D. : Jul 21, 2022 at 07:48 AM (07:48 hours)
Staff: Juan S. : 6 comments

Hi Team,

PE GDB Server Version / Revision: 8.80
Operating System: Windows 10 64-bit

I am using PE Micro's MultiLink Device for flashing binary into NXP iMXRT1064
MCU.

But it was not able to flash any binary as showing logs like
"Can't Enter Background Mode",
"Unable to load libUSB0.dll",
"Unable to Initialize PE DEBUG"


Regards,
Nikhil Dhameliya

Hi Nikhil,

Are you able to enter background mode on some NXP IMXRT1064 boards and not others?

Hi Juan,

It is not fixed behaviour.

But yeah it is happening on few devices only.

Regards,
Nikhil Dhameliya

On the few devices, can you please try lowering the shift speed? Try using "-speed=1000"

Hi Juan,

I have tried lowering speed but still issue persists.

Can you please elaborate more about Background more and how to enter in it.

Regards,
Nikhil Dhameliya

Hi Nikhil,

The error message "Can't Enter Background Mode" indicates that the multilink is unable to force the IMXRT1064 into debug mode.

Usually this is an indication of a hardware connection problem between the multilink and the IMXRT1064.

Are there any external watchdogs on your IMXRT1064 board that could be interfering with the Multilink?

Are you using a 10-pin or 20-pin ribbon cable between the Multilink and IMXRT1064?

Can you please make sure that all the required JTAG/SWD signals are connected between the Multilink and IMXRT1064?

Regards,
Juan See
PEmicro