Adding and reading of an binary file(.bin)

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Adding and reading of an binary file(.bin)

1,713件の閲覧回数
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 返信

1,071件の閲覧回数
converse
Senior Contributor V

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

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

0 件の賞賛
返信