欧美极品高清xxxxhd,国产日产欧美最新,无码AV国产东京热AV无码,国产精品人与动性XXX,国产传媒亚洲综合一区二区,四库影院永久国产精品,毛片免费免费高清视频,福利所导航夜趣136

專注電子技術學習與研究
當前位置:單片機教程網 >> STM32 >> 瀏覽文章

Warning: Stack pointer is setup to incorrect alignment.

作者:啄木鳥   來源:啄木鳥   點擊數:  更新時間:2014年06月14日   【字體:
在編譯的時候出現的問題,很是有點郁悶!!
查閱后,顯示如下:
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.)


或許你上面沒有看懂,或許你看懂了!!!
下面我說一下自己及巨額的辦法:
此種情況,很多是由于芯片的一個保護功能,就是說在你仿真的時候,你原來的芯片里面已經有程序了,在你想要重新搞定之前,你需要先擦除芯片里面的程序!!!
英文部分提供了一個很好的辦法,就是打開IAR的按章文件的此路徑(arm\bin\JLinkSTM32.exe)下的JLinkSTM32.exe這個家伙即可,你點擊以后根據提示或者體會自動那個擦出你芯片里面的程序!SO!恭喜,你的芯片又可以Debug了.................

相關文章