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.

MSP432E401Y: Issues Programming MAC address register with uniflash 6 CLI

Part Number: MSP432E401Y
Other Parts Discussed in Thread: UNIFLASH,

I can successfully program my MSP432E401y using uniflash 6.0.0 GUI.   I can also program the MAC address register using the uniflash GUI.  I then generate an "install package" using the Standalone Command Line.  When I run the generated installer (DSLite.bat), it programs the flash, but does not program the MAC Address.  I've tried performing a device unlock before calling dslite.bat, but it still does not work.  I'm using the uniflash GUI "Read MAC Address" to verify the MAC address contents.

DSLite has the MAC address I wish to program in the  user_files/settings/generated.ufsettings file:

type user_files\settings\generated.ufsettings
{"Texas Instruments XDS110 USB Debug Probe/CORTEX_M4_0":{"FlashMACAddrInput":"00-00-60-01-02-03"}}

when I run dslite I get the following output:

dslite.bat
Executing default command:
> dslite --mode flash -c user_files/configs/msp432e401y.ccxml -l user_files/settings/generated.ufsettings -s VerifyAfterProgramLoad="No verification" -e -f -v "user_files/images/flash1_00-00-01-00.out" "user_files/images/flash2_00-00-01-01.out"

DSLite version 10.1.0.1986
Configuring Debugger (may take a few minutes on first launch)...
Initializing Register Database...
Initializing: CS_DAP_0
Executing Startup Scripts: CS_DAP_0
Initializing: CORTEX_M4_0
Executing Startup Scripts: CORTEX_M4_0
Connecting...
CORTEX_M4_0: GEL Output:
Memory Map Initialization Complete
Loading Program: Multiple Files
Preparing ...
.text: 0 of 5376 at 0x0
.text: 0 of 39840 at 0x3000: 11%
.text: 32640 of 39840 at 0x3000: 84%
Finished: 84%
Setting PC to entry point.: 84%
Verifying Program: Multiple Files
Preparing ...
.text: 0 of 5376 at 0x0
.text: 0 of 39840 at 0x3000: 11%
.text: 32640 of 39840 at 0x3000: 84%
Finished: 84%
info: CORTEX_M4_0: Program verification successful for Multiple Files
Running...
Success

After the programming is complete I use the uniflash GUI's read mac addess operation, and it still reports the MAC address as FF-FF-FF-FF-FF-FF.

Can you please tell me how I can make this work? 

  • Hi Brian,

    Let me reach out to one of our experts on this topic.

  • Hi Brian,

    I'm having not able to track down anyone that can help on this specific topic.  What is your status?

  • Hi Dennis,

    It's still an issue.  I can do the results manually, but I need to automate the process at some point.  At the very least a bug should be filed against uniflash, and if someone can suggest a workaround for the short term I'd appreciate it.

  • Hi Brian,

    The issue is that while a MAC Address is specified via FlashMACAddrInput, the action to actually program the address is not part of the install package zip that was generated. I don't think there is a way to actually specify that "Program MAC Address" button press so that it is generated in the package. 

    You can do the following tweak:

    1. open the dslite.bat file in the package

    2. modify line 14 so that you add this additional option before the executable file:

    -b ProgramMACAddress

    Example:

    set GENERATED_COMMAND=-c user_files/configs/msp432e401y.ccxml -l user_files/settings/generated.ufsettings -s VerifyAfterProgramLoad="No verification" -e -f -v -b ProgramMACAddress "user_files/images/timerled_MSP_EXP432E401Y_tirtos_ccs.out" 

    3. save the file

    Now, if you run dslite, you should see confirmation in the output that the MAC address was flashed:

    Thanks

    ki