Page 1 of 1

Chibios 2.4.0 STM32VL-Discovery Demo + IAR EWARM 6.30.1.3142

Posted: Tue Apr 03, 2012 5:29 am
by DeusExMachina
Everything seems to be OK, but there is a warning message

Code: Select all

The stack pointer for stack 'CSTACK' (currently 0x20000400) is outside the stack range (0x20000800 to 0x20002000) 

I set memory limits according Linker - Config description of ST's doc
"UM0985 User manual Developing your STM32VLDISCOVERY application using the IAR Embedded Workbench software"
Increasing heap and stack size has no effect.

Re: Chibios 2.4.0 STM32VL-Discovery Demo + IAR EWARM 6.30.1.

Posted: Tue Apr 03, 2012 7:39 am
by Giovanni
Hi,

That message is normal because each thread has its own stack area and the debugger is not aware of this, it only considers the C runtime stack (main thread stack).

Giovanni

Re: Chibios 2.4.0 STM32VL-Discovery Demo + IAR EWARM 6.30.1.

Posted: Wed Apr 04, 2012 4:00 am
by DeusExMachina
thx