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.

MSPM0G3507: About MSPM0 BSL using only USB-to-UART cable

Genius 5785 points
Part Number: MSPM0G3507
Other Parts Discussed in Thread: UNIFLASH,

Hi experts,

About MSPM0 BSL
Q1: Is there a way to connect the host PC and MSPM0 using only a commercially available UART-USB conversion cable? Example: TTL-232R-3V3

I understand that I need to use XDS110 to connect to the host PC using MSPM0_BSL_GUI.exe.
Refer to:www.ti.com/.../slaae88a.pdf

But Uniflash is possible?
Refer to:dev.ti.com/.../uniflash_guide.html

Q2: If Q1 is No, are there any plans for future support?

Best regards,
O.H

  • Hi O.H.,

    Currently it looks like this is intended to work with just XDS110 adapters, I suspect that is just because of the BSL invocation.

    It should still work with a generic USB->UART adapter, if BSL is manually invoked before you try to load the program.  (i.e. issue a reset and pull up the BSL_INVOKE pin (PA18), then hit load image). You just need to set the COM# to match your generic adapter. 

    Best Regards,
    Brandon Fisher

  • Hi Brandon Fisher,

    Thank you for your support.

    Using LP-MSPM0G3507 and TTL-232R-3V3 (without using XDS110), I was able to load the program from Uniflash (v:8.4.0.4474).
    For reference, the steps are listed below.

    1. Generate a TI-TXT hex(.txt) file from CCS and use it for "Application Image". (Paswword is not set)
    2. Check the appropriate "COM Port" from Device Manager
    3. LP-MSPM0G3507 and TTL-232R-3V3 only connect TXD, RXD, and GND.
      (LP-MSPM0G3507 is powered via USB, and J101 is connected only to GND, 3V3, and NRST)
    4. While pressing the PA18 (BSL_Invoke) button on the LP-MSPM0G3507, press and release the NRST button to shift to BSL mode.
    5. Click "Load Image" within a few seconds after entering BSL mode
    6. [SUCCESS] is displayed

    Please note that you will not be able to write properly if several tens of seconds pass after switching to BSL mode.
    "Error: -9" or ""[ERROR] CORTEX_M0P: [ERROR_MESSAGE]Failed to receive expected data!"

    Best regards,
    O.H

  • Hi O.H.

    Thanks for following up with your test results.

    Please note that you will not be able to write properly if several tens of seconds pass after switching to BSL mode.
    "Error: -9" or ""[ERROR] CORTEX_M0P: [ERROR_MESSAGE]Failed to receive expected data!"

    The BSL_Invocation will idle while waiting for a command, then drop into a low power state after 10 seconds if no commands are received, so this makes sense. 

    Best Regards,
    Brandon Fisher

  • Hi Brandon Fisher,

    Thank you for the reply.

    The BSL_Invocation will idle while waiting for a command, then drop into a low power state after 10 seconds if no commands are received, so this makes sense.

    My doubts have been resolved.

    Best regards,
    O.H