[SOLVED] flashing .hex files from Atollic TrueStudio

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

  • [SOLVED] flashing .hex files from Atollic TrueStudio

    Hello,
    The Atollic TrueStudio has a GDB server communication to the J-link, which works fine for debugging from within the IDE.
    However, we are not able to get that configured for just flashing the target with a release.hex file without any debugging. The Atollic Debugging tool does not take .hex files at all.
    So probably we would need to flash using an external tool, which can be called from the IDE.
    how do we do this? Jflash.exe can be called from command line, but we don't have a license for that on all computers. Is it possible to use a gdb script somehow? how would that look like?

    thanks.
    Michael Schmid
    BOS-AG
  • Hello Michael,

    The GDBServer is no production tool and is only there to execute commands from the GDBClient which is your IDE in this case. So to do that with the IDE Atollic would need to implement such a feature.
    If you are looking for a professional production tool that can be tailored to your needs JFlash is the correct tool to use.
    For debugging purposes JFlash Lite or JLink Commander can be used but these are not recommended for production.

    More information can be found in the corresponding user manuals.
    If you are looking for a affordable way to replace your J-Link models without JFlash license we recommend using our Trade-in-Program: segger.com/purchase/trade-in-program/

    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.
  • thank you.
    so how can I easiest flash and run a .hex file from command line using J-link commander or JFlash lite?

    We do not wish to purchase a JFlash license for every single J-Link we are using in our company. The production programming of course is done using J-flash, but not the development.

    The post was edited 1 time, last by michatroniker ().

  • Hello,

    you will find the information in J-Link user manual ins section 3.2.1.20 loadfile
    In the same manual you will find all needed information about JFlash Lite.

    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.
  • Hello,

    Yes, loadfile also verifies the data. You should see a message in the J-Link Commander how long verify needed.

    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.