2005-04-11 09:08 PM
2005-04-07 06:12 AM
Hallo,
I started new with programming ST-MCU's and I really couldn'd get on with the 'ST7 Visual Develop'. I wrote a simple ASM-programm and got many errors wich I don't understand. (see in the attached file 'boot.asm') st7/ #include ''st72f521r6.inc'' segment byte at: FFFE 'vector' ; RESET dc.w BANK0 BANK0: NOP NOP ld a,#10 END I put the code and all the other files as a attachment. Do anyone have an idea why this code could not be assembled. Thanks for any idea!2005-04-07 10:05 PM
This modified file may help. You can see the st7 software examples provided on the st web site for more help.
st7/ #include ''st72f521r6.inc'' WORDS segment byte at F000 'Sector0' BANK0: NOP NOP ld a,#10 segment byte at: FFFE 'vector' ; RESET dc.w BANK0 ; reset vector points to 0xF000 END2005-04-09 03:57 AM
Hallo venky,
Quote:
On 08-04-2005 at 10:35, venky wrote: st7/ #include ''st72f521r6.inc'' WORDS segment byte at F000 'Sector0' BANK0: NOP NOP ld a,#10 segment byte at: FFFE 'vector' ; RESET dc.w BANK0 ; reset vector points to 0xF000 END thanks for your idea, but even that simple programme doesn't work. One error is: E:\PROJEKT\CarSig\Tutorial\Test2\boot.asm(7): as1 : Error 28: More than four characters in single quote! 'at F000 'Sector0' and there are many more! At the moment I'm really not shure using the right development enviroment? I've downloaded 'ST7 Toolset' from the ST site, now I'm going to use try the older version STVD7 V2.5.4 or do a new installation. :-[2005-04-10 05:19 PM
Hi abou,
Can you send the workspace and all the related asm files? May be then I can tell you the exact problem... bye venky2005-04-11 09:08 PM
Hallo venky,
I have found the main reason for my problem so far. It is really a bad trap that directives are not allowed to stand in the first column! But I have still another problem. I want to check code with the Simulator. The following error occurs then starting the debugger: 'Simulator error: unknown mcu name' I'm using the ST72F521R6 and this also configured in [Project Settings]->[MCU Selection] and I put '-d' in the [Defines] (under [ST7-ASM]) field. So where does the Simulator get the information which mcu will be used? Does for this also exist any strange rules?