1. Meaning of the Error
In the check function using the YSM file (a file that saves the expected SUM value for successful programming), this error occurs when the SUM value in the YSM file does not match the SUM value of the programmed data calculated by the programmer when the device function is executed.
2. Causes and Countermeasures
■ Cause 1: The SUM value described in the YSM file is incorrect.
- Countermeasure: Check if the SUM value described in the YSM file is correct, and correct it if necessary.
- Supplement: If the "Object file programming function" or similar features are enabled, due to the programmer's specifications, only the area where programming and verification were actually performed is subject to the SUM value calculation. Therefore, it may not match the SUM value of the entire object file calculated on the PC. In this case, please set (adopt) the SUM value output by the programmer upon successful completion of programming to the target microcontroller as the SUM value in the YSM file.
■ Cause 2: Unnecessary data (garbage data) remains in the buffer memory, or the data is corrupted.
- Countermeasure: If a buffer clear is not performed before loading the object file, previous data may remain in the buffer memory, causing the SUM value to mismatch. Please be sure to execute "Buffer Clear" before reloading the object file.
■ Cause 3: The SUM Check Mode setting does not match the calculation method of the YSM file.
- Countermeasure: Check if the SUM Check Mode setting on the programmer side (e.g., "8/8bit", "8/16bit") matches the calculation method of the SUM value described in the YSM file, and correct the programmer's setting if necessary. (e.g., When a 16-bit SUM value is described in the YSM file, but the programmer's setting is "8/8bit".)
■ Cause 4: Programming is successful the first time, but an error occurs only during reprogramming (second time and onwards).
- Countermeasure: When using a definition program that enables ICU-S (such as FRX830-S10), in the second and subsequent programming, the programming process for the secure area that has already become non-rewritable is automatically skipped. Since the skipped area is excluded from the programmer's SUM value calculation, the calculated SUM value differs from the first programming, resulting in an error. In this case, please prepare and selectively use different YSM files (YIM folders) with different SUM values for the first programming (ICU-S disabled state) and for reprogramming from the second time onwards.
< Related articles >
[NETIMPRESS Common] What is the YSM check?
[NETIMPRESS Common] The sum value of the object file and the sum value at the time of programming do not match.
[NETIMPRESS Common] How to calculate the SUM value