Difference between revisions of "J-Flash"

From SEGGER Wiki
Jump to: navigation, search
(Version compatibility)
(Redirected page to UM08003 J-Flash)
(Tag: New redirect)
Line 1: Line 1:
  +
#REDIRECT [[UM08003_J-Flash]]
__TOC__
 
 
=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).<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=
 
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,<br>
 
it can happen that J-Flash prompts the user to allow an automatic update of the J-Flash project contents.<br>
 
This is for example the case when the information about internal flash banks of the selected target device<br>
 
inside the J-Link shared library has changed from the older version of the J-Link software to the newer version.<br>
 
 
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.<br>
 
Because of that, it is necessary for J-Flash to update the project information accordingly - otherwise it cannot open the project file.<br>
 
 
[[File: JFlash_AutoUpdate.png]]
 
 
'''Note''':<br>
 
In the process of auto-updating the J-Flash project file, some information (like the selection of sectors a flash bank) may get reset.<br>
 
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.<br>
 
 
=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:
 
* SEGGER Knowledge Base: Explaining [[CRC]]
 
* Wikipedia: https://en.wikipedia.org/wiki/Cyclic_redundancy_check#Standards_and_common_use (table entry for CRC-32)
 
* J-Flash User Guide: UM08003 chapter "9.1 CRC of current data file"
 
 
 
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:
 
* SEGGER Knowledge Base: Explaining [[CRC]]
 
* Wikipedia: https://en.wikipedia.org/wiki/Cyclic_redundancy_check#Standards_and_common_use (table entry for CRC-32)
 
* J-Flash User Guide: UM08003 chapter "9.1 CRC of current data file"
 

Revision as of 14:01, 6 May 2020

Redirect to: