2006-03-19 02:41 PM
Simulated Stack not reflected in the STVD7 when using DVP3 (Urgent!)
2006-03-15 01:28 AM
Hi,
Controller Used : ST7FL35 Compiler Used: Cosmic I am choosing the medium memory model for my project. My understanding is that the stack in this case would in the long range. I am using a linker file and in it the share region(which is the simulated stack) is given as below: +seg .share -a .bss -m0x64 -is -n stack and my MAP file is created as below: start 00000108 end 00000123 length 27 segment stack I am using the crtsx.s as the startup file. when i run the code in the emulator(DVP3)the stack grows from 0x1ff always and not as per the simulated stack. When a static memory model is choosen, the rsp command resets the stack pointer to its physical address or to its simulated stack address???? Kindly let me know about this behviour. :o Thanks and Regards, Suganya [ This message was edited by: Suganya on 16-03-2006 04:59 ]2006-03-15 08:16 PM
2006-03-16 01:53 AM
Yup. Thanks.
Like wise the physical stack size also cannot be changed for a controller is it? For ST7FL35 the memory map defines the physical stack in 0x180 to 0x1FF which is 128 bytes. This size is it fixed ? Regards, Suganya. [ This message was edited by: Suganya on 16-03-2006 15:24 ]2006-03-17 03:49 AM
2006-03-19 02:41 PM
ok. Thank you.
Regards, Suganya