EDK - program behavior

T

Tobias Baumann

Guest
Hi

Last time I asked something about max array size. Now I have another
problem and I think it has also to do with the memory.

When I have a bigger program, sometimes it run how I want. But if I
commented something out, the programm stops very early (the commented
part are some thousand std_outs in a loop or something else, no data
manipulation what influence my control flow). Sometimes it restarts at a
specific point. It doesn't do what I want, but it does it allways the
same way. So the problem seems to be reproducible, but arbitrarily.

So what can the problem be? Unfortunately, I can't post a example,
because the code is to large (but if you interessted I can send them via
email).

I need some ideas where I have to search for the problems. Thanks for
every direct help or information where I can find some.

Regards,
Tobias
 
Hi

Last time I asked something about max array size. Now I have another
problem and I think it has also to do with the memory.

When I have a bigger program, sometimes it run how I want. But if I
commented something out, the programm stops very early (the commented
part are some thousand std_outs in a loop or something else, no data
manipulation what influence my control flow). Sometimes it restarts at a
specific point. It doesn't do what I want, but it does it allways the
same way. So the problem seems to be reproducible, but arbitrarily.

So what can the problem be? Unfortunately, I can't post a example,
because the code is to large (but if you interessted I can send them via
email).

I need some ideas where I have to search for the problems. Thanks for
every direct help or information where I can find some.

Regards,
Tobias
You might get a response if you post on the Xilinx forum at:
http://forums.xilinx.com/t5/EDK-and-Platform-Studio/bd-p/EDK


---------------------------------------
Posted through http://www.FPGARelated.com
 
On 31.03.2011 10:34, RCIngham wrote:
You might get a response if you post on the Xilinx forum at:
http://forums.xilinx.com/t5/EDK-and-Platform-Studio/bd-p/EDK


---------------------------------------
Posted through http://www.FPGARelated.com
I did it. I hope there's someone who can help. Here's the link:

http://forums.xilinx.com/t5/Embedded-Processing/Microblaze-prorgam-behavior/td-p/140198
 
On Mar 31, 2:20 pm, Tobias Baumann <tobias.baum...@elpra.de> wrote:

I did it. I hope there's someone who can help. Here's the link:

http://forums.xilinx.com/t5/Embedded-Processing/Microblaze-prorgam-be...
I'd check the stack size in the linker script. I saw similar behaviour
(strange hangups which appear deterministically but change when some
lines are commented out) when the stack size was around 0x300 and the
program tried to use much more.

- Andris -
 

Welcome to EDABoard.com

Sponsor

Back
Top