Reply by MW Ron December 21, 20012001-12-21
"vmiramont" <> wrote:

> I am having troble with breakpoint warnings after switching from a
> flash configuration back to an external ram application. The console
> window that used to pop up to display all my printf statements is
> gone and I can no longer step through my code. Does anybody know what
> I did to mess up my configuration.

Victor,

I'm a bit stumped on this one. I'm not sure if the symptoms you describe
necessarily have anything to do with the fact that you have recently
switched back from a flash application to an external ram application. I
would think if anything you might experience some problems going from an
external ram application to flash since the memory limitations are more
stringent. Are you sure that's not what the case is?

Just based on the symptoms you have described, my first guess would be that
you have just switched an application from external ram to flash and maybe
are having some stack size issues. If you are using the SDK stationary and
switching from RAM to Flash, you have to be aware of your stack size and the
fact that the flash stationary significantly reduces the size of the stack
that you are able to use. This can cause problems on function calls like
printf and sprintf which require large amounts of stack space in order to
function, and once you leave the bounds of the stack space and start
overwriting into other areas of memory of course you will experience some
serious problems in terms of your program not functioning.

Anyways, this is all just a guess based upon experience since I don't have
many details of your application. However, in your post you state that you
are having problems going from Flash to external ram so if that's the case
then i'm not sure what the problem could be.

Hope my info helps. Metrowerks will have partial support over the holidays
week, but try to help if this doesn't --
Metrowerks wishes you and yours
Seasons Greetings and Happy Holidays

Ron Liechty



Reply by vmiramont December 20, 20012001-12-20
Hello All,

I am having troble with breakpoint warnings after switching from a
flash configuration back to an external ram application. The console
window that used to pop up to display all my printf statements is
gone and I can no longer step through my code. Does anybody know what
I did to mess up my configuration.

Thanks In Advance
Victor M.