This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
工具/软件:TI C/C++编译器
大家好、
我偶然发现了一个在我的脑海中出现的声音、其中有一个关于链接器´s RAM 放置 scheeme 变量的问题:
通过查看我在 CPU 2的 main()中定义的.map 文件变量,这些变量放置在全局共享 RAM 中。 但 CPU 2
n´tn´t CPU 1分配了对 RAM 的访问权限、就可以对该 RAM 执行写操作。
因此、我观察到错误行为、因为变量是"中断变量-标志-保护" while 循环挂起的
放置在 CPU 2不可写的区域中。
我通过将.ebss 段分配给 CPU 2 .cmd 文件中的 RAMLS4来解决这个问题。
这是建议的方法吗?
此致!