MSP-GANG: Can't program into LP-MSPM0G3507

Part Number: MSP-GANG
Other Parts Discussed in Thread: LP-MSPM0G3507, UNIFLASH, MSPM0G3507

Tool/software:

Dear expert, 

My customer is using MSP-GANG as programming tool for LP-MSPM0G3507. 

they faced the issue when programming, see the status below. 

But they are able to program MCU with XDS110, so the MCU works well.

This is the way they connect the board, follow the way from our SOP. 

But they can program anything into MCU. 

Do you know anything we have to take a look on? 

The self test report is also fine. See this. 

4571.MSP-GANG-SelTestReport.txt
Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
=== MSP-GANG Self test results ( Wednesday, November 27, 2024, 11:38:25 ) ===
Adapter SN ------: 17080743
Hardware --------: G430: 01.04
Access key ------: MSP-GANG Programmer
Silicon Number --: 8DC0 B06F 2300 0A00
API Firmware ----: MSP-Gang A430: 01.03.09.00
BOOT Firmware ---: G430BOOT B430: 01.00.02.00
GUI Software ----: MSP-Gang-GUI G430: 01.03.09.00
DLL Software ----: MSP-Gang-DLL D430: 01.03.09.00
================ Test results =============
No. name parameter limits result status
1: Data Bus (ALL LOW) 0x0000 (0x0000 - 0x0000) Result: 0x00 ... >> OK <<
2: Data Bus (ALL HIGH) 0x00FF (0xFFFF - 0xFFFF) Result: 0xFFFF ... >> OK <<
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Best Regards,

Eric Chen

  • Hello Eric,

    I have done the same tests on my side with you. I can download code successfully. 

    If your hardware connection is correct, I think maybe the txt file you generated on IAR may have some error. Do you do modification on NONMAIN? And can you send your txt file to me? And if we can't resolve it, I will contact with my software team colleague who is responsible for the MSP-GANG.

    Best Regards,

    Janz Bai

  • Hello,

    1). BSL invoke is not needed when you want to download code using MSP-GANG;

    2). I do tests on my side using the two txt files you send to me and I found that I can't download successfully and get the same error with you;

    3). It seems that you use XDS110 and download the project directly in IAR and be successfully but when you want to download the txt file into M0 through MSP-GANG, you will get error, so I think that maybe the txt file you generated is wrong or your method to generate txt file is wrong.

    4). I generate the txt file of the example code "gpio_toggle_output" in our SDK, you can try to download this file and check whether it will report the error. 

    e2e.ti.com/.../gpio_5F00_toggle_5F00_output_5F00_LP_5F00_MSPM0G3507_5F00_nortos_5F00_iar.txt

    5). If you can, try to use another G307 Lauchpad to do some tests. I think the txt file you send to me (you used) may have some error. Both these two txt files can't be downloaded successfully through MSP-GANG. 

    6). Please take a video about how you generate the txt file and check whether the SDK you use is the same as the one in IAR

    <![if !vml]><![endif]><![if !vml]><![endif]>

    Best Regards,

    Janz Bai

  • Dear Janz, 

    After programming with "gpio_toggle_output" and then use the MSP-GANG to burn other txt file will come with the same error. 

    See the picture for the way to generate output file.

    Do you think this may cause the problem?

    Best Regards,

    Eric Chen

  • Hello Eric,

    Please check the points as we discussed on webex.

    Best Regards,

    Janz Bai

  • Hello Eric,

    1), You can let customer use the latest version  Uniflash to download his own txt file temporarily. I have tests that using Uniflash can download customer's txt file successfully;

    UNIFLASH Software programming tool | TI.com

    2). In fact, if you must enter into BSL mode and then download code can be successful, it may caused by that MCU are running to a error state when MSP-GANG want to download code into it. Entering BSL mode can let MCU enter into BSL state and then download code.

    3). In fact, I have done some tests on my side today using the txt file generated by SDK example on CCS, just a few times, it reports the same verify error. This error can't be repeated each time so I think that maybe it is caused by hardware reason such as unstable connection, etc. It is so strange and I will contact with my colleague who is responsible for MSP-GANG and ask for his commons. Please wait for a few days, because they are in Thanksgiving Holiday.

    Best Regards,

    Janz Bai

  • Hello Eric,

    Added more information.

    1). Please let customer check his hardware connection and try to download the txt file I sent multi times, check whether it will report the verify error. 

    2). Please let customer generate the txt file using the same example "gpio_togle_output" as mine through IAR, and download it into MCU through MSP-GANG multi times, check whether it will report the error. After customer generate the txt file. please send it to me too.

    Best Regards

    Janz Bai

  • Dear Janz,

    Here is the finding from customer side.

    Seems that when using MSP-GANG, only burning the same code as the original Flash would work.

    1. After burning with "gpio_toggle_output" with XDS110, and then born the same code (gpio_toggle_output) with MSP-GANG works well. 

    But if we start burning with "05_gpio_toggle_output_LP_MSPM0G3507_nortos_iar" or "20_gpio_toggle_output_LP_MSPM0G3507_nortos_iar". it will occur verify error. 

    2. After burning with "05_gpio_toggle_output_LP_MSPM0G3507_nortos_iar" with XDS110, and then born the same code (05_gpio_toggle_output_LP_MSPM0G3507_nortos_iar) with MSP-GANG works well. 

    But if we start burning with "gpio_toggle_output" or "20_gpio_toggle_output_LP_MSPM0G3507_nortos_iar". it will occur verify error. 

    3. The same flow and result for "20_gpio_toggle_output_LP_MSPM0G3507_nortos_iar".

    Best Regards,

    Eric Chen

  • Dear Janz,

    Seems to conclusion will be 

    1.Use the XDS110 first to burn the provided "gpio_toggle_output", use the MSP-GANG to re-flash the same file, repeat 15 times pass

    2.Reuse the IAR Compilation Example "gpio_shoot_output" txt file such as an attachment, and use XDS110 first to burn the same file, with MSP-GANG overflash the same file, repeat 15 times pass

    re_gpio_toggle_output_LP_MSPM0G3507_nortos_iar.txt
    Fullscreen
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    @0000
    00 04 20 20 A5 02 00 00 33 01 00 00 33 01 00 00
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    00 00 00 00 00 00 00 00 00 00 00 00 33 01 00 00
    00 00 00 00 00 00 00 00 33 01 00 00 33 01 00 00
    33 01 00 00 33 01 00 00 33 01 00 00 33 01 00 00
    33 01 00 00 33 01 00 00 33 01 00 00 33 01 00 00
    00 00 00 00 33 01 00 00 33 01 00 00 00 00 00 00
    00 00 00 00 33 01 00 00 33 01 00 00 33 01 00 00
    33 01 00 00 33 01 00 00 33 01 00 00 33 01 00 00
    33 01 00 00 33 01 00 00 00 00 00 00 00 00 00 00
    33 01 00 00 33 01 00 00 00 00 00 00 00 00 00 00
    33 01 00 00 00 00 00 00 33 01 00 00 33 01 00 00
    0F 4A 81 50 70 47 95 22 52 01 81 50 70 47 0D 4A
    81 50 70 47 10 B5 00 F0 1F F8 0B 4C 80 21 C9 04
    20 00 FF F7 F0 FF 09 49 20 00 FF F7 E9 FF 08 48
    00 F0 1A F8 07 49 20 00 FF F7 E9 FF F7 E7 00 00
    90 12 00 00 B0 12 00 00 00 20 0A 40 00 00 41 08
    00 24 F4 00 00 00 41 0C 80 B5 00 F0 0B F8 00 F0
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    Best Regards,

    Eric Chen

  • Hello Eric,

    Get it. As I mentioned in the email. Please wait for my colleague Henry to give some commons.

    Best Regards,

    Janz Bai

  • Hey Eric,

    Thanks for reaching out and apologies for the delay.

    From what you're describing it seems like there needs to be an update in the erase process.

    It seems like the default erase being done is the sector erase but due to the fact that the latter image is smaller some remnants of the former image remain causing issues. This is why the clear lock device (factory reset) option fixes the issue.

    Will follow up with Elprotronic soon and keep you updated.

    Henry Nguyen

  • Hello Eric, 

    As we talked through email. you can let customer test the latest version MSP-GANG software.

    Best Regards,

    Janz Bai

  • Dear Janz, 

    It can work from my end. 

    Again, thanks for your support on this!

    Best Regards,

    Eric Chen

  • Sounds good. You are welcome, Eric.

    Best Regards,

    Janz Bai

**Attention** This is a public forum