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

Regarding Limitations of GNU compiler

This is the first time Iam trying to implement my project using GNU C Compiler.
I have tried out some example projects using Real View Compiler.The reason i switched to GNU C Compiler is because of code size limitation constraint.

I would like to know if there are any limitations apart from code density while using GNU compiler in Keil uVision3 IDE (V3.53) Also, it would be very helpful if you could direct me to some forum threads/application notes regarding the things to take care while programming with GNU C compiler.

Parents
  • Hi there, I have setup the Keil uVision3 IDE for using the GCC compiler and I tried to compile the example GNU project "Blinky". The compilation was fine but when i clicked on the Start Debug Session for debugging the project the following message was shown

    MISSING DEVICE (R003: SECURITY KEY NOT FOUND)
    Running in Eval Mode
    Load "C:\\Documents and Settings\\spa\\Desktop\\myARM\\CtxCrxU.ELF"
    *** Restricted Version with 16384 Byte Code Size Limit
    *** Currently used: 918 Bytes (5%)

    Since the GCC compiler doesn't have any code size limitation Iam concerned about the above message.
    Please can you clarify whether there is any problem
    or whether there will be any limitation while debugging my code using the simulator or the Ulink ARM Debugger.

Reply
  • Hi there, I have setup the Keil uVision3 IDE for using the GCC compiler and I tried to compile the example GNU project "Blinky". The compilation was fine but when i clicked on the Start Debug Session for debugging the project the following message was shown

    MISSING DEVICE (R003: SECURITY KEY NOT FOUND)
    Running in Eval Mode
    Load "C:\\Documents and Settings\\spa\\Desktop\\myARM\\CtxCrxU.ELF"
    *** Restricted Version with 16384 Byte Code Size Limit
    *** Currently used: 918 Bytes (5%)

    Since the GCC compiler doesn't have any code size limitation Iam concerned about the above message.
    Please can you clarify whether there is any problem
    or whether there will be any limitation while debugging my code using the simulator or the Ulink ARM Debugger.

Children
  • The compilation was fine but when i clicked on the Start Debug Session for debugging the project the following message was shown

    Since the GCC compiler doesn't have any code size limitation I am concerned about the above message.

    The question was already answered.

    The GCC compiler is not limited in any way. Programs of any size can be compiled. However, the uVision tools, which include the debugger, are still subject to the 16kB size limitation. Therefore, you cannot use the evaluation version of the debugger with programs that are larger than 16 kB.

  • "However, the uVision tools, which include the debugger, are still subject to the 16kB size limitation. Therefore, you cannot use the evaluation version of the debugger with programs that are larger than 16 kB."

    --- Since , simulation and in circuit debugging (using Ulink2 Debugger) facility is not present in the evaluation
    Keil uVision3 IDE, is there any other way for doing the same for programs larger tham 16kB commpiled with GNU C compiler ?