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.

TM4C1294NCPDT: UNIFLASH CLI error at generating board data

Part Number: TM4C1294NCPDT
Other Parts Discussed in Thread: UNIFLASH

I tried to use the CLI to flash our TM4C1294NCPDT and to progam the mac adress with an XDS110.

Using the GUI works fine. Out of this setting I generate the CLI package and extrated it on the same computer for testing.

But by calling the dslite.bat ends with that:

dslite --mode flash -c user_files/configs/tm4c1294ncpdt.ccxml -l user_files/settings/generated.ufsettings -s VerifyAfterProgramLoad="No verification" -e -f -v "user_files/images/V253_V115_combo.bin,0x0"

DSLite version 12.0.0.2808
Configuring Debugger (may take a few minutes on first launch)...
        Initializing Register Database...
Failed: Can't generate board data file C:\Users\Workstation\AppData\Local\TEXASI~1\CCS\Debug\0\0\BrdDat\ccBoard0.dat
The board config file 'extra' cannot be opened.

Any idea how to fix that?

Kind regards

René

  • René,

    Can you confirm that the UniFlash GUI is closed when you were running the CLI? I wanted to make sure the GUI is not holding resources that are needed to connect to my device.

    Also, can you share the tm4c1294ncpdt.ccxml that was generated in the /user_files/configs/ folder?

    Thanks,

    Ricky

  • René,

    It seems like some of the properties in the ccxml was overridden. Specifically, the "Board Data File" property was overridden to value of "auto generate with extra config file", but without the extra config file defined. I believe this is the cause of the "board config file" error you are seeing on CLI.

    Can you let me know if these overridden properties are needed for your device? If not, my recommendation would be to regenerate the ccxml in UniFlash by selecting tm4c1294ncpdt and XDS110 in the configuration page, and after clicking on 'Start', click on 'download ccxml' to redownload the ccxml. Save this ccxml and replace the one in your generated package.

    If some of the ccxml overrides are needed, I think at least the "Board Data File" property has the incorrect value. In this case, open your existing ccxml, find the following line:

                      <property Type="choicelist" id="dataFileRequired" desc="Board Data File" Value="1">

    And change the Value to 0 instead.

    Please let me know if either of these solutions work for you.

    Thanks,

    Ricky

  • Hi Ricky

    Your are right. I started from an existing project were we used a specific board file but not for this project.

    Now I can flash but I could program the MAC address as spcified in the "generated.ufsettings".

    Whats the problem with that?

    I just create a new package in Uniflash without an image to flash. Only writing the MAC address. Thats the answer:

    dslite.bat
    Executing default command:
    > dslite --mode flash -c user_files/configs/tm4c1294ncpdt.ccxml -l user_files/settings/generated.ufsettings -s VerifyAfterProgramLoad="No verification"

    Failed: nothing to do

    user_files.rar

    Thanks and kind regards

    René

  • René,

    To program the MAC address, can you try adding the following to the end of your command? (either by overriding the default command, or by opening the generated dslite.bat file and modifying the generated default command)

        -b ProgramMACAddress

    The generated package only stores the load program command right now (if a program is specified), so any other operations like MAC address programming will need to be manually added or issued in the command. This is something we are looking into enhancing for future versions.

    Thanks,

    Ricky

  • Hi Ricky

    Thank you very much - that works.

    Kind regards

    René