CRC check for FLASH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2008-02-06 6:16 PM
CRC check for FLASH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2011-05-17 3:22 AM
I want to check FLASH content after each startup using 32-bit CRC. This is easy to do, but I have to calculate CRC and add it to the linker output file before I download it to my STM32. I'm using Raisonance Ride 7.
Is there any smart way to add CRC or is there an alternative to detect corrupted data in FLASH memory?- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2011-05-17 3:22 AM
don't know about ride7 but you could try integrating srecord into the build.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2011-05-17 3:22 AM
If you are not sure what lanchon means by srecord:
http://srecord.sourceforge.net This is an example to put the checksum at the end of the hex file srec_cat in.hex -Intel -Little_Endian_CRC32 -max in.hex -Intel -Output out.hex Cheers sjo- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2011-05-17 3:22 AM
Thank you lanchon and sjo, I didn't know srecord.
I'll have to decide what information to add in the build (CRC, program version from version manager) and what information later during testing (serial number, hardware version, test report).