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.

[参考译文] MSP-EXP430FR4133:连接到目标时出错:未知器件 MSP430FR4133 Launchpad

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

https://e2e.ti.com/support/microcontrollers/msp-low-power-microcontrollers-group/msp430/f/msp-low-power-microcontroller-forum/1055290/msp-exp430fr4133-error-connecting-to-the-target-unknown-device-msp430fr4133-launchpad

器件型号:MSP-EXP430FR4133

在过去的一个月里、我一直在使用此 Launchpad、它运行良好。 我想测试 UART 通道的一些代码(如下所示)、 我所做的所有代码都是使用以下中断在引脚1.1和1.0上将 EUSCI_A 初始化为 UART。 它在没有传输数据线的情况下工作正常。 现在、我无法再对 MSP 进行编程、并收到错误消息 :MSP430:Error connecting to the target:unknown device。

空 EUSCI_A0_ISR (空)

switch (__evo_in_range (UCA0IV、USCI_UART_UCTXCPTIFG))

USCI_NONE 案例:中断;
USCI_UART_UCRXIFG 案例:
RXData = EUSCI_A_UART_receiveData (EUSCI_A0_BASE);
EUSCI_A_UART_transmitData (EUSCI_A0_BASE、RXData);
中断;
案例 USCI_UART_UCTXIFG:中断;
案例 USCI_UART_UCSTTIFG:中断;
案例 USCI_UART_UCTXCPTIFG:中断;