Hi, I am a newbie. I want to read a .hex file written for Stm32f103c cortex m3. Is there any way to read ?
Read as in seeing what it contains? Read as in programming your chip with it? Read as in symbolic debugging with this hex file loaded? ...
Reading to know what it contains. Reading in english .c language.
English C language? C is a programming language - while the keywords and standard library symbol names are english words, that is the end of the similarities between C and english.
Sorry, but a hex file don't contain any information about the original source code.
The compiler/linker converts from C into machine instructions for the processor. The hex file is a text representation of the raw data to program into the processor. No symbol names exists. No relationships what are functions what are loops etc.
This should help if your file is in Intel hex record format. If not post a few lines of it so we see what you have.
http://www.keil.com/support/docs/1584.htm