Hi!
The code has C & C++ on a proprietory OS. The problem is:
When a
#define VAR1 40
is changed to
#define VAR1 32,
the board resets repeatedly after power-on.
VAR1 is used
1)to declare an array, Array1[(VAR1 * VAR2) + VAR1]
and
2)in a "for" loop, char1 < char_num
where char_num = VAR1 -2.
I have tried commenting various init functions in the startup code, with no success. Has anyone had a similar problem and what could be a possible reason?
Thanks a lot for any help/suggestions.
Regards,
ms
The code has C & C++ on a proprietory OS. The problem is:
When a
#define VAR1 40
is changed to
#define VAR1 32,
the board resets repeatedly after power-on.
VAR1 is used
1)to declare an array, Array1[(VAR1 * VAR2) + VAR1]
and
2)in a "for" loop, char1 < char_num
where char_num = VAR1 -2.
I have tried commenting various init functions in the startup code, with no success. Has anyone had a similar problem and what could be a possible reason?
Thanks a lot for any help/suggestions.
Regards,
ms