I cannot debug IMXRT595 EVK under linux with command line utilities:
When I left JP1 Open and connect debug probe to USB, dmesg shows following:
[175902.334295] usb 3-4: new high-speed USB device number 127 using xhci_hcd
[175902.487414] usb 3-4: New USB device found, idVendor=1fc9, idProduct=0090, bcdDevice= 1.00
[175902.487422] usb 3-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[175902.487425] usb 3-4: Product: LPC-Link-II CMSIS-DAP
[175902.487427] usb 3-4: Manufacturer: NXP
[175902.487429] usb 3-4: SerialNumber: A000000001
[175902.491334] hid-generic 0003:1FC9:0090.0025: hiddev1,hidraw8: USB HID v1.00 Device [NXP LPC-Link-II CMSIS-DAP] on usb-0000:00:14.0-4/input0
[175902.491984] cdc_acm 3-4:1.1: ttyACM0: USB ACM device
[175902.492975] hid-generic 0003:1FC9:0090.0026: hiddev3,hidraw9: USB HID v1.11 Device [NXP LPC-Link-II CMSIS-DAP] on usb-0000:00:14.0-4/input3
When I started JLinkExe V7.96h, it cannot find USB debug probe.
Then I was following "Getting Started with the MIMXRT595-EVK", Section "LPCScrypt" .
I shorted JP1, and connected J40, then dmesg shows:
[176483.914804] usb 3-4: new high-speed USB device number 2 using xhci_hcd
[176484.063377] usb 3-4: New USB device found, idVendor=1fc9, idProduct=000c, bcdDevice= 1.00
[176484.063384] usb 3-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[176484.063386] usb 3-4: Product: LPC
[176484.063388] usb 3-4: Manufacturer: NXP
[176484.063390] usb 3-4: SerialNumber: ABCD
Then runs program_JLink, it failed:
LPCScrypt - J-Link firmware programming script v2.1.2 Nov 2020.
Connect an LPC-Link2 or LPCXpresso V2/V3 Board via USB then press Space.
Booting LPCScrypt
No bootable LPCScrypt target found
dfu-util 0.11
Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2021 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to http://sourceforge.net/p/dfu-util/tickets/
Found DFU: [1fc9:000c] ver=0100, devnum=2, cfg=1, intf=0, path="3-4", alt=0, name="DFU", serial="ABCD"
(Grepping for 0x1fc9:0x000c)
Boot Failed!
Ensure One Debug Probe is configured to DFU-Boot and connected via USB.
- For LPC-Link2: remove link JP1 (nearest USB) and power cycle
- For LPCXpresso V2/V3: make DFU link and power cycle
Not sure what's wrong here.