Dwarf error with STM8S105 discovery

ChibiOS public support forum for all topics not covered by a specific support forum.

Moderators: RoccoMarco, lbednarz, tfAteba

Post Reply
studiomax
Posts: 2
Joined: Mon Nov 05, 2012 4:44 pm

Dwarf error with STM8S105 discovery

Post 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?
User avatar
Giovanni
Site Admin
Posts: 14895
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 997 times

Re: Dwarf error with STM8S105 discovery

Post 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
studiomax
Posts: 2
Joined: Mon Nov 05, 2012 4:44 pm

Re: Dwarf error with STM8S105 discovery

Post 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
Post Reply