Adding and reading of an binary file(.bin)

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Adding and reading of an binary file(.bin)

1,612 次查看
ratheesht
Contributor II

Hi ,

              I am using LPC54102 evaluation board and have imported a project in LPCXpresso_8.1.0_597 for send data via UART using LPC54102. I have a binary file(.bin) of other board which was created by keil IDE. My task is to send the content of that bin file to other board via UART communication.

My questions are

1. How can i add this bin file into LPCXpresso project file ?

2. How can i combine this .bin file to create the single .axf( or .hex) file with linker ?

3. is there any way to complete this task ? (IAR compiler has an option to do this, i done this using IAR IDE )

Please give your suggestion

标签 (4)
0 项奖励
回复
1 回复

970 次查看
converse
Senior Contributor V

You can use the "incbin" assembler directive. See this post for more nfo

https://community.nxp.com/thread/418385 

0 项奖励
回复