J-Flash
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.
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:
- 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"