2013-12-05 01:28 AM
Hi folks
Couple of questions about the_checksum16()
function. I've kind of got it working, but:extern int _checksum16(void);
'' declaration of my own - I can't for the life of me find a header file which declares this2013-12-05 02:12 AM
Hello,
CRC implementation is simple, write your own function and the problem is solved;)2013-12-05 03:03 AM
2013-12-05 06:49 AM
@Argail
Yes, I know CRC is easy to implement, but computing the correct value for the binary image before that image is linked, and then getting the value into program Flash is distinctly non-trivial! @luca Thanks for your prompt response. Which header is correct? I cannot find a .h file supplied with the compiler which declares _checksum16()... Given that ''simple'' debuggers cause a problem, and are probably the most commonly used, it would probably be a good idea to document it in the manual. I spent at least a couple of hours figuring out what was going on, having been used recently to ARM systems which have (a limited number of) hardware breakpoints, and thus don't suffer from this. Best regards Jonathan2013-12-05 11:18 PM
Oh sorry, I didn't understand what you wanted to do