公告

大中华汽车电子生态圈社区并入开发者社区- 更多资讯点击此

Tip / 登入 to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
孤星
Level 4
Level 4
First solution authored First like received 100 replies posted
想把几个函数直接分配烧写到ram区。不是先烧到flash,再使用命令将他们拷贝到ram里。请问该怎么实现?是在lsl文件里做些配置(怎么配置)?还是把那几个函数单独建立工程?
0 点赞
12 回复数
flyingkiki529
Level 2
Level 2
25 replies posted 10 replies posted 5 replies posted
顶起来
0 点赞
Sherry
Employee
Employee
10 sign-ins 10 comments on blog 5 comments on blog
如果是程序放入RAM, 只有在调试器调试的时候,才可以由调试接口放入到RAM 中。如果不通过工具,每次MCU下电,RAM内容丢掉,上电后肯定是从FLASH 里面取程序。
0 点赞
独秀一郎
Level 5
Level 5
Welcome! 50 comments on blog 25 comments on blog
掉电很正常,下次再烧写不就可以了嘛
0 点赞
User14597
Level 1
Level 1
Welcome!
楼主是不是想问如何实现代码从flash拷贝到RAM执行?
0 点赞
User14597
Level 1
Level 1
Welcome!
楼主是不是想问如何实现代码从flash拷贝到RAM执行?
0 点赞
莫莫莫
Level 1
Level 1
0 点赞
Twin
Level 5
Level 5
5 solutions authored First solution authored First like received
ram是不能烧程序的,只能烧到flash,通过link文件然后再复制到ram里运行
0 点赞
独秀一郎
Level 5
Level 5
Welcome! 50 comments on blog 25 comments on blog
谁告诉你ram是不能烧程序的,你没见过不等于不行,OK?
0 点赞
天河之外
Level 5
Level 5
100 replies posted 50 replies posted 25 replies posted
不懂,顶一下
0 点赞
一剑潇潇
Level 1
Level 1
我也遇到了同样的问题,请求帮助!
0 点赞
独秀一郎
Level 5
Level 5
Welcome! 50 comments on blog 25 comments on blog
单独建工程,然后修改工程的lsl文件配置。比较高级,同时有点难度。
0 点赞
SIX_66
Level 6
Level 6
First comment on blog 500 replies posted 250 replies posted
学习学习
0 点赞