Page 1 of 1

Dwarf error with STM8S105 discovery

Posted: Thu Nov 22, 2012 9:36 am
by studiomax
Hi,

I downloaded ChibiOS_2.4.2 and tried to run the demo STM8S-STM8S105-DISCOVERY-STVD compiling it using STVD (4.3.2) with Raisonance compiler/linker (Ride7 7.40.12.0145, Rki-STM8 2.46.12.0262). Compilation shows only a warning, but when I load the object on target, I got
Error: Dwarf Error: Cannot find referent at offset -1094612357.
Any idea about this error?

Re: Dwarf error with STM8S105 discovery

Posted: Thu Nov 22, 2012 9:54 am
by Giovanni
Hi,

The warning is "normal", it is a bug of the compiler, no other compilers gives that.

I am using a slightly older RKIT and I don't get this error, probably it would be a good idea to ask this question on the Raisonance forum, apparently it is related to the toolchain.

Are you running in debug or release mode? try changing mode.

Giovanni

Re: Dwarf error with STM8S105 discovery

Posted: Thu Nov 22, 2012 10:20 am
by studiomax
Thanks for your prompt reply.
I tried both, debug and release, with the same result.
I'll try with the Raisonance forum. Thank you.

Massimo