This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC2640R2F: CRC and payload length calculation

Part Number: CC2640R2F
Other Parts Discussed in Thread: CC2642R

Hi, 

How to calculate CRC and payload length field in metadata in oad.bin file?

I check ti document,

Table 24. Description of the
Field Size (in bytes) Description
OAD Image Identification Value 8 Unique number to identify the start of an OAD image
CRC 4 Cyclic Redundancy Check
BIM Version 1 Version required to support image format
Image Header Version 1 Version of image header contained in image
Wireless Technology 2 Type of connectivity used in image
Image Information 4 Image information bytes
Image Validation 4 Check if image is valid to run
Image Length 4 The total length of the image including header
Program Entry Address 4 Application startup entry address
Image Software Version 4 Software version of the image
Image End Address 4 End address of the image
Header Length 2 Total length of the image header

But not clear about CRC and payload length, how to calculate?

I am Using

Code Composer Studio 9.0.1

simplelink_cc2640r2_sdk_3_10_00_15

Device = CC2642R

Code Composer Studio 9.3.0

simplelink_cc2640r2_sdk_4_20_00_04

Device = CC2642R

Regard's

Toravi