Topic : stack overflow message

Forum : ST7/STM8

Original Post
Post Information Post
July 10, 2008 - 10:23am
Guest

Dear raisonance support team,

I'm writing a firmware for the "ST7LITEU05B6 (2K flash 128bytes ram)".

it's an 8 pin microcontroller and I'm debugging it with rlink and ride7.

it seems to work but the "debug window" tell me every step over that I do the message
"stack overflow" but If you see the map i'm not over the 64bytes of ram.

can you take a look at the link map to check if it's all right ?

thanks

Spectre

LINK MAP

TYPE BASE LENGTH RELOCATION SEGMENT NAME
---- ---- ------ ---------- ------------

* * * * * * * * D A T A M E M O R Y * * * * * * * *
0010H 0070H *** GAP ***
DATA 0080H 0040H AT RAM0

* * * * * * * * C O D E M E M O R Y * * * * * * * *
CODE F800H 0002H AT CRC
CODE F802H 0525H AT FLASH
FD27H 02B9H *** GAP ***
CODE FFE0H 0020H AT VECTIT

EXECUTABLE SUMMARY:
-------------------
Total EEPROM storage requirement: 0000H (0)
Total DATA storage requirement: 0040H (64)
Total CODE storage requirement: 0547H (1351)

Replies
Post Information Post
+1
0
-1
July 11, 2008 - 11:49am
Guest

Dear Spectre

I received your project but I could not use it direcltly so I tried with our examples.

I have made some test using:
+ Ride7 (7.02.0001)
+ Rkit-STM8 (2.02.0001)
+ REva board v3.3
+ STFLite09 (it is the closest to the ST7Lite05 that I have)

And i do not have this problem.
I also tried with the version that will be released and I do not have the problem.

So may I ask you
+ What is the version of Ride you use?
+ Which board do you use?
+ Do you have this problem with the project examples that are given with Ride?

Best regards,
Matloub

+1
0
-1
July 16, 2008 - 7:28pm
Guest

Hi

We finally could reproduce this problem and it has been fixed.
The fix will be available in our next release which will be before the end of the week.

Best regards,
Matloub