搜索
bottom↓
12
返回列表 发新帖
楼主: XIVN1987

问个只要用Cortex-M单片机都会遇到的问题,关于堆栈的!!

  [复制链接]

出0入0汤圆

发表于 2016-2-24 11:24:03 | 显示全部楼层
本想进来发个言,进来后发现被震撼了

出0入0汤圆

发表于 2016-3-4 00:11:04 | 显示全部楼层
今天特意看了ARM的启动代码,初步看了看别人的详解,也有一些不明白的地方。这个帖子讨论的内容也是我不明白之一。先收藏,以后再慢慢看!

出0入0汤圆

发表于 2016-3-5 18:50:16 来自手机 | 显示全部楼层
精彩的很啊

出0入0汤圆

发表于 2016-3-6 12:31:55 | 显示全部楼层
看懂了一点点,但还是需要很多细节的知识。

出0入0汤圆

发表于 2016-3-6 13:22:22 | 显示全部楼层
好贴,学研读中。。。

出0入0汤圆

发表于 2016-3-6 13:24:18 | 显示全部楼层
学到很多

出0入0汤圆

发表于 2016-3-20 16:54:02 | 显示全部楼层
经过几天的研究,我来给出权威的解答吧,答案就在keil的帮助文档中:
By default, the linker places input sections in a specific order within an execution region.

The sections are placed in the following order:
1、By attribute as follows:
a.Read-only code.
b.Read-only data.
c.Read-write code.
d.Read-write data.
e.Zero-initialized data.
2、By input section name if they have the same attributes. Names are considered to be case-sensitive and are compared in alphabetical order using the ASCII collation sequence for characters.
3、By a tie-breaker if they have the same attributes and section names. By default, it is the order that armlink processes the section. You can override this with the FIRST or LAST execution region attribute.
关键在于第2项“By input section name”

出0入0汤圆

发表于 2016-3-21 14:56:44 | 显示全部楼层
学习一下,精华帖,还没怎么看懂

出0入0汤圆

发表于 2016-4-18 14:21:22 | 显示全部楼层
受益了,谢谢大侠们

出0入0汤圆

发表于 2016-4-18 14:22:47 | 显示全部楼层
我也遇到stack过小而出问题

出0入0汤圆

发表于 2016-4-18 17:49:06 | 显示全部楼层
后排围观大神讨论

出0入0汤圆

发表于 2016-4-21 06:54:00 | 显示全部楼层
进来学习,谢谢分享

出0入0汤圆

发表于 2017-4-19 15:53:56 | 显示全部楼层
不错,学习了

出0入0汤圆

发表于 2017-4-20 10:55:19 | 显示全部楼层
老帖有新意,敬佩

出0入0汤圆

发表于 2017-5-25 08:51:37 | 显示全部楼层
分析的精彩

出0入0汤圆

发表于 2017-5-27 20:18:00 | 显示全部楼层
学习了!!!!!

出0入8汤圆

发表于 2017-11-28 10:21:57 | 显示全部楼层
不错,这些一般都是没有人去关注的东西,讲得好!

出0入0汤圆

发表于 2018-6-15 10:27:47 | 显示全部楼层
以前没注意到这个问题,学习了
回帖提示: 反政府言论将被立即封锁ID 在按“提交”前,请自问一下:我这样表达会给举报吗,会给自己惹麻烦吗? 另外:尽量不要使用Mark、顶等没有意义的回复。不得大量使用大字体和彩色字。【本论坛不允许直接上传手机拍摄图片,浪费大家下载带宽和论坛服务器空间,请压缩后(图片小于1兆)才上传。压缩方法可以在微信里面发给自己(不要勾选“原图),然后下载,就能得到压缩后的图片】。另外,手机版只能上传图片,要上传附件需要切换到电脑版(不需要使用电脑,手机上切换到电脑版就行,页面底部)。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|Archiver|amobbs.com 阿莫电子技术论坛 ( 粤ICP备2022115958号, 版权所有:东莞阿莫电子贸易商行 创办于2004年 (公安交互式论坛备案:44190002001997 ) )

GMT+8, 2024-4-24 10:58

© Since 2004 www.amobbs.com, 原www.ourdev.cn, 原www.ouravr.com

快速回复 返回顶部 返回列表