cancel
Showing results for 
Search instead for 
Did you mean: 

RIDE ST6 problem

henrik239955
Associate II
Posted on April 14, 2003 at 11:18

RIDE ST6 problem

2 REPLIES 2
henrik239955
Associate II
Posted on April 14, 2003 at 09:32

Hi,

I want to emulate my old programs built in AST6/LST6 on the RIDE ST6 software but it wont work... Does anybody know how to do this?

I use the ST62GP DBE.

Regards

Bood
sjo
Associate II
Posted on April 14, 2003 at 11:18

You have one of two methods, either use the ''Use AST6 Syntax'' option in the options/project dialog. This will not work if you use sections though.

The best method would be to rewrite for RIDE, its not that hard to do.

1. define data.code section,eg.

CODESEG SEGMENT CODE

DATASEG SEGMENT DATA

then use RSEG to select the current segment.

2. Use CSEG to declare your interrupt vectors/etc,eg.

CSEG AT 0ffch

_nmi: nop reti

_res: jp reset

Have a look at AN1369 from this website.

Regards

Spen