We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
hello all, i have one arm7 kit of lpc2148. and one IDE is provided with it, its name is SCARM, i have written one simple program of led on-off in SCARM and downloaded it and it is working fine. When i wrote the same program in keil, and i included its header file and startup file. compilation is successful.but when i downloaded the file in same board it is not responding. i want to solve this problem. is it because of startup file or something else? and i want to use keil as SCARM code size is restricted to only 2Kbyte. pls help me thank you
How do you know that?
What, exactly, was the problem?
Maybe not this time - but do you now understand the issues?
Do you now understand how compiler optimisation could break such code? (in fact, compiler optimisation is likely to break such code!)
Do you now understand how to write code that will not be broken by compiler optimisation?