cancel
Showing results for 
Search instead for 
Did you mean: 

beginners help for ST7 (FMC)

omatza
Associate II
Posted on September 27, 2005 at 11:27

beginners help for ST7 (FMC)

4 REPLIES 4
omatza
Associate II
Posted on September 26, 2005 at 14:53

We bought starter kit for the ST7FMC.

1. I have problems with compiling the 1905 and run it, so I asked

Metrowerks, and they told me that ST also has a simulator. Not only In-Dart.

Is it true ? How can I get it ?

2. I have account, but it says \''You are not subscriber of ST

Microcontroller Support Site.\''

How do I subscribe ?

3. what is the difference between ST DVP (2 or 3) and ST EMU (2 or 3)

emulators ?

What is the difference between those and the in-dart comes with the

starter kit ?

luter
Associate II
Posted on September 27, 2005 at 05:18

Hi.

What kind of problems do u have?

Try another compiler (Cosmic). I compiled library with cosmic and ran on in-dart (Softec) w/o problems.

Limited version of Merowerks compiler supports up to 1k. To compile library u definitely need more.

wolfgang2399
Associate II
Posted on September 27, 2005 at 05:47

Hi omatza,

ST gives you a very confortable debugger with the STVD7 (Visual Debugger) for free. You can download it from the ST site

http://mcu.st.com/mcu/modules.php?name=mcu&file=mdtdocs

as STVD7 or as part of the ST7 toolset.

I use it with the MetroWerks Compiler and it works fine.

As I remember, I have had to select an option of the linker to get the ELF/DWARF-file for the STVD7. But I'm no longer sure how to do it. Maybe [Edit]-[''project'' Settings]-[Linker for St7]-[options][output]-[ELF/DWARF:Generate fixups in abs file], but better you contact Metrowerks to make sure.

Regards WoRo

omatza
Associate II
Posted on September 27, 2005 at 11:27

Hello All

Thanks for your advices.

The issue with changing the format is defently correct.

In Metrowerks version 1.1 the output format was hiware. (option -Fh)

In Metrowerks version 2.0 the output format is elf. (option -F2)

It needs to be changed in the environment (as woro said) and in makefiles!!!.

My problem is that:

I compile my project , load it with in-dart and start debug.

If I use metrowerks version 1.1 everything is ok, and I see the C program variables values. :)

If I use 2.0, and compile to elf format, then some of the variables doesn't show correct value, and it says simbol not recognize in current context. :(

If I compile with hiware format, the compilation ends without errors but .abs file is not created.

In Cosmic, I see most of the variables correctly, not all of it.

Does anybody has answer to the questions I asked about:

1. what is the difference between ST DVP (2 or 3) and ST EMU (2 or 3)

emulators ?

2. I have account, but it says \''You are not subscriber of ST

Microcontroller Support Site.\''

How do I subscribe ?

I also didn't find the simulator yet.

(What I mean is something like the zap from Cosmic.)

Thanks

Oren