2004-03-31 10:37 PM
Problem with ST7 visual debug when using 'MACRO' asm directive
2004-03-25 11:07 PM
I'm developping with a indart-stx v2.0.4 on st7lite2 and ST7vd 2.5.4.
The program is asm only and use MACRO directives. In debug session, the tools is not able to manage the MACRO : there is a mismatch between the code executed and the source lines ==> So it's impossible to do a step and following where the program goes in the source window. Any solution ?2004-03-26 02:41 AM
I attached the SofTec Microsystems example for the inDART-STX/LITE2 Eval. Board. I made a macro that puts the ADC value on the ports data register connected to the leds. The STEP INTO instruction makes one only step on the macro call. If you use the Step Into ASM command the steps on the macro will be three (as many as the asm instructions contained in the macro definition). Hope this will help you.
Regards, ________________ Attachments : LITE2.zip : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006HzzC&d=%2Fa%2F0X0000000bVB%2F7oR2g9GLEAgWcA.3tPZ_aCuxXgVP91Ck2rqV2R4kGWs&asPdf=false2004-03-29 01:22 AM
Could you attach your code here?
2004-03-31 10:37 PM
You will find a light version of my program.
Thanks to ST support, I've resolved my problem by using the asm directive ''BYTES'' on the top of the program. If you put in comments this keyword and go back to debug with the disassembly window, you will see the bad results !!!! If someone can explain me why, I will improve my culture !! Thanks to all, Laurent ________________ Attachments : travail_Adc.zip : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006I08I&d=%2Fa%2F0X0000000bV9%2FE4mxAp8EjjgUHh7eDsO01AOr3Fn6yZOCPJgJ6PLc3xE&asPdf=false