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.

[参考译文] MSP430FR5969:在 SBW 模式下对新器件进行编程时遇到问题

Guru**** 2539500 points


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

https://e2e.ti.com/support/microcontrollers/msp-low-power-microcontrollers-group/msp430/f/msp-low-power-microcontroller-forum/1044854/msp430fr5969-trouble-programming-new-device-in-sbw-mode

器件型号:MSP430FR5969
主题中讨论的其他器件:MSP-FET430UIF

我有一个 MSP430FR5969IRGZ 芯片和一个 MSP-FET430UIF 编程器、并且尝试使用2线 SBW 模式对其进行编程。 当我尝试使用 MSP430Flasher 工具执行此操作时、它的行为就像器件不存在一样、并返回"未知器件"错误。

就我从文档中可以看出、默认情况下、芯片应该处于 SPI 线控编程模式、这只需要2个引脚和电源/接地进行编程。 我已经在器件和编程器之间连接了以下4个引脚:3.3V、GND、nRST/SBWTDIO、TEST/SBWTCK。 我已经验证了连接、可以使用示波器查看两个 SBW 引脚上的活动。 nRST/SBWTDIO  有一个47k Ω 的外部上拉电阻器和一个470pF 的接地电容。 TEST/SBWTCK  被直接连接。

那么、2线制模式为什么不在这里工作呢?

如果我还连接其它 JTAG 引脚(TMS、TCK、TDO、TDI)、编程成功。 我怀疑它使用的是4线制 JTAG 模式、但由于闪存器不允许您指定模式、这只是一个猜测。

以下是仅连接 SBW 引脚(加上3V3和 GND)时的输出:

C:\ti\MSPFlasher_1.3.20>MSP430Flasher.exe -e erase_all
* -----/|-------------------------------------------------------------------- *
* / |__ *
* /_ / MSP Flasher v1.3.20 *
* | / *
* -----|/-------------------------------------------------------------------- *
*
* Evaluating triggers...done
* Checking for available FET debuggers:
* Found USB FET @ COM5 <- Selected
* Initializing interface @ COM5...done
* Checking firmware compatibility:
* FET firmware is up to date.
* Reading FW version...done
* Setting VCC to 3000 mV...done
* Accessing device...
# Exit: 16
# ERROR: Unknown device
* Powering down...done
* Disconnecting from device...done
*
* ----------------------------------------------------------------------------
* Driver : closed (Internal error)
* ----------------------------------------------------------------------------
*/