Skip to main content
Version: Next

3.2.19: Read crc & checksum

1.Read the crc or checksum of the program

The PowerWriter client supports multiple ways to check crc and checksum in addition to verifying the correctness of burned firmware data.It should be noted that after the protection is applied, the chip cannot be read crc or checksum.

1.1Check crc by shortcut key 【Read】

The firmware size occupies the entire area of the flash.

Through the shortcut key 【read】, the crc value read by default is the crc of the whole film. Therefore, if the added firmware does not occupy all the flash area, the crc value displayed on the log page is different from the crc value of the firmware. When the firmware size is just full of the flash, the crc value read is the same as the crc value of the firmware you added.

image-1.png

1.2Check crc by shortcut key 【AnyRD】

The firmware size does not occupy all the flash area.

When the firmware size does not occupy all the flash area, you can use the shortcut key 【AnyRD】to enter the start address and size of the firmware to read the crc value.As long as the address size is correct,The crc value you read is the same as the crc value you added to the firmware.

image-2.png

1.3Check the crc under the Program Memory page

Currently, the client supports both crc and checksum checks in the buffer.

Add multi-segment firmware

After burning multiple pieces of firmware, switch to the Program Memory page, read back the whole piece first, and then click the firmware that you want to view crc or checksum in the firmware list, right-click in the buffer, and you can see the crc and checksum,support reading crc or checksum values for full or selected values.

image-3.png

2.Read the crc or checksum of PKG

When you delivery PKG to your receiver by ICWORKSHOP client ,you will should read the crc or checksum of PKG.For receiver could check the correctness of the PKG projec.t

For developers, how to check the checksum of a PKG project?

After saving the PKG project in the PowerWriter client, you can select 【File】 from the menu bar and then 【Export Project BOM】.his will generate an Excel table in the same path as the PKG project. The content of the Excel table can be customized during the export process. In the Excel file, you can view the CRC32 and checksum values of the files.

4ac2d877bccf47b7281d3f88e244c129

1740124694949_2D7B200D-5CC4-490c-ABC1-5117CAE1DE11

For recipients, after selecting and downloading the project through the ChuangXin Workshop client, the checksum of the project can be seen in the log box.

e856159e32011be64b509705082fef67

The figure below shows an example of the checksum for a PKG project.

image-20250221164204275