DW3 QM33 SDK Building Tutorial - UCI Hex File Differences

Hello,

I’ve have an QM33210wdk1 kit and have followed the building tutorial in the nRF52840_Developer_Manual_QM33SDK-1.0.2 (section 4) to setup an Ubuntu 22.04 LTS development environment to generate the default nRF52840-DW3_QM33_SDK_UCI-FreeTOS.hex file. I would have expected that the generated hex file would be identical to that provided in the same SDK package. However, the MD5SUMs differ.

user@Ubuntu22:~/Workspace$ md5sum DW3_QM33_SDK_1.0.2/BuildOutput/DW3_QM33_SDK_UCI/FreeRTOS/nRF52840DK/nRF52840DK-DW3_QM33_SDK_UCI-FreeRTOS.hex
e6b4b4fe284c39422d621957dce71a04

user@Ubuntu22:~$ md5sum Downloads/nRF52840DK-DW3_QM33_SDK_UCI-FreeRTOS.hex
94680b2850eb82b7015d097924990cd2

I’m using the recommended ARM toolchain and python packages.

user@Ubuntu22:~$ arm-none-eabi-gcc --version
arm-none-eabi-gcc (GNU Arm Embedded Toolchain 10.3-2021.10) 10.3.1 20210824 (release)

user@Ubuntu22:~$ python3 --version
Python 3.10.12

Is it likely the generated hex file is correct or is there a compatibility issue with my development environment?

Thanks.

Each time you re-build, it includes the build date/time as part of the binary. Therefore, even if you re-build again now, it will be different than when you built it previously.

Interesting, built same HEX file on 2 different days in clean build directories. One within VSCODE IDE (4.3.2.2) and the other standalone (4.4.1.2). Both generated HEX files had same MD5SUM.

user@Ubuntu22:~/Workspace/DW3_QM33_SDK_1.0.2/BuildOutput/DW3_QM33_SDK_UCI/FreeRTOS/nRF52840DK$ ls -al nRF52840DK-DW3_QM33_SDK_UCI-FreeRTOS.hex
-rw-rw-r-- 1 vboxuser vboxuser 1424511 Jun 16 12:02 nRF52840DK-DW3_QM33_SDK_UCI-FreeRTOS.hex

user@Ubuntu22:~/Workspace/DW3_QM33_SDK_1.0.2/BuildOutput/DW3_QM33_SDK_UCI/FreeRTOS/nRF52840DK$ md5sum nRF52840DK-DW3_QM33_SDK_UCI-FreeRTOS.hex
e6b4b4fe284c39422d621957dce71a04 nRF52840DK-DW3_QM33_SDK_UCI-FreeRTOS.hex

user@Ubuntu22:~/Workspace/DW3_QM33_SDK_1.0.2/BuildOutput.VSCODE/DW3_QM33_SDK_UCI/FreeRTOS/nRF52840DK$ ls -al nRF52840DK-DW3_QM33_SDK_UCI-FreeRTOS.hex
-rw-rw-r-- 1 vboxuser vboxuser 1424511 Jun 13 16:02 nRF52840DK-DW3_QM33_SDK_UCI-FreeRTOS.hex

user@Ubuntu22:~/Workspace/DW3_QM33_SDK_1.0.2/BuildOutput.VSCODE/DW3_QM33_SDK_UCI/FreeRTOS/nRF52840DK$ md5sum nRF52840DK-DW3_QM33_SDK_UCI-FreeRTOS.hex
e6b4b4fe284c39422d621957dce71a04 nRF52840DK-DW3_QM33_SDK_UCI-FreeRTOS.hex