Adding and reading of an binary file(.bin)

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Adding and reading of an binary file(.bin)

1,712 Views
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

Labels (4)
0 Kudos
Reply
1 Reply

1,070 Views
converse
Senior Contributor V

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

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

0 Kudos
Reply