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

Need advices with ARM

Hello again!

You may noticed that I made another topic and it resulted on me choosing the ARM family. So far so good.

I installed the GnuARM and put it to work with CodeBlocks, and tested to compile a sample source I found over the net, and it worked and generated the .hex! Its for a ARM7 lpc210x chip.

Now, I would like to know if someone already used any good simulation tool to emulate the ARM chip, I would like to play with ARM in theory first, than go to a real circuit :)

Does anyone know any good tutorial to start? (C/C++ language)

Thank you again!

Parents
  • There are nothing special about C/C++ for ARM.

    The ARM processor core is just a general-purpose core that is well suited for running C/C++ programs.

    Hitex has lot of nice documentation, if you are interested in programming for different embedded processors. Note that only the ARM core is general. Each manufacturer have one or more processor families with the ARM core, but where they have added their own set of peripherials. That means that the way to access different I/O, how to configure serial ports etc will differ from processor family to processor family.

    This means that for playing around with standard C/C++, you may just as well use the MinGW compiler and write programs on your PC.

    When it comes to embedded programming, you will have to make a decision exactly which ARM processor you want to use. Then try to get as much documentation as possible about this specific processor.

    You might go for an Atmel chip, or an ST, or NXP... Some chip manufacturers will be better at producing datasheets. Some will be better at releasing sample code. Some may sell cheaper chips. Some of the chips may be found on great development boards. Some chips may be harder to find a suitable development board for.

    In your case, it might be good to look for the availability of a suitable development board with a graphics LCD, since you wanted to implement some games. Just make sure that you get a development board with schematics and that there are a lot of example code. And take a closer look at the board - if it has strap fields to allow you to quickly deactivate features on the board, it will be easier for you to connect own equipment without having to desolder zero-ohm resistors or fight to find unused processor pins.

Reply
  • There are nothing special about C/C++ for ARM.

    The ARM processor core is just a general-purpose core that is well suited for running C/C++ programs.

    Hitex has lot of nice documentation, if you are interested in programming for different embedded processors. Note that only the ARM core is general. Each manufacturer have one or more processor families with the ARM core, but where they have added their own set of peripherials. That means that the way to access different I/O, how to configure serial ports etc will differ from processor family to processor family.

    This means that for playing around with standard C/C++, you may just as well use the MinGW compiler and write programs on your PC.

    When it comes to embedded programming, you will have to make a decision exactly which ARM processor you want to use. Then try to get as much documentation as possible about this specific processor.

    You might go for an Atmel chip, or an ST, or NXP... Some chip manufacturers will be better at producing datasheets. Some will be better at releasing sample code. Some may sell cheaper chips. Some of the chips may be found on great development boards. Some chips may be harder to find a suitable development board for.

    In your case, it might be good to look for the availability of a suitable development board with a graphics LCD, since you wanted to implement some games. Just make sure that you get a development board with schematics and that there are a lot of example code. And take a closer look at the board - if it has strap fields to allow you to quickly deactivate features on the board, it will be easier for you to connect own equipment without having to desolder zero-ohm resistors or fight to find unused processor pins.

Children