why do you need to verify? The bootloader already verifies the image on startup.
Which PSoC 4 device exactly are you referring to?
Does the bootloader check against the same checksum that is stored in the the hex file that is flashed?
Could you point me to the documentation on this for the PSoC 4?
sorry for the late reply. There's no email notification when someone replies :/
The behaviour is described in the bootloaders component datasheet. I don't know exactly if the hex file checksum is used or if there's an additional checksum calculated during download, but there's an verification process inside the bootloader on each startup (which can be optionally disabled).
Please check the datasheet and if there are any additional questions, ask here.