tricore-objcopy 的用法

公告

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

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

cross mob
雪狼
Level 3
Level 3
First like given 5 sign-ins First question asked

Tasking 编译完后处理的过程中,需要将elf文件转换为srec,网上有介绍用 tricore-objcopy。请问 tricore-objcopy 可执行文件从哪里可以获取,该指令的说明文档在哪里能下载到,谢谢~

0 点赞
1 解答
Kunqiao_L
Moderator
Moderator
Moderator
First comment on blog First like given 25 likes received

你好,

或许你可以参考下这个:

https://blog.csdn.net/lichenda/article/details/114254153

在我们的ADS(aurix development studio) IDE里面,选择GCC, 默认可能是TASKING

Kunqiao_L_0-1705654819057.png

Kunqiao_L_1-1705654852654.png

command这样写,应该可以调用gcc带的这个命令tricore-elf-objcopy。就可以通过elf生成srec了

"C:\Infineon\AURIX-Studio-limited-1.9.22-L\tools\Compilers\tricore-gcc11\bin\tricore-elf-objcopy" -O srec ${BuildArtifactFileBaseName}.elf ${BuildArtifactFileBaseName}.srec

 

 

 

在原帖中查看解决方案

0 点赞
1 回复
Kunqiao_L
Moderator
Moderator
Moderator
First comment on blog First like given 25 likes received

你好,

或许你可以参考下这个:

https://blog.csdn.net/lichenda/article/details/114254153

在我们的ADS(aurix development studio) IDE里面,选择GCC, 默认可能是TASKING

Kunqiao_L_0-1705654819057.png

Kunqiao_L_1-1705654852654.png

command这样写,应该可以调用gcc带的这个命令tricore-elf-objcopy。就可以通过elf生成srec了

"C:\Infineon\AURIX-Studio-limited-1.9.22-L\tools\Compilers\tricore-gcc11\bin\tricore-elf-objcopy" -O srec ${BuildArtifactFileBaseName}.elf ${BuildArtifactFileBaseName}.srec

 

 

 

0 点赞