This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

compiler issue

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

Parents Reply Children
  • hello sir,
    thanks for the reply.
    how to solve the problem of startupt file. what all changes should i do for keil startup file.
    i directly included the startup file of SCARM but it is not working. and the assembly language of it is different. so how to go about it?
    pls guide me
    thank you

  • The problem may not be the startup file - it may be "something else".

    You have given absolutely no details whatsoever about the startup file that you've used, and absolutely no details whatsoever about the rest of your application - so how on earth do you expect anyone to be able to say what might be wrong, or where?!

    It's like saying, "my car won't work; what's wrong with it?" - when we don't even know what car you have!

    But, if your code looks like this www.spjsystems.com/scarm.htm then it's highly likely to be an Optimisation issue - search the forum about using software delay loops in High-Level Languages (HLLs)...

    See: www.8052.com/.../175943

    See also: www.8052.com/.../162556

    etc, etc,...