Cosmic feature: automatic code checksum
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2005-11-08 10:06 AM
Posted on November 08, 2005 at 19:06
Cosmic feature: automatic code checksum
Labels:
- Labels:
-
Legacy products
This discussion is locked. Please start a new topic to ask your question.
4 REPLIES 4
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2005-10-13 7:49 AM
Posted on October 13, 2005 at 16:49
Hello to everybody,
Has somebody use the Cosmic feature ''automatic code checksum calculation''? Is this featurer flexible and reability? Thanks for Your commentsOptions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2005-10-13 9:37 PM
Posted on October 14, 2005 at 06:37
This feature works fine.
Declare checksum section in linker script, eg. +seg .text -b 0xf000 -m 0x1000 -n .text +seg .const -a .text -n .const +seg .cksum -ik -a .const -n .cksum mark the section to be checked with the -ck in the script. Then call one of the checksum functions, eg. _checksum() this will return zero for program checksum ok. Further details are given in the cosmic manual. Hope this helps. sjoOptions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2005-10-17 2:17 AM
Posted on October 17, 2005 at 11:17
just be careful for those applications that need to start up ''fast''; calculating the checksum on a big chunk of code can be a bit slow.
Regards, Luca (Cosmic)Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2005-11-08 10:06 AM
Posted on November 08, 2005 at 19:06
Thanks for Your suggestion
