AnsweredAssumed Answered

stack pointer incorrect

Question asked by kihlmark.richard on Mar 25, 2013
Latest reply on Oct 6, 2014 by karpavicius.linas


We are trying to migrate from IAR Kickstart kit with IAR-STM32F207ZG-SK board to our own board.

On our PCB we have STM32F207ZC mounted.

The small test code is successfully downloaded with J-Link.

Downloaded C:\data\p-1026-lockkort-pwm10\arm\examples\ST\STM32F2xx\STM32F2xx_StdPeriph_Lib\Project\STM32F2xx_StdPeriph_Examples\TIM\TIM10_PWMOutput\STM322xG_EVAL\Exe\TIM10_PWMOutput.out to flash memory.

But we get this warning:

Warning: Stack pointer is setup to incorrect alignment. Stack addr = 0xFFFFFFFF

We have changed to the device we use in IAR pre-processor settings.

Probably there is still a file somewhere that describe device used as STM32F207ZG

and set stack pointer to a non-existing SRAM address.

The downloaded program do not run.

Any suggestions where to look for and change device settings?