Difference between revisions of "J-Flash"

From SEGGER Wiki
Jump to: navigation, search
(Auto-update of project)
(Version compatibility)
Line 6: Line 6:
   
 
J-Flash is '''not''' forward compatible, meaning that J-Flash version <''X''> may not work correctly with projects created with versions newer than <''X''>.<br>
 
J-Flash is '''not''' forward compatible, meaning that J-Flash version <''X''> may not work correctly with projects created with versions newer than <''X''>.<br>
  +
  +
[[File: JFlash_VersionInfo.png]]
   
 
=Auto-update of project=
 
=Auto-update of project=

Revision as of 12:25, 28 April 2020

Version compatibility

J-Flash is backwards compatible (as all other J-Link software), meaning that any project files created with J-Flash version <X> can also be opened with any version of J-Flash newer than <X> (i.e. a project created with version V6.64 can also opened with V6.71d).

J-Flash is not forward compatible, meaning that J-Flash version <X> may not work correctly with projects created with versions newer than <X>.

JFlash VersionInfo.png

Auto-update of project

When opening a J-Flash project with a version of J-Flash that is more recent than the version of J-Flash that the project was last saved with,
it can happen that J-Flash prompts the user to allow an automatic update of the J-Flash project contents.
This is for example the case when the information about internal flash banks of the selected target device
inside the J-Link shared library has changed from the older version of the J-Link software to the newer version.

In order for J-Flash to work properly, it is necessary for the project file information to be in sync with the information of the J-Link shared lib.
Because of that, it is necessary for J-Flash to update the project information accordingly - otherwise it cannot open the project file.

JFlash AutoUpdate.png

Note:
In the process of auto-updating the J-Flash project file, some information (like the selection of sectors a flash bank) may get reset.
Because of that, it is highly recommended for any user to verify the correctness of the project file settings after an auto-update by J-Flash.

CRC calculation

The CRC used is the CRC32-CCITT polynomial.

Normal form: 0x04C11DB7
Reversed form: 0xEDB88320 (used by J-Flash)

Please note, that the initial CRC used for the calculation is 0x00000000 (some calculators use 0xFFFFFFFF).

Further information regarding this can be found here:


J-Flash and Flasher are using a CRC. The CRC used is the CRC32-CCITT polynomial.

Normal form: 0x04C11DB7
Reversed form: 0xEDB88320 (used by J-Flash)

Please note, that the initial CRC used for the calculation is 0x00000000 (some calculators use 0xFFFFFFFF).

Further information regarding this can be found here: