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.

USB BSL msp430f5xx

Other Parts Discussed in Thread: MSP430F5529, MSP430F5510, MSP-EXP430F5529LP

Hello,

I raise a question relating to msp-exp4305529lp board. If I connect directly USB module of msp430f5529 to computer's USB port, then the computer understands driver of USB module msp430f5529?

In msp-exp4305529lp board, they use TUSB2046 to creat 2 USB hubs. Now, I want connect directly from USB module of msp430f5529 to the computer without TUSB2046. Can the computer receive USB module driver?

Thanks

  • lau lau said:
    If I connect directly USB module of msp430f5529 to computer's USB port, then the computer understands driver of USB module msp430f5529?

    If you mean the device itself on a custom board, then the answer depends on the USB you implement in your application (HID/CDC/etc) and that there is a compatible driver.

    By default, plugging in the LP board the computer will recognize it assuming you have the driver package from TI installed on your PC.

    The hubs created by TUSB2046 chip don't have any effect on enumerating the 5529 chip. They are just as if any other hub was plugged between the PC and a USB device.

  • Hello Brian,

    If I plug LP board into the computer USB, then the computer will receive TUSB2046 chip driver, but I want to remove TUSB2046 from design and plug directly USB pins of msp430f5529 into the computer's USB port to program the code. Can I get driver of msp430f5529 USB?

    Thanks

  • lau lau said:
    Hello Brian,

    ... but I want to remove TUSB2046 from design and plug directly USB pins of msp430f5529 into the computer's USB port to program the code...

    That is BSL mode. If you make sure you implement the BSL-entry requirements in your design, such that the device enters BSL mode when plugged into the computer, then the 5529 will enumerate automatically has an HID device using Windows' built-in driver. Hub or no hub.

  • Hello Brian,

    What you mean by Hub and no hub?

    Yes, this ia BSL mode. I will use USB Field Firmware Updater and BSLScripter.exe to program the flash memory in msp430f5529. In other words, I will use the function of USB-based BSL in MSP430f5xx.

    Olimex MSP430-BSL tool has driver "BSL Rocket Drivers", then the computer will understand driver of this device.

    You check this BSL rocket tool. they used driver when plug into the computer.

    Thanks

  • lau lau said:
    What you mean by Hub and no hub?

    I mean it doesn't matter. It will work if there is no hub. It will work if there is a hub. It will even work if it is plugged through 5 hubs in series.

    The USB BSL acts as an HID device and is detected automatically.

  • Hello Brian,

    If it acts as HID device, I don't need to setup driver. However, Are there any case which will require driver?

    Why "Olimex MSP430-BSL" use msp430f5510 providing driver?

    here is its link :http://processors.wiki.ti.com/index.php/MSP430-BSL

    you look at first step in that link.

    Thanks

  • Hi lau lau,

    lau lau said:

    Why "Olimex MSP430-BSL" use msp430f5510 providing driver?

    here is its link :http://processors.wiki.ti.com/index.php/MSP430-BSL

    That tool is used to interface MSP430 devices with the computer that do not have USB BSL, but rather a UART based BSL. It acts basically as a USB-to-UART bridge between the PC and the MSP430 UART BSL. Because of this, the MSP430F5510 on that Olimex BSL Rocket tool enumerates as a CDC device as a virtual COM port, which requires a driver - that's why they provide a driver on their webpage. In that case the F5510 is not the MSP430 that is being flashed via BSL - rather the F5510 on the rocket board is merely serving as a tool to help you program some other MSP430 that has a UART BSL. I understand this could get a little confusing.

    The MSP430F5529 device that you are trying to program via BSL supports a USB BSL, so you do not need that Olimex rocket board interface to be able to program it from the PC.

    When a USB BSL device like the MSP430F5529 on your launchpad enumerates in BSL mode (whether through a hub or not as Brian pointed out), it will enumerate as a HID device (not CDC, which is what that Rocket board is using). Because it enumerates as HID it does not need any special driver (only CDC needs this) - it will just use the HID driver support that is built into Windows.

    The MSP-EXP430F5529LP launchpad user's guide www.ti.com/lit/pdf/slau533 section 2.6 on p. 25 describes how to use the BSL button while plugging the launchpad into USB to enter BSL mode, and how to program the launchpad this way.

    Please see also www.ti.com/lit/pdf/slau319 and www.ti.com/lit/pdf/slaa452 for more information about using the USB BSL on MSP430F5529.

    Regards,

    Katie

  • lau lau said:
    What you mean by Hub and no hub?


    The HUB chip on the board acts as if you’d have an external HUB where you plug the board in. It removes the need of having two separate USB sockets on the board and two USB cables from board to PC for FET and target.
    The driver loaded for the HUB is not different form the driver loaded for the root HUB of your PC’s USB controller, or the HUBs that might be built in your monitor or keyboard that expand the number of USB sockets.

    So it is transparent. Once the HUB driver is loaded, the attached devices (FET, MSP) will enumerate as if you had plugged them in right now.

    Of course there is a drawback – you cannot simply unplug the target. It will also unplug the HUB and with it the FET. Also, plugging the board in will take longer, as first the HUB needs to be enumerated, then the parts attached to it.

  • Hello Jens-Michael Gross,

    You have fully a good answer.

    Thanks

**Attention** This is a public forum