Hello,
I'm having trouble debugging the M33 firmware via JTAG with the FS 93 OSM-SF starter kit.
My J-Link interface can't connect to the core. Here is the connection log:
SEGGER J-Link Commander V8.44 (Compiled Jun 18 2025 12:21:20)
DLL version V8.44, compiled Jun 18 2025 12:20:17
Connecting to J-Link via USB...O.K.
Firmware: J-Link V13 compiled Apr 1 2025 10:02:49
Hardware version: V13.00
J-Link uptime (since boot): 0d 11h 45m 27s
S/N:
License(s):
USB speed mode: High speed (480 MBit/s)
VTref=1.851V
Type "connect" to establish a target connection, '?' for help
J-Link>connect
Device "MIMX9352_M33" selected.
Connecting to target via JTAG
ConfigTargetSettings() start
ConfigTargetSettings() end - Took 5us
InitTarget() start
InitTarget() end - Took 56.6ms
TotalIRLen = ?, IRPrint = 0x..000000000000000000000000
Failed to identify target. Resetting via Reset pin and trying again.
ConfigTargetSettings() start
ConfigTargetSettings() end - Took 19us
InitTarget() start
InitTarget() end - Took 55.2ms
TotalIRLen = ?, IRPrint = 0x..000000000000000000000000
Error occurred: Could not connect to the target device.
I edited the device tree to prevent Linux from using the pins shared with the DAP:
- osm_can_b (flexcan2)
- osm_gpio_a_0 (gpio3.30, touch panel interrupt)
- osm_gpio_a_1 (gpio3.29, i/o expander interrupt on ADP_OSM_BB adapter)
I can successfully debug other iMX93 based SoMs with the same interface/cable.
What should I check?
Thank you for your help.