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.

MSP430FR5969: Msp gang programmer for msp mcus

Part Number: MSP430FR5969
Other Parts Discussed in Thread: MSP-GANG,

Hello,

We are using msp gang programmer for loading code file in the ic in production.

Production requirement is to save pass/fail log or resultfile using the serial no of each pcba that is programmed automatically through the software.

currently we are using script mode to load the code file into the ic. Read flash command is also not available in the instructions. 

The Msp gang programmer for msp mcus .exe application doesnot allow this.

How can i achieve this? 

How should i integrate this in the .exe file.? as the msp gang dlls cannot be imported into the visual studio application directly.

  • Hello Rakshita,

    Thank you for your post. Looking at the Script mode instructions listed in Section 2.1.3.3 in the MSP-GANG User's Guide, I don't see an instruction to read the Flash memory. I did search the User's Guide and found several DLL functions that are related to reading the Flash memory.

    • MSPGANG_Interactive_DefReadTargets (see Section 4.2.14)
    • MSPGANG_Interactive_ReadTargets (see Section 4.2.15)

    However, they seem to be related to Interactive mode only, not Script mode. Perhaps, you could try using Script mode for programming the IC and then use the F_INTERACTIVEMODE instruction, which switches to Interactive mode. Then, you could utilize the Read functions in Interactive mode (listed above) to read the memory.

    If I'm not mistaken, you shouldn't need to import the DLL into the Visual Studio environment. You should be able to recompile the .exe in Visual Studio.

    Regards,

    James

    MSP Customer Applications

  • Hello James,

    The MSP-Gand DLL cannot be imported into the visual studio.

    Its giving an error message : The selected component cannot be browsed.

    Kindly support regarding this issue.

    Regards,

    Rakshita Dessai

  • Kindly check the above error.

  • It must be complicated, because someone design it to be complicated. It can be simple, of course, without coding and dll.

    D:\msp430>flash -r 8 1000 1040
    
    Get Device
    # JTID Fuse Device Core Hard Soft LotWafer DieX DieY
    0  91   OK   3180  1104  12   12  013BB046 2A00 2100
    1  91   OK   3080  1104  30   10  B15B9446 2000 1700
    
    Read
    #0
    01000: 3C34 3C08 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF ; 4... . . . . . .
    01010: 0000 0000 0000 0000 0000 0000 0000 0000 ; ................
    01020: 0000 0000 0000 0000 0000 0000 0000 0000 ; ................
    01030: 0000 0000 0000 0000 0000 0000 0000 0000 ; ................
    #1
    01000: 3C09 3C12 3FFF 3FFF 3FFF 3FFF 3FFF 3FFF ; .... . . . . . .
    01010: 0000 0000 0000 0000 0000 0000 0000 0000 ; ................
    01020: 0000 0000 0000 0000 0000 0000 0000 0000 ; ................
    01030: 0000 0000 0000 0000 0000 0000 0000 0000 ; ................
    
    Release Device
    
    Total Time: 47 ms
    
    D:\msp430>
  • Hello,

    Thank you for providing this screenshot. I've passed along your feedback to our software team and am waiting on feedback from them.

    Regards,

    James

    MSP Customer Applications
  • Hello James,

    Kindly revert back on above query.

  • Hello,

    Thank you for your patience. According to our software team, there's only one option that can work at this point. Here's a summary:

    • We recommend using the recently-released software v1.2.9.0 which supports device serialization.
    • With this version, it's possible to set a starting serial number and increment steps (e.g. next serial is prior plus 1).
    • After successfully flashing your application code, a serial number will be written at the flash address defined before (only for PASS units, FAIL units will not get a serial number).
    • The serial numbers can be (optionally) written into a text file (and as mentioned before, only the PASS units get a serial number).
    • Limitation: Units already having a serial number can't be reprogrammed with a new serial number (old serial number will be re-used).

    For more details about this functionality, please refer to Section 2.1.8 "Serialization" on page 38 in SLAU358. Please let me know if you have any questions.

    Regards,

    James

    MSP Customer Applications

  • Hello James,
    Thanks for your support, but unfortunately this did not resolve my issue.
    Is there any other programmer available which I can control through my own GUI application to program the MSP430FR5969 IC?
  • And what about MSP-GANG like flasher, without installation, with no dll, and open source PC side (CLI) / interface.

    To boost SBW speed over the speed of full JTAG interface, SBW interface is extended with one extra line, but with FRAM devices it can also work by standard SBW interface on lower speed. 

    Flashing

    Serialization

    Flashing sequentially different family with different firmware

    Mailbox logging

    Integrated in Energia

    Benchmark

    And there is read command...

    C:\msp430>flash -r 0 40
    
    Found SBW+SWD at COM27
    
    Get Device
    # Cortex Var Rev   SWDP      APID   Vendor   Part
    5   M0+   0   1  0BC11477  04770031   SL   EFM32HG322
    6   M3    1   1  1BA01477  14770011   TI   LM3S5749
    7   M3    1   1  1BA01477  14770011   ST   STM32F1xx
    
    Read
    #5
    0000: FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF ;                 
    0010: FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF ;                 
    0020: FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF ;                 
    0030: FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF ;                 
    #6
    0000: FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF ;                 
    0010: FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF ;                 
    0020: FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF ;                 
    0030: FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF ;                 
    #7
    0000: 20000400 08000145 080002E7 080002DF ; ... E...š...-...
    0010: 080002E3 0800018D 0800045D 00000000 ; Ń...Ź...].......
    0020: 00000000 00000000 00000000 0800030D ; ................
    0030: 08000191 00000000 080002E9 080003F9 ; Ĺ.......Ú...¨...
    Time: 67 ms
    
    Release Device
    
    Total Time: 94 ms
    
    C:\msp430>
  • Hello Rakshita,

    Were you able to try the steps described above? Can you describe how they didn't solve your issue?

    Regards,

    James

    MSP Customer Applications
  • Hello Rakshita,

    Due to inactivity, I'm closing the thread. If you're still experiencing this issue, feel free to reply, and it will re-open the thread. If you have other unrelated issues, please open a new thread. Thanks.

    Regards,

    James

    MSP Customer Applications

**Attention** This is a public forum