Thursday, July 30, 2009

C Programming?

I have a .c source code file and want to program into atmel development kit. Before to program the chip, .bin file has to be generated. My question is how to convert a .c file into a .bin file?


Please help!

C Programming?
The details can vary greatly, but they follow the same general pattern. The tool maker (atmel in this case) will provide a compiler, linker and make utility (and possibly an IDE or some wizard type tool to help simplify the process).





After writing your .c file, you execute the build. You run the make utility (either from the command line or a menu item in the IDE). The make utility runs the compiler and linker (and possibly some other tools) to produce the .bin file. Which you then transfer into the EEPROM.





Generating the .bin file should be relatively automatic. It's not much different than creating a .exe with a PC compiler.





I'm sorry I cannot be more specific, but I'm not familiar with that specific tool chain.
Reply:You might screw up the chip, so better you may contact a C expert at websites like http://askexpert.info/


No comments:

Post a Comment