[ABANDONED] J-Link EDU MINI

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

  • [ABANDONED] J-Link EDU MINI

    Hello, I recently bought a J-Link EDU MINI, I want to learn and try the possibilities with this programmer. I installed J-Link Commander, so the question is, can the compiled code be uploaded in .hex format? Do you really need .bin?
    Do I need to specify more parameters during upload? If yes, which ones?

    When I try to upload a code I get the following message:
    "Error while parsing parameter <noreset | reset>"

    When I type the command: "reset"
    Reset delay: 0 ms
    Reset type NORMAL: Resets core & peripherals via SYSRESETREQ & VECTRESET bit.
    Memory map 'before startup completion point' is active
    Reset: Halt core after reset via DEMCR.VC_CORERESET.
    Reset: Reset device via AIRCR.SYSRESETREQ.

    The reset function seems to work. Where could the problem be?

    Thanks in advance for the answers.

    The post was edited 2 times, last by Andrius ().

  • If you use „loadbin“ you should pass a bin file.
    If you use „loadfile“ it can be a hex / mot / srec / elf / bin file.
    Note that for bin files, you also need to pass an address because these files do not contain address information.

    In your case, the following sounds the easiest way to move forward:
    loadfile <PathToHexFile>
    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.
  • Thank you for answer.

    When I try to upload the .hex file i still get this message:

    J-Link>loadfile C:\new_folder\filename.hex
    Error while parsing parameter <noreset | reset>
    Syntax: loadfile <filename> [, <Addr>] [, <noreset | reset>]
    J-Link>

    When I enter the "reset" command, everything is look fine.

    J-Link>reset
    Reset delay: 0 ms
    Reset type NORMAL: Resets core & peripherals via SYSRESETREQ & VECTRESET bit.
    Reset: Halt core after reset via DEMCR.VC_CORERESET.
    Reset: Reset device via AIRCR.SYSRESETREQ.
    J-Link>

    But it still fails to upload the file.

    Maybe you have encountered such a problem and know how to solve it?
  • Maybe someone knows why it doesn't allow uploading?

    -------------------------------------------------------------------------------------------------
    J-Link>loadfile C:\new_folder\file.hex
    'loadfile': Performing implicit reset & halt of MCU.
    Reset: Halt core after reset via DEMCR.VC_CORERESET.
    Reset: Reset device via AIRCR.SYSRESETREQ.
    Downloading file [C:\new_folder\file.hex]...
    J-Link: Flash download: Bank 0 @ 0x00000000: Skipped. Contents already match
    O.K.
    J-Link>mem 0x00 100
    00000000 = FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF ................
    00000010 = FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF ................
    00000020 = FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF ................
    00000030 = FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF ................
    00000040 = FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF ................
    00000050 = FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF ................
    00000060 = FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF ................
    00000070 = FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF ................
    00000080 = FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF ................
    00000090 = FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF ................
    000000A0 = FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF ................
    000000B0 = FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF ................
    000000C0 = FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF ................
    000000D0 = FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF ................
    000000E0 = FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF ................
    000000F0 = FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF ................
    J-Link>
    -----------------------------------------------------------------------------------------------

    When I try to load the .bin file then everything works.

    Thank you
  • I am confused…
    First, you posted some output in which you get a syntax error for „loadfile“.

    Then you posted some output with an almost identical call to „loadfile“ but there is no syntax error.
    Instead, the flash programming is started and reports that the contents of flash already match the contents from the file, so no programming is necessary.
    But at the same time you write that things do not work…

    We need more details here.
    What fixed the syntax error from the 1st round?
    What contents do you expect @ 0x0?
    How does the output look with a BIN file (that works, according to your description)
    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.