Dear friends at Segger,
the latest versions of J-Flash no longer seem to work when driven by command line.
The files .cfg/.dat are not created, although the software does not report any error.
We tried with the latest Beta version (6.83b), but that does not work either. We then reverted to a previous version (6.80e), which works fine.
Here is the log taken from J-Flash V6.82c, from which you can see all of our command-line parameters.
Strangely, when supposed to create the output .cfg/.dat files, it actually seems to overwrite the input file, in the example [Firmware\DFWLLR1_Release_YL.bin].
Log
-------------------------------------------------------------------------------------------------------------------------------------------------------
Application log started
- J-Flash V6.82c (J-Flash compiled Jul 31 2020 17:37:19)
- JLinkARM.dll V6.82c (DLL compiled Jul 31 2020 17:36:49)
Optional command line parameters found
- [1]: -openprjDFWLLR1.jflash
- [2]: -openFirmware\DFWLLR1_Release_YL.bin,0x8000000
- [3]: -savecfgFirmware\WLL_0001.cfg
- [4]: -savedatFirmware\WLL_0001.dat
- [5]: -saveprj
Reading flash device list [C:\Program Files (x86)\SEGGER\JLink\ETC/JFlash/Flash.csv] ...
- List of flash devices read successfully (451 Devices)
Reading MCU device list ...
- List of MCU devices read successfully (7837 Devices)
Opening project file [DFWLLR1.jflash] ...
- Project opened successfully
Opening data file [Firmware\DFWLLR1_Release_YL.bin] ...
- Data file opened successfully (325952 bytes, 1 range, CRC of data = 0xC0EC090B, CRC of file = 0xC0EC090B)
Saving data file [Firmware\DFWLLR1_Release_YL.bin] ...
- Data file saved successfully (325952 bytes, 1 range)
Saving data file [Firmware\DFWLLR1_Release_YL.bin] ...
- Data file saved successfully (325952 bytes, 1 range)
the latest versions of J-Flash no longer seem to work when driven by command line.
The files .cfg/.dat are not created, although the software does not report any error.
We tried with the latest Beta version (6.83b), but that does not work either. We then reverted to a previous version (6.80e), which works fine.
Here is the log taken from J-Flash V6.82c, from which you can see all of our command-line parameters.
Strangely, when supposed to create the output .cfg/.dat files, it actually seems to overwrite the input file, in the example [Firmware\DFWLLR1_Release_YL.bin].
Log
-------------------------------------------------------------------------------------------------------------------------------------------------------
Application log started
- J-Flash V6.82c (J-Flash compiled Jul 31 2020 17:37:19)
- JLinkARM.dll V6.82c (DLL compiled Jul 31 2020 17:36:49)
Optional command line parameters found
- [1]: -openprjDFWLLR1.jflash
- [2]: -openFirmware\DFWLLR1_Release_YL.bin,0x8000000
- [3]: -savecfgFirmware\WLL_0001.cfg
- [4]: -savedatFirmware\WLL_0001.dat
- [5]: -saveprj
Reading flash device list [C:\Program Files (x86)\SEGGER\JLink\ETC/JFlash/Flash.csv] ...
- List of flash devices read successfully (451 Devices)
Reading MCU device list ...
- List of MCU devices read successfully (7837 Devices)
Opening project file [DFWLLR1.jflash] ...
- Project opened successfully
Opening data file [Firmware\DFWLLR1_Release_YL.bin] ...
- Data file opened successfully (325952 bytes, 1 range, CRC of data = 0xC0EC090B, CRC of file = 0xC0EC090B)
Saving data file [Firmware\DFWLLR1_Release_YL.bin] ...
- Data file saved successfully (325952 bytes, 1 range)
Saving data file [Firmware\DFWLLR1_Release_YL.bin] ...
- Data file saved successfully (325952 bytes, 1 range)