Question
STM8S207SB checksum fails with cosmic compiler
Posted on April 18, 2016 at 14:20
Hi!
I just tried to verify the FLASH according to CLASS B considerations. I followed the manual by using -ck for .text and -ik (.checksum area) flags for the linker,The descriptor is inside the s19 file, the map file shows 10 bytes as expected. My codesize is around 64k (I did not check lower sizes, but exceeding 64k boundary). I have to use the long stack model for my code.All _checksum/_checkCRC functions fail (result is not zero). I do not use breakpoints (I read the hint in one post), but it still does not work. The descriptor area starts at 0x18b96, code area at 0x9528-0x18b96.I tried Cosmic 4.3x and 4.4x (dongle license). No luck.What could be the reason for that?Best regards,HaJo