cancel
Showing results for 
Search instead for 
Did you mean: 

Linker problem with ST7 Eval firmware

bsa22
Associate II
Posted on December 09, 2004 at 09:18

Linker problem with ST7 Eval firmware

2 REPLIES 2
bsa22
Associate II
Posted on December 08, 2004 at 09:02

Hi All,

I'm trying to get the firmware provided with the ST7 USB Eval Kit to compile using ST7 Visual Develop and a Cosmic full version of the compiler. The code compiles, but the linker gives the error:

#error clnk Debug\digboardproj.lkf:1 no default placement for segment .vector

I assume this is because it needs a line like:

+seg .vector -b 0xFFE6

But I don't know how to add that file. The ST7VD program auto-generates that linker file every time, so I can't manually insert it. I've been trying to find any option in the project settings to specify this with no luck. Anyone know what to do here?

Thanks!

chander
Associate II
Posted on December 09, 2004 at 09:18

Hi Maracle,

I followed the following steps and was able to compile the code:

1> Open STVD7 3.0.1 and select new workspace.

2> Select the option ''Wrap Make file''

3> Give the path of the mak file from ''config\cosmic'' directory.

4> Change the PRJ_PATH and LIB_PATH as per your requirement.

5> Delete all files in ''objects'' folder or un-comment the clean commands in the end of make file.

Hope this helps.