From: SourceForge.net <no...@so...> - 2003-12-04 08:12:05
|
Feature Requests item #853893, was opened at 2003-12-04 09:12 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=350599&aid=853893&group_id=599 Category: None Group: None Status: Open Priority: 5 Submitted By: Maarten Brock (maartenbrock) Assigned to: Nobody/Anonymous (nobody) Summary: CRC output from linker Initial Comment: Hello, I would like to see the option added to the linker to be able to have it compute a CRC on the produced code and insert that into the output code as well. This way a program can sanity check itself before startup. This way one could also decide (based on an educated guess) not to download code to a target, because it wasn't changed, which saves development time. To implement this, I think the following are required: 1) Generate a symbol for the CRC 2) Select an area to compute the CRC over 3) Fill unused bytes in the area with a default value (FF) 4) Compute the CRC (8/16/32) 5) Store the CRC outside this area. Keep up the good work, hope this helps improving SDCC further and further. Maarten ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=350599&aid=853893&group_id=599 |