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

LPC2148 Example Compile Question

Hi from ARM newbie
I found a nice simple example for a bit bit LCD hello world program. With uVision 3.33 (limited version that came with LM3S811 eval kit) i load the example and hit F7 to build. I immediately get this error:
--- Error: can't execute 'C:\Keil\ARM\BIN\AA'
The project settings are for the CARM compiler. Should I be using the Realview compiler instead ?

Thanks

Parents
  • I think you need to start by getting properly familiar with the tools that you have.

    Why don't you just start with the examples, tutorials, etc for the compiler you're actually using?

    Once you've got to understand the tools you have, then you can start thinking about porting stuff designed for other tools.

    You need to learn to walk before you start trying to run!

Reply
  • I think you need to start by getting properly familiar with the tools that you have.

    Why don't you just start with the examples, tutorials, etc for the compiler you're actually using?

    Once you've got to understand the tools you have, then you can start thinking about porting stuff designed for other tools.

    You need to learn to walk before you start trying to run!

Children
  • The main reason I need to get these examples running is that they are the ones furnished with my development board, namely the MikroE EasyARM board with the LPC2148 MCU. They have all the nice little libs for I2C, SPI, LCD, etc. that one likes to play with. I sent MikroE a request for the source code for those library files so I might recompile in RealView. If they will not furnish those then I don't have a lot of choices but the go back to the CARM compiler that they used for their examples. There are some Keil examples for the LPC2100 family which probably will work with my dev board. You know the Hello World and Blinky ones. Not very much fun and I definitely do not want to reinvent I2C, SPI etc.
    Anyway thanks for your help. I would like to know if I can get the CARM compiler working with uVision3 in case I must go in that direction.

    Thanks

  • When you use the RealView compiler, you need to use the startup file that comes in the folder ..\ARM\RV30\STARTUP<\b>. So just replace the startup file of CARM with the correct version.