为了了解不同 J-Link 版本对于 RT1170 处理差异,痞子衡从 J-Link 历史版本记录 https://www.segger.com/downloads/jlink/ReleaseNotes_JLink.html 里抽取了从 V6.64 - V7.96i 所有关于 RT1170 更新如下,其中 V6.86、V6.94、V6.98c、V7.86 四个版本涉及 Debug 连接处理,但是没有说明进一步实现细节。
J-Link版本 关于RT1170更新 V6.64 DLL 7.Added (QSPI) flash programming support for NXP iMXRT117x series devices. V6.72 DLL 2.Added (QSPI) flash programming support for the Cortex-M4 core of NXP iMXRT117x series devices. V6.80b DLL 1.NXP RT117x QSPI flash programming: Some necessary pins were not correctly configured to connect to the FLEXSPI controller. Fixed. V6.86 DLL 14.NXP RT117x: Reset did not work for rev B0 silicon. Fixed. V6.88 DLL 57.Added 4byte address mode QSPI flash programming support NXP iMXRT117x series devices. V6.94 DLL 3.JTAG chain detection for NXP iMXRT117x series devices, fixed. V6.98 DLL 7.Added debug and (QSPI) flash programming support for NXP MIMXRT1177xxxA_M4 and MIMXRT1177xxxA_M7. V6.98c DLL 1.NXP iMXRT117x: Reading PC & SP after reset could return incorrect values. Fixed. V7.00 DLL 4.Added quad memory mapped read for NXP iMXRT117x series devices with SPIFI-Lib support. V7.22b DLL 10.NXP i.MXRT117x Cortex-M4 debug: Software breakpoints did not work correctly in case the LMem caches were enabled. Fixed. V7.50 DLL 28.NXP i.MXRT117x series: Connect sequence to the Cortex-M4 failed under certain circumstances. Fixed.
DLL 42.NXP i.MXRT117x series: Some devices passed by ARM KEIL MDK were not detected correctly. Fixed. V7.54 DLL 12.NXP iMXRT117x devices: Flashloader did not save and restore all used registers. Fixed. V7.82d DLL 11.NXP i.MXRT117x: Added flash programming support for FlexSPI 2 flash bank. V7.84c DLL 11.NXP iMXRT117x: Detecting FlexSPI2 boot config and booting from FlexSPI2 did not work. Fixed. V7.86 DLL 4.NXP iMXRT117x: Debug connection would fail when debugging both Cortex-M4 and Cortex-M7 cores and performing a reset via Cortex-M7. Fixed. V7.86e DLL 9.NXP iMXRT117x: FlexSPI Flash programming did not work. Introduced with V7.86. Fixed. V7.88k DS 5.NXP iMXRT117x FlexSPI support: Under certain circumstances writing less than four bytes could fail. Fixed. V7.88i DS 6.NXP iMXRT117x FlexSPI1 support: Added support for pin configuration "nCS@AD18_CLK@AD19_D0@AD20_D1@AD21_D2@AD22_D3@AD23" V7.94d DS 3.NXP iMXRT1170: Flash programming did not work. Introduced with V7.88l. Fixed. 二、J-Link V6.86f对于RT1170连接复位处理