[SOLVED] J-Link -> loadbin -> relative source file path

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

  • [SOLVED] J-Link -> loadbin -> relative source file path

    Hi Professionals,

    I am hoping you can help me.

    My batch file does run my skript file using Jlink.exe.
    Basically running well. :)

    But how do I give my skript a relative path (best would be batch file path)?
    All Segger documentation is with absolute path like "C:\..." :(

    loadbin ".\1.bin" , 20000000 -> in stead of -> loadbin "C:\1.bin" , 20000000


    '--------------------------------------------------Batch File-----------------------------------------------------------------------------------------------------
    h
    loadbin "C:\1.bin" , 20000000
    verifybin "C:\1.bin , 20000000
    r
    setpc 0x20000000

    g
    '--------------------------------------------------------------------------------------------------------------------------------------------------------


    Thank you very much in advance ... :)
    Images
    • 1.jpg

      37.42 kB, 593×72, viewed 257 times
  • Hello,

    Thank you for your inquiry.
    loadbin does not support relative paths as the J-Link Commander is not meant to be used as a production tool.
    For production we recommend using J-Flash.

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