Topic : STM8 Linker CRC-check error

Forum : ST7/STM8

Original Post
Post Information Post
January 30, 2013 - 10:48am
Guest

Hello,

it seems like the linker mismatches

Replies
Post Information Post
+1
0
-1
January 30, 2013 - 5:20pm
Raisonance Support Team

Hello,
Can you explain your problem more in details!
regards,
Etienne

+1
0
-1
January 31, 2013 - 8:53am
Guest

Hello,
ok, hope that the message get not snipped this time:

linker seems to change lg and addr in crc struct.
I am working with an stm8s208cb and linker should crc check the whole flash:

FILLGAP(0x55) CRCRANGE(0x08000, 0x27fd0)

CRC struct array looks like:
lg        7FFF    0000    0000    0000    0000    0000
addr      8000    0001    FFFF    0002    7FD5    0000
crc       497E    3DF6    3E84    3E84    0000    4900

As you can see in the third and fifth element, lg and addr are switched.

I am using the latest linker version.

+1
0
-1
February 4, 2013 - 11:00am
Raisonance Support Team

Hello cyko,

Indeed there is a trouble!
Our lab is currently analyzing it and will contact you as soon as a solution is found.

+1
0
-1
April 29, 2013 - 10:11am
Guest

Hi,
the CRC-Array Table looks now ok to me (after the Update)
But the 16Bit Variant still doesen't work.

+1
0
-1
May 14, 2013 - 10:33am
Raisonance Support Team

Hi,

What do you mean by doesn't work? Could you give us more information?

+1
0
-1
July 22, 2013 - 9:11am
Guest

Hi,
sorry for late answer. I haven't done more research on this, but I run in situations where a tiny code change make the 8Bit variant doesent work anymore (crc check returns zero), therefore the 16Bit variant are working.
For safety reasons I compute the CRC with an extra C Function and add it to the Hex-file manually...