Hello all, I am a complete beginner in ARM and I have only worked with AVR and Arduino boards before. What I want to do is write a simple C program which will print "Yes" when 1 is entered and "NO" when 2 is entered by the user. Now I have to compile the code using gnu GCC arm toolchain and create a binary patch for executable generated. The patch should work like this: When entered 1 print "NO" and for 2 print "Yes".1. How do I compile the code using this toolchain2. How to create and executable file3. How to create a binary patch which would work as said.I could not find any proper tutorials to do this on Windows 10 machine. So any tutorial links you can share to solve this will also be appreciated.Thank you
Hello, Thank you for replying,
Andy Neil said:Why particularly ARM7 - wouldn't a Cortex-M make more sense in this day & age?
I have to use ARM7 it's compulsory for a project.
Andy Neil said:And why particularly QEMU
I have to use QEMU for a project. It's covid times so I cannot submit the hardware. It's compulsory to use QEMU.
Andy Neil said:probably because ARM7 long predates Windows 10; even 7, IIRC.
So should I be using Linux then?
Since, It's for a project I am not expecting a complete solution, but if you have any tutorials then that would be very helpful.
Presumably this is for a school assignment, then?
So, surely, your lessons and set reading must have covered the basics of how to set things up and get started?
If you're struggling with that, you should be talking to your teachers/tutors.
Itachi02 said:Andy Neil said:probably because ARM7 long predates Windows 10; even 7, IIRC. So should I be using Linux then?
You missed the point!
My point was about the age of ARM7 relative to Win10.
Andy Neil said:Presumably this is for a school assignment, then? So, surely, your lessons and set reading must have covered the basics of how to set things up and get started?
No it's not for an assignment, If had lessons and books why would I post the issue here.
Andy Neil said:If you're struggling with that, you should be talking to your teachers/tutors.
Also I don't have any tutors, It's a project I am doing that's all. My issue is just that I have to simulate ARM7 in QEMU. Can you please reply only if you have a solution to this problem.
Itachi02 said:Can you please reply only if you have a solution to this problem
The "problem" seems to be largely of your own making.
OK, so I'm out.
Thank you!