This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] MSP432E401Y:从 Launchpad 挽救的定制电路板上刷写 MCU 的帮助

Guru**** 2551110 points
Other Parts Discussed in Thread: MSP432E401Y, UNIFLASH

请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1028192/msp432e401y-help-with-flashing-mcu-on-custom-board-salvaged-from-launchpad

器件型号:MSP432E401YT REV B

-我最近使用 MSP432E401Y MCU 构建了一个板  

但是、MCU 到处都没有库存、因此我从 MSP432E4 Launchpad 中移除了一个、并将其安装在我的定制板上。

-我正在使用 XDS110板载调试器对我的定制板进行编程。

-使用 PC0、PC1、PC2、PC3对我的定制板进行编程、电路和跳线看起来正常(原理图如下)  

-使用连接到 XDS110的定制板

  • TCK、TMS、TDI、TDO 和 TARGET_RESET

最初我收到错误:错误-615、目标未能看到正确格式的 SWD 报头

  • 进行了一些研究、发现由于我将 MCU 从 Launchpad 中取出、它可能处于生产模式、因此我尝试使用将其恢复出厂设置  
  • 《使用 Uniflash 和 XDS 调试探针解锁序列》
  • "dbgjtag.exe–f @xds110–Y 解锁、mode=msp432e4"

无论如何、我注意到模拟电压未连接、因此打开 后错误615消失  

现在、当我在 CCXML 中测试与这些配置的连接时、我会得到:

[Start: Texas Instruments XDS110 USB Debug Probe]
 
Execute the command:
 
%ccs_base%/common/uscif/dbgjtag -f %boarddatafile% -rv -o -S integrity
 
[Result]
 
 
-----[Print the board config pathname(s)]------------------------------------
 
C:\Users\UTKARS~1.GUP\AppData\Local\TEXASI~1\
    CCS\ccs930\0\0\BrdDat\testBoard.dat
 
-----[Print the reset-command software log-file]-----------------------------
 
This utility has selected a 100- or 510-class product.
This utility will load the adapter 'jioxds110.dll'.
The library build date was 'Nov 25 2019'.
The library build time was '16:55:29'.
The library package version is '8.4.0.00006'.
The library component version is '35.35.0.0'.
The controller does not use a programmable FPGA.
The controller has a version number of '5' (0x00000005).
The controller has an insertion length of '0' (0x00000000).
This utility will attempt to reset the controller.
This utility has successfully reset the controller.
 
-----[Print the reset-command hardware log-file]-----------------------------
 
The scan-path will be reset by toggling the JTAG TRST signal.
The controller is the XDS110 with USB interface.
The link from controller to target is direct (without cable).
The software is configured for XDS110 features.
The controller cannot monitor the value on the EMU[0] pin.
The controller cannot monitor the value on the EMU[1] pin.
The controller cannot control the timing on output pins.
The controller cannot control the timing on input pins.
The scan-path link-delay has been set to exactly '0' (0x0000).
 
-----[Perform the Integrity scan-test on the JTAG IR]------------------------
 
This test will use blocks of 64 32-bit words.
This test will be applied just once.
 
Do a test using 0xFFFFFFFF.
Scan tests: 1, skipped: 0, failed: 0
Do a test using 0x00000000.
Scan tests: 2, skipped: 0, failed: 0
Do a test using 0xFE03E0E2.
Scan tests: 3, skipped: 0, failed: 0
Do a test using 0x01FC1F1D.
Scan tests: 4, skipped: 0, failed: 0
Do a test using 0x5533CCAA.
Scan tests: 5, skipped: 0, failed: 0
Do a test using 0xAACC3355.
Scan tests: 6, skipped: 0, failed: 0
All of the values were scanned correctly.
 
The JTAG IR Integrity scan-test has succeeded.
 
-----[Perform the Integrity scan-test on the JTAG DR]------------------------
 
This test will use blocks of 64 32-bit words.
This test will be applied just once.
 
Do a test using 0xFFFFFFFF.
Scan tests: 1, skipped: 0, failed: 0
Do a test using 0x00000000.
Scan tests: 2, skipped: 0, failed: 0
Do a test using 0xFE03E0E2.
Scan tests: 3, skipped: 0, failed: 0
Do a test using 0x01FC1F1D.
Scan tests: 4, skipped: 0, failed: 0
Do a test using 0x5533CCAA.
Scan tests: 5, skipped: 0, failed: 0
Do a test using 0xAACC3355.
Scan tests: 6, skipped: 0, failed: 0
All of the values were scanned correctly.
 
The JTAG DR Integrity scan-test has succeeded.
 
[End: Texas Instruments XDS110 USB Debug Probe]
 

 

当我尝试调试(对 MCU 进行编程)时:

Cortex_M4_0:GEL_OUTPUT:

内存映射初始化完成

Cortex_M4_0:JTAG 通信错误:(错误-1170 @ 0x0)无法访问 DAP。 重置设备、然后重试此操作。 如果错误仍然存在、请确认配置、对电路板进行下电上电和/或尝试更可靠的 JTAG 设置(例如、较低的 TCLK)。 (仿真包9.4.0.00129)  

Cortex_M4_0: 在断开连接之前无法从目标中删除调试状态。

不确定在这里该做什么、请帮助!

  • 我尝试将 TCLK 降低至2.5MHz、但问题仍然存在!  
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好、Utkarsh、

    让我为您研究一下这个...

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    谢谢  

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好、Utkarsh、

    我仍在尝试找出您遇到此错误的原因。  同时、您是否有机会查看 《MSP432E4系统设计指南》?  您可能会发现与布局相关的内容、这些内容可能有助于解决此问题。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好、Utkarsh

    我想分享 https://software-dl.ti.com/ccs/esd/documents/xdsdebugprobes/emu_xds110.html 的"疑难解答"部分

    希望此页面对 XDS110问题有所帮助。

    谢谢!

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    大家好、Dennis、感谢您的反馈、我已经尝试过。  

    问题在于、制造厂家  错误地在   25MHz    和32MHz 时钟上放置了47pf 电容器、而不是12pf 电容器、这使得25MHz 时钟上的峰-峰值拉得太低 (与 launchpad 相比、峰-峰值的大约40%)。

     432 Launchpad 相比、我们剥离了除 MCU 和所需外设之外的所有器件、 并注意到时钟信号看起来很好、但振幅与基准截然不同 (与 Launchpad 相比减少40%)

    我无法测试32MHz 晶体、也许我使用示波器(10x 探头)对其过载、但25MHz 易于测试。

    很难测试 这些201电容、但我只是借此机会将时钟上的所有电容与 Launchpad 上的402电容交换、结果正常。  

    感谢所有的支持!