Uninitialized stack pointer used at xxxx and tiny26

Go To Last Post
4 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Why do I get warnings all time when the counter0 overflows?

timer0 overflow:
AVR Simulator: Uninitialized stack pointer used at 0x0045
...other:
AVR Simulator: Uninitialized stack pointer used at 0x0034
...once again overflow:
AVR Simulator: Uninitialized stack pointer used at 0x0062

I have SP3 installed.
And below is a line from the init section:

;**** INIT STACKPOINTER *************
ldi temp, RAMEND
out sp, temp

Stack point is set only once at the beginning.

Regards
heguli

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Simulator bug in build 485. See rkruses post in https://www.avrfreaks.net/index.p... .

As of January 15, 2018, Site fix-up work has begun! Now do your part and report any bugs or deficiencies here

No guarantees, but if we don't report problems they won't get much of  a chance to be fixed! Details/discussions at link given just above.

 

"Some questions have no answers."[C Baird] "There comes a point where the spoon-feeding has to stop and the independent thinking has to start." [C Lawson] "There are always ways to disagree, without being disagreeable."[E Weddington] "Words represent concepts. Use the wrong words, communicate the wrong concept." [J Morin] "Persistence only goes so far if you set yourself up for failure." [Kartman]

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I'll be damned... and I tought my code is a mess -once again :D
Thanks Johan

P.S
Are you watching sport from Göteborg?

Regards
heguli

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Quote:

Are you watching sport from Göteborg?

Not today. This is one of the first days I've had control of my own time for many days. I've been more active here at 'freaks than for several weeks. And I got my new shiny 20" 1600x1200 flat monitor today. :D Only problem is that it seems the secondary graphics controller on my laptop is picking up noise from somewhere, so I got heaps of distorsion :cry: More on all this in another thread, another day.

As of January 15, 2018, Site fix-up work has begun! Now do your part and report any bugs or deficiencies here

No guarantees, but if we don't report problems they won't get much of  a chance to be fixed! Details/discussions at link given just above.

 

"Some questions have no answers."[C Baird] "There comes a point where the spoon-feeding has to stop and the independent thinking has to start." [C Lawson] "There are always ways to disagree, without being disagreeable."[E Weddington] "Words represent concepts. Use the wrong words, communicate the wrong concept." [J Morin] "Persistence only goes so far if you set yourself up for failure." [Kartman]