cancel
Showing results for 
Search instead for 
Did you mean: 

ST7 Lite Stack / Ram

brian4
Associate II
Posted on September 10, 2003 at 06:16

ST7 Lite Stack / Ram

5 REPLIES 5
brian4
Associate II
Posted on September 09, 2003 at 13:17

Just downloaded the ST7 Lite0 exercises from the ST site.

In the STFLite0.asm the following appears:-

;************************************************

segment byte at 80-FF 'ram0' ;Zero Page

;************************************************

;************************************************

segment byte at 80-FF 'stack'

;************************************************

But the data sheet shows the Ram at 80 – BF and the Stack at C0 – FF

Which is correct or doesn’t it matter

sjo
Associate II
Posted on September 09, 2003 at 14:31

You are correct in what the datasheet says, the file stflite0.asm is incorrect.

depending on stack useage and the small amount of ram it would be normal on this device to increase the zero page ram and reduce available stack.

Regards

sjo
brian4
Associate II
Posted on September 10, 2003 at 05:43

Could anybody send me a simple flash an LED programme for the ST7Flite09 i.e. a complete set of correct files to get me started.

ppoletto
Associate II
Posted on September 10, 2003 at 06:13

Brian,

If you are using inDART, you can start with the sample provided with the tool. This example configures the A/D peripheral to convert on A/D channel 3 and displays the results on LEDs

Bye

Piero

brian4
Associate II
Posted on September 10, 2003 at 06:16

I have in the InDart STX programmer but not the Eval board, I have an home made Eval board.

Just checked the CD that came with it and it is totally blank, I had to download the Indart software from there website

[ This message was edited by: BrianM on 10-09-2003 09:52 ]