Hi guys,
I am making an application which sends out a recorded information. I am planning to use 89c5x micro with higher memory feature. The idea is to combine the code and huge data togather in the same .hex file and burn into the microcontroller flash. I am using keil3 for building this application. I am finding difficulty in compiling my code along with the recorded data. The recorded data can be in eaither binary or hex file. Can you guys please help, how to combine a hex/binary file with data along with my code files (.c/.h). Please do help me and feel free to email me for further clarifications. Thanks in advance..!!
1) Forum questions should normally not get answered by mail since other people can't see the answer.
2) If you get answer by mail, no other people can catch bad answers.
3) You did not supply any email in your post. We are end users like you. We can't see what information you supplied as account information.
4) You can either do creative cut/paste if your recorded data is in Intel-hex format with correct address information. However, your data is probably in raw form.
5) You can write a little program that converts the binary data into C source code - an array of initialized bytes stored in CODE. With a bit of googling, you should be able to locate existing programs that can convert binary to a C array too.