This is the mail archive of the
mailing list for the Cygwin project.
to generate disassemble blink code
- From: lellone88 <chupa2003 at libero dot it>
- To: cygwin at cygwin dot com
- Date: Tue, 18 Jan 2011 08:47:05 -0800 (PST)
- Subject: to generate disassemble blink code
I'm an italian student. I'm working on my thesis, and I have to use cygwin
for some reasons...
My thesis work consists in fault injections in the Liteos application codes.
so, my problem is:
I have the application's code (the application's name is Blink), saved in a
text file, under .c extension.
I have to compile this code to generate an executable file (with .exe
extension, or .elf extension in Linux environment).
with this executable file, I must generate the disassembleted code with the
in the second step, I don't have any trouble, because, I just write the
following istruction in the cygwin shell:
avr-objdump -zhD blink.elf > blink.od
so, the disassembleted code has been saved in the text file with .od
but the first step, it's a problem for me, because, cygwin doesn't compile
I post you the blink code in the next lines:
__asm__ __volatile__("sei" ::);
//for (index = 0;index <100;index++)
I launch this istruction, to compile this code:
avr-gcc -o executablefile.elf(or.exe) blink.c
and the terminal return me
this application has requested the runtime to terminate it in an unusual
way.please contact the application-s support team for more information.
could you give me any suggestions to resolve this problem?
hel me please...
thanks in advance, and please sorry, for my not perfect english.
View this message in context: http://old.nabble.com/to-generate-disassemble-blink-code-tp30701760p30701760.html
Sent from the Cygwin list mailing list archive at Nabble.com.
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple