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.

MSP430F5508: USB BSL programming

Part Number: MSP430F5508
Other Parts Discussed in Thread: MSPBSL

Hi

I wish to BSP program my device via USB. I am using the python usb firmware upgrader,  powering up while pressing the RST but the device is not recognized. what am I missing?

  • Hi Enbar,

    please check the recommended capacitances for the USB Power System. Those are displayed in section 5.44 in the device datasheet. I saw that you are at least missing C18 for the V18 terminal.

    Am I right that you want to program your device via BSL? In that case please check the MSP430 Flash Device Bootloader (BSL) User's Guide, section 1.3.1.3. Instead of pressing RST you might rather want to tie the PUR pin to VUSB.

    Please let me know if this solves your issue.

    Best regards,

    Britta

  • Hi Britta,

    thank you for you answer,

    I have reviewed the datasheet and BSL guide you directed me to,

    I added the missing capacitors 

    BUT unfortunately, none of your suggestions helped. 

    any other ideas?

    Best Regards,

    Enbar

  • Hi Enbar,

    could you provide a detailed description of the powering up of the device that you're doing?
    I understand that you're now tying the PUR to VUSB, is that correct?
    What kind of error message do you see? Can you be more specific on "device is not recognized"?

    This will help me to further troubleshoot what's going wrong for you.
    Best regards,
    Britta
  • Hi Britta,

    We first power the device and than connect it to USB.

    you are correct we are tying PUR to VUSB

    here is the error:

    USB VID: PID 2047:0200 not found (maybe device not in BSL mode?)

    please set device in BSL mode and select File->Rescan HID BUS...

     

    Best regards,

    Enbar

  • Hello Enbar,

    You need to press the 'BSL' button and not the RST button while at the same time, you connect device(peripheral) side USB cable to your computer.  From the schematic above, I am not sure whether you have BSL configured on your board.    You might need to jumper 1 and 2 to get BSL working.  It also looks like you are missing a 1.4kohm resistor from D+ to PUR.  To verify that your schematic is correct, a great reference to designing the USB with BSL functionality is listed in Figure 8 of SLAU457b.pdf document

    SLAU457.pdf

    Regards,

    Arthi

  • Hello Arthi,
    I have tried pressing the BSL (connecting pins 1 & 2 of JMP1 in my design) and not the RST switch while connecting to the usb.
    R16 in my design is the 1.4Kohm tou are reffering to.
    I have re-reviewed my schematic as for your suggestion, but it is like as in figure 8 (I have already added the 2 missing capacitors, according to a suggestion from a previous thread)
    Regards,
    Enbar
  • Hello Enbar,

    I would suggest the following:

    • Switching to a different USB port.
    • Ensuring that PUR is held high when plugging in the USB cable by holding down your button before plugging in and keep it held for a second after plugging it in.
    • Have the Python script not running during this procedure and only start after device plugin.

    If the steps above do not work, then I would try redownloading the USB BSL onto the device to ensure it was not corrupted somehow. Information about this can be found on the MSPBSL webpage within the Customize the BSL section.

**Attention** This is a public forum