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.

MSP430F5510 USB问题

你好 我们在使用5510的时候遇到这么一个问题。

(1)通过USB连接线,是MCU与PC机连接,然后开启MCU,MCU不能工作。

(2)先开启MCU,然后连接USB线,USB能够正常通信。

  • 在USB模块中有PUR引脚: USB pullup resistor pin。不知道你这块硬件是怎么连接的,从你表述来说,先连接USB,则MCU不能正常工作,是因为由于PUR拉高导致MCU进入USB的BSL。如果先开启MCU,再连接USB,这样操作则不会进入USB BSL。

  • 楼主是不是用仿真器烧录好程序后,一直pending MCU在reset状态,然后连接MCU到PC?这样的情况下,USB无法完成最初的枚举等初始化工作吧。

  • 我们也遇到了MCU不启动的问题,是因为在硬件上将PUR管脚直接接到了VUSB,是不小心根据下面的手册做了硬件设计。

    SLAU208J–June 2008–Revised December 2011:(38.2.1.1 D+ Pullup Via PUR Pin When a full-speed USB device is attached to a USB host, it must pull up the D+ line (DP pin) for the host to recognize its presence. The MSP430 USB module implements this with a software-controlled pin that activates a pullup resistor. The bit that controls this function is PUR_EN. If software control is not desired, the pullup can be connected directly to VUSB.)

    请问是否可以将USB BSL的代码改写一下,增加指令转移到我们的主程序。理论上似乎可以,但不知道如何下手。

    谢谢!