电路设计,软件开发,专业项目团队承接电子产品开发!


ISPRO下载型编程器
火爆销售中

RS232/TTL转换器
全IC串口窃电

RS232/TTL转换线
全IC串口窃电

ByteBlasterMV Cable
CPLD/FPGA并口下载线

ByteBlaster II Cable ISPRO下载型编程器
支持S51/AVR/PIC
超级51开发板套件
前卫实用超值

PC/MCU/CPLD
三合一学习套件

全新万年历方案
AVR单片机开发板
 

Min51单片机仿真机
迷你型

ARM7开发板
仅售260元!
 

RS-232/RS-485双向接口电平转换器  

51单片机升级STM32
火爆销售中
MPLAB-ICD2
火爆销售中
LED51开发板
玩具又名图文显示棒

面板模块/开发板
经济危机明智决择

       

GSM MODEM GSM猫

SMS短信模块 工业级/全自动
火爆销售中

大功率数传电台

高速数传电台

您当前位置:电子技术资料 -> STM32 -> IAR ->

祝您阅读愉快!

Stack pointer is setup to incorrect alignment


类别:技术文章
来源:未知
作者:未知
关键字:incorrect alignment
加入日期:2013-10-14

Warning: Stack pointer is setup to incorrect alignment. Stack addr = 0xAAAAAAAA (EWARM 5.x & 6.x)EW targets: ARM
EW component: C-SPY debugger
Last update: November 18, 2010

Problem
Programming the STM32 device fails with the message:

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

Background
The STM32 device can be read protected. When that is done will the bytes in the flash memory read out as 0xAA. When the Cortex-M device starts up are the bytes 0x00 to 0x03 read as holding the value of the stack pointer, and in that situation is the value 0xAAAAAAAA invalid.

Solution
The flash of the STM32 needs to be erased with an external tool. The tool arm\bin\JLinkSTM32.exe can do this erasure. (Just run the tool from command line.)

Note
The arm\bin\JLinkSTM32.exe in version 5.50 of EWARM had a bug. So (if needed) update with the EWARM Service Pack 5.50.5.

') } document.write('
') document.write('' + LinkText + '') document.write('
') }


...if JLinkSTM32.exe can not work, use j-flash.->erase sectors


您可能还会关注的相关技术资料:
暂无

中国电子网
www.EC66.com
QQ:34740080 EMAIL:iloveaoe@163.com
最佳浏览:1024*768
Copyright (C) 2001-2010 EC66.COM All Rights Reserved
Aoe/帝国 制作维护
粤ICP备11071661号