TI中文支持网
TI专业的中文技术问题搜集分享网站

MSPM0L1306: jlink下载程序失败

Part Number:MSPM0L1306

使用IAR编译程序,jlink下载程序失败,信息显示如下。请问下载程序失败的原因是“Device ID doesn't match MSPM0Lxxx ”吗,该如何解决?

Thu Sep 26, 2024 17:36:33: IAR Embedded Workbench 8.50.4 (E:\Program Files (x86)\IAR System\Embedded Workbench 8.4\arm\bin\armproc.dll)Thu Sep 26, 2024 17:36:33: Loaded macro file: E:\Program Files (x86)\IAR System\Embedded Workbench 8.4\arm\config\debugger\TexasInstruments\MSPM0L1306.dmacThu Sep 26, 2024 17:36:33: Loaded macro file: E:\Program Files (x86)\IAR System\Embedded Workbench 8.4\arm\config\flashloader\TexasInstruments\FlashMSPM0.macThu Sep 26, 2024 17:36:33: JLINK command: ProjectFile = C:\Users\TANDA\Desktop\TR3108A_v10\settings\tr3108a_v10_Debug.jlink, return = 0Thu Sep 26, 2024 17:36:33: Device "MSPM0L1306" selected.Thu Sep 26, 2024 17:36:33: DLL version: V7.98i, compiled Sep 18 2024 15:46:51Thu Sep 26, 2024 17:36:33: Firmware: J-Link V9 compiled May  7 2021 16:26:12Thu Sep 26, 2024 17:36:33: Selecting SWD as current target interface.Thu Sep 26, 2024 17:36:33: JTAG speed is initially set to: 1000 kHzThu Sep 26, 2024 17:36:33: InitTarget() startThu Sep 26, 2024 17:36:33: DAP initialized successfully.Thu Sep 26, 2024 17:36:33: Setting up LPM debug bitsThu Sep 26, 2024 17:36:33: InitTarget() end – Took 2.52msThu Sep 26, 2024 17:36:33: Found SW-DP with ID 0x6BA02477Thu Sep 26, 2024 17:36:33: DPIDR: 0x6BA02477Thu Sep 26, 2024 17:36:33: CoreSight SoC-400 or earlierThu Sep 26, 2024 17:36:33: Scanning AP map to find all available APsThu Sep 26, 2024 17:36:33: AP[5]: Stopped AP scan as end of AP map has been reachedThu Sep 26, 2024 17:36:33: AP[0]: AHB-AP (IDR: 0x84770001, ADDR: 0x00000000)Thu Sep 26, 2024 17:36:33: AP[1]: MEM-AP (IDR: 0x002E0001, ADDR: 0x01000000)Thu Sep 26, 2024 17:36:33: AP[2]: JTAG-AP (IDR: 0x002E0000, ADDR: 0x02000000)Thu Sep 26, 2024 17:36:33: AP[3]: MEM-AP (IDR: 0x002E0003, ADDR: 0x03000000)Thu Sep 26, 2024 17:36:33: AP[4]: MEM-AP (IDR: 0x002E0002, ADDR: 0x04000000)Thu Sep 26, 2024 17:36:33: Iterating through AP map to find AHB-AP to useThu Sep 26, 2024 17:36:33: AP[0]: Core foundThu Sep 26, 2024 17:36:33: AP[0]: AHB-AP ROM base: 0xF0000000Thu Sep 26, 2024 17:36:33: CPUID register: 0x410CC601. Implementer code: 0x41 (ARM)Thu Sep 26, 2024 17:36:33: Found Cortex-M0 r0p1, Little endian.Thu Sep 26, 2024 17:36:33: FPUnit: 4 code (BP) slots and 0 literal slotsThu Sep 26, 2024 17:36:33: CoreSight components:Thu Sep 26, 2024 17:36:33: ROMTbl[0] @ F0000000Thu Sep 26, 2024 17:36:33: [0][0]: E00FF000 CID B105100D PID 000BB4C0 ROM TableThu Sep 26, 2024 17:36:33: ROMTbl[1] @ E00FF000Thu Sep 26, 2024 17:36:33: [1][0]: E000E000 CID B105E00D PID 000BB008 SCSThu Sep 26, 2024 17:36:33: [1][1]: E0001000 CID B105E00D PID 000BB00A DWTThu Sep 26, 2024 17:36:33: [1][2]: E0002000 CID B105E00D PID 000BB00B FPBThu Sep 26, 2024 17:36:33: ResetTarget() startThu Sep 26, 2024 17:36:33: DAP initialized successfully.Thu Sep 26, 2024 17:36:33: ResetTarget() end – Took 4.64msThu Sep 26, 2024 17:36:33: Hardware reset with strategy 0 was performedThu Sep 26, 2024 17:36:33: Initial reset was performedThu Sep 26, 2024 17:36:33: Device ID doesn't match MSPM0LxxxThu Sep 26, 2024 17:36:33: Unloaded macro file: E:\Program Files (x86)\IAR System\Embedded Workbench 8.4\arm\config\flashloader\TexasInstruments\FlashMSPM0.macThu Sep 26, 2024 17:36:34: OnDisconnectTarget() startThu Sep 26, 2024 17:36:34: OnDisconnectTarget() end – Took 387usThu Sep 26, 2024 17:36:34: IAR Embedded Workbench 8.50.4 (E:\Program Files (x86)\IAR System\Embedded Workbench 8.4\arm\bin\armproc.dll)

Alice:

您好,

     报错信息“Device ID doesn't match MSPM0Lxxx”,JLINK从目标板获取到的器件ID与工程中的器件不匹配。

     请检查目标板供电、复位、晶振部分是否已工作。

      由于JLINK 与IAR都是第三方软件,如果有使用更多疑问,请联系第三方供应商。

     Using Segger programmers with MSPM0 — MSPM0 Tools Guide 2.02.00.05 documentation

,

E lla:

请问这里的.board文件需要修改吗?

,

Alice:

您好,

      您的芯片型号是MSPM0L1306,建议参考MSPM0L1306的out_of_box (ti.com)配置工程。

赞(0)
未经允许不得转载:TI中文支持网 » MSPM0L1306: jlink下载程序失败
分享到: 更多 (0)