cancel
Showing results for 
Search instead for 
Did you mean: 

Thread suspended after sleep...

ruben23
Associate II
Posted on April 29, 2011 at 17:30

Thread suspended after sleep...

12 REPLIES 12
ruben23
Associate II
Posted on May 17, 2011 at 14:33

Yes there was unnamed unions, and I had to change the code.

I used optimizing flags, but I had strange behaviours in Eclipse (and Atollic), and I'm trying to delete unused code to fit code in FLASH without optimize it.

Anyway in keil, compiler return an error:

Error: L6200E: Symbol {variable_name} multiply defined (by {file1.o} and {file2.o}).

In some variables declared in include files. I tried to define external to see what happens, and obviously returned 'undefined symbol' error. But I don't know why variables are multiply defined, in the header of include files I declare the typical:

#ifndef _HEADERXX_H_ #define _HEADERXX_H_ ..... #endif

Maybe this include files are called redundantly...don't know yet.

ruben23
Associate II
Posted on May 17, 2011 at 14:33

Don't know why forum hide final part of the original message as 'quoted Hide'...I 're-post' message...

Yes there was unnamed unions, and I had to change the code.

I used optimizing flags, but I had strange behaviours in Eclipse (and Atollic), and I'm trying to delete unused code to fit code in FLASH without optimize it.

Anyway in keil, compiler return an error: Error: L6200E: Symbol {variable_name} multiply defined (by {file1.o} and {file2.o}).

In some variables declared in include files. I tried to define external to see what happens, and obviously returned 'undefined symbol' error. But I don't know why variables are multiply defined, in the header of include files I declare the typical:

#ifndef _HEADERXX_H_ #define _HEADERXX_H_ ..... #endif

Maybe this include files are called redundantly...don't know yet.

ruben23
Associate II
Posted on May 17, 2011 at 14:33

I spend some time using Keil and crossworks, they didn't crash but halted also in the same lines, and jumped to ''0x00000000''. I tried to configure eclipse with old ST-Link drivers and it works (ST-Link_gdbserver files, I use DLL version 4.0.1.2).

I suppose that update of these .DLL were the problem. A little sad...but as we say here ''en fin Pilarin...''.

Thank you again for your time, and hope this could be useful.

Best regards!