- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We need to verify the checksum of the application image in the Cypress PSOC4 (256K). Currently our checksum check includes all of flash (including supervisory flash sflash). How can we verify only only the application image in flash at runtime. We need to do the checksum from the actual application running in flash.
thanks
Rick
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Rick,
why do you need to verify? The bootloader already verifies the image on startup.
Which PSoC 4 device exactly are you referring to?
Regards,
Ralf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Ralf
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Richard,
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.
Regards,
Ralf