cancel
Showing results for 
Search instead for 
Did you mean: 

Starting C with ST7

mailtoarup
Associate II
Posted on March 01, 2004 at 08:32

Starting C with ST7

4 REPLIES 4
mailtoarup
Associate II
Posted on February 25, 2004 at 07:50

sir,

I am working on indart-st7 (st7 visual debug) with indart-st72f264 tool on demo board from Softec Microsystem.At present I am writting my code in assembly language.Now i want to write same application in ''C''.

How to start this ->

What are the software should be installed in my PC.

Infact I have 3 cds from ST:

* Microcontroller Development tools.

* MCU on CD.

* System Software (Softec Microsystem).

At present i am working on STVD7.

Do i need any other C compiler for running application written in C

(or)STVD7 environment is sufficient for compiling and debugging of the

program.

Supposing that i want to create my own folder called ''ADC''.here i want to write a program called ''ADC.C''.Tell me what are the files should be required to write and execute this program.And Any path settings are required for that??if yes then how to do that??

or i have to download some software to specific directory etc etc .. issues...

As i am beginner, pls guide me ..

pls help.

thanks,

Arup

kr
Associate II
Posted on February 25, 2004 at 09:54

Hi Arup,

STVD7 supports two c comilers COSMIC,Metrowerks. You need to install these compilers and you have to set the toolchain path in the STVD7 GUI. I can suggest you to look at the Metrowerks and COSMIC websites to get more information.

Please also refer ST7-EMU3 Emulator User Manual.

Rgds

Kalai
nciot
Associate II
Posted on February 26, 2004 at 05:40

Hi Arup,

STVD7 is just a debugging interface, if you want to use it with a C compiler you must have installed it on your PC. I suggest you to download the evaluation version of Cosmic or Metrowerks C compilers.

In Softec Microsystems web site it has just been published a new Application Note: AN002, in which is widely explained how to interface those compilers with STVD7.

The link is:

http://www.softecmicro.com/download.html?type=browse&title=Application+Notes

Regards

[ This message was edited by: Nicola on 26-02-2004 10:11 ]
jatin
Associate II
Posted on March 01, 2004 at 08:32

-> Firstly you need to install the compiler in your system(cosmic or metrowerks)

-> Download the ''ST7 software library'' from the same site which would be very useful for you

[ This message was edited by: Jatin on 01-03-2004 13:03 ]