这个是SEGGER embedded studio,代码可以编译成bin,但是无法在正点原子imx6u-mini的板子上运行,很简单的io控制代码啊,就是不跑啊,怎么回事?
以上是IAR embedded workbench for arm 9.30.1,也是能编译成bin,但是无法在板子上运行,为啥???
是我代码写错了还是有什么必须要注意的设备?
还有其他win上的编译器吗?
Hello,
I can not see the image and can not see which EVK are you using, however you can view one of third party if you are looking for more compiler companies.
Regards
问题解决了,我找到问题所在了,多谢回复,问题出在,bin文件中入口函数的位置不对,和编译器关系不大,主要是修改了连接器中的连接脚本就可以了,把入口函数设置在87800000地址再连接就可以了,我的代码已经用SES编译并运行了。
Translation:
The problem has been solved, and I have found the problem. Thank you for your reply. The problem is that the location of the entry function in the bin file is incorrect, which has little to do with the compiler. The main thing is to modify the connection script in the connector and set the entry function to address 87800000 before connecting. My code has been compiled and run using SES.