[SOLVED] Specifying bin file and start address for JFlash command line

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • [SOLVED] Specifying bin file and start address for JFlash command line

    I am attempting to use JFlash on the command line with a
    binary file. The following command does not work with a binary:

    C Source Code

    1. .\Jflash.exe –openprjC:\project.jflash –openC:\dataFile.bin,0x100000


    I have tried it with a mot and the “-open” argument works
    fine:

    C Source Code

    1. .\Jflash.exe –openprjC:\project.jflash –openC:\dataFile.mot


    The only way I have been able to open a bin file is to omit
    the “-open” altogether:


    C Source Code

    1. .\Jflash.exe –openprjC:\project.jflash C:\dataFile.bin



    However, using this method I cannot specify the start
    address.


    The question is: how can I open a .bin file from the command
    line while specifying a start address?
  • Hi,


    I just gave it a try and this command line works fine for me:

    C Source Code

    1. "C:\Program Files (x86)\SEGGER\JLink_V511e\jflash.exe" -openprjC:\Work\Support\2016_Q1\TMS570LC4357ZWT_Forum2991\TMS570LC4357ZWT.jflash -openC:\Work\Support\2016_Q1\TMS570LC4357ZWT_Forum2991\InitialFlash.bin,0x100000


    This seems to be similar to your first example.
    Are the file you use actually located in the root dir of your C:\ drive? Maybe J-Flash/Windows do not like this (Although J-Flash should be fine with that)
    Is there an error message in the Logfile?

    Best regards,
    Niklas
    Please read the forum rules before posting.

    Keep in mind, this is *not* a support forum.
    Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
    Should you be entitled to support you can contact us via our support system: segger.com/ticket/

    Or you can contact us via e-mail.