[SOLVED] Load file from command line

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

  • [SOLVED] Load file from command line

    Hi,

    I am trying to load file to my XMC1400 MCU via SWD. I am using XMC Link pribe(Jlink lite) I can do it by using Jlink.exe directly. But I want to do this by windows command line.
    It seems like -loadfile is not recognized trough command line. I checked the manuals and I confirmed this. But is there another I can do this? By using other .exes or .dlls? (I must add, I'd prefer doing this without any purchases.)

    Best regards,

    İpek
  • Hi İpek,
    Thank you for your inquiry.

    Programming directly via command line is only supported via J-Flash, which requires a J-Link Plus or higher.
    Another option would be to acquire the J-Link SDK and developing an application yourself (the SDK is not free).

    However the following method might be sufficient in your case:
    wiki.segger.com/J-Link_Commander#Using_J-Link_Command_Files

    Best regards,
    Fabian
    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.