J-Flash V7.54d -- ERROR: Could not open flash device list file

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

    • J-Flash V7.54d -- ERROR: Could not open flash device list file

      Hello,

      I get the following error when I start J-Flash in any directory under /home : ERROR: Could not open flash device list file [ETC/JFlash/Flash.csv]

      The contents of JFlash.log is following:

      Source Code: JFlash.log

      1. Application log started
      2. - J-Flash V7.54d (J-Flash compiled Sep 28 2021 16:18:47)
      3. - JLinkARM.dll V7.54d (DLL compiled Sep 28 2021 16:18:25)
      4. Reading flash device list [ETC/JFlash/Flash.csv] ...
      5. - ERROR: Could not open flash device list file [ETC/JFlash/Flash.csv]
      6. File not found!

      The host system is Ubuntu. Installation is as follows:

      Source Code

      1. > ls /opt/SEGGER
      2. drwxrwxr-x JLink_Linux_V754b_x86_64
      3. drwxrwxr-x JLink_Linux_V754d_x86_64
      4. drwxr-xr-x Ozone_Linux_V324d_x86_64
      5. drwxr-xr-x Ozone_Linux_V324f_x86_64
      6. lrwxrwxrwx JLink -> JLink_Linux_V754d_x86_64
      7. lrwxrwxrwx Ozone -> Ozone_Linux_V324f_x86_64
      8. > which JFlashExe
      9. /usr/local/bin/JFlashExe
      10. > ls /usr/local/bin/JFlashExe
      11. lrwxrwxrwx /usr/local/bin/JFlashExe -> /opt/SEGGER/JLink/JFlashExe
      Display All

      If I cd /opt/SEGGER/JLink (or cd /opt/SEGGER/JLink_Linux_V754d_x86_64 for that matter) and start JFlash from there, everything is fine, the log message is

      Source Code

      1. Application log started
      2. - J-Flash V7.54d (J-Flash compiled Sep 28 2021 16:18:47)
      3. - JLinkARM.dll V7.54d (DLL compiled Sep 28 2021 16:18:25)
      4. Reading flash device list [./ETC/JFlash/Flash.csv] ...
      5. - List of flash devices read successfully (451 Devices)
      6. Reading MCU device list ...
      7. - List of MCU devices read successfully (8788 Devices)


      It would be nice if this issue is solved.

      Kind regards,
      Vadim Barshaw
    • Hi Vadim,
      Thank you for your inquiry.
      Such an issue is not known to us.

      Just to make sure that I understood you correctly:
      - You installed J-Link via DEB-package
      - You changed your directory to the home directory (cd ..).
      - Calling "JFlashExe" or "JFlash" from there caused the mentioned error
      Is that correct?
      If so, we are not able to reproduce this issue on our side (see below).

      Could you please provide step-by-step instructions on how to reproduce this issue?



      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.