arm

Arm Board Bring Up

Can anybody tell me where I can find information related to How to Bringup any arm board? I am looking for an overview as I am novice in ARM related stuffs. Any link/document will do ...It will be gr8 help if i can look for a case-study any arm based board can be considered..I am looking for just a case study...simple in few steps?? ...

Minimum configuration to run embedded Linux on an ARM processor?

I need to produce an embedded ARM design that has requirements to do many things that embedded Linux would do. However the design is cost sensitive and does not need huge amounts of horse power. Mostly will be talking to serial interfaces. Ideally I would like to use one of the low end ARMs. What is the lowest configuration of an ARM tha...

toolchain for any Arm processor

Can a toolchain for any Arm processor be used to compile any Operating system?? What is the dependency of toolchain on OS?? My doubt may sound childish...I have no idea about toolchains for ARm ...

Debugging using Lauterbach (Trace32)

While using trace, I found that a few functions are not listed in the source while trying to find them in order to put a breakpoint. These functions seems to appear only when I view the source in assembly format. I spoke to my seniors, they told me if any function is only called once, it will be optimised by Trace and will appear as inl...

Optimizing for ARM: Why different CPUs affects different algorithms differently (and drastically)

I was doing some benchmarks for the performance of code on Windows mobile devices, and noticed that some algorithms were doing significantly better on some hosts, and significantly worse on others. Of course, taking into account the difference in clock speeds. The statistics for reference (all results are generated from the same binary,...

I wanna use Java applications in an embedded hardware

Hello everybody! I have to dessign a new harware with a uP (not determined yet) to run JavaME applications. I've searched information about how do it, but for the moment it has been useless. Anyone could explain how I can do it? From what I found in my search: - Using a uP (ARM for example) with an OS (ie: Linux) (using JIT for better...

How to emulate an ARM architecture under OSX 10.6 ("Snow Leopard")?

Hi everyone; I wish to emulate an ARM architecture (I wish to compile software for my DNS-323 NAS drive, to be more precise) and I'm having a hard time. First I tried installing Q, which is an OSX port of QEMU. It freezes when I try to launch it. Then I tried to download the source code for QEMU and apply a patch someone had written to...

mmap and access to GPIO config registers in an ARM processor

Im struggling to read(and write) to HW registers from Linux user space. The goal is to configure some GPIO pins from and be able to set and read this pins. According to the spec for the processor(imx27 from Freescale) the physical address for the register bank controlling GPIO this is 0x10015000 My assumption was that I could use somet...

How to include a newline in a C++ macro or how to use C++ templates to do the same ?

I saw the following question: http://stackoverflow.com/questions/98944/how-to-generate-a-newline-in-a-cpp-macro Let me give a brief requirement of a need in newline in a C++ preprocessor. Am working on ARM Realview compiler 3.1 on a code which uses embedded assembly code with C++ code. #define DEFINE_FUNCTION(rtype, op, val) \ __as...

switching between ARM/THUMB state

Why should an ARM controller return to ARM state from THUMB state, when an exception occurs? ...

Workflow for writing ARM assembly code on the iphone

I would like to begin writing ARM assembler and running it on the iPhone. This is not with the intent of using in an app to be released to the app store. Basically I would like to solve problems on ProjectEuler using ARM and the iPhone. Just for hobby and educational purposes. How can I go about doing this? I have not been able to come u...

How to link an arm .o file into an Xcode project

I have a gnu built object file I need to include in an Xcode iPhone project. The .o file format is arm, via 'otool -h': Mach header magic cputype cpusubtype caps filetype ncmds sizeofcmds flags 0xfeedface 12 0 0x00 1 3 1316 0x00002000 But Xcode rejects it, complaining that "file is not ...

Is IAR assembler possible to import #define from C header to assembler?

Hi All, I have a mixed assembler and C project based on IAR ARM. I have some #define in C header, I like to use (import) them in assembler file. Could anybody tell me it is possible? Many thanks. ...

iPhone detecting processor model / NEON support

Hello, I'm looking for a way to differentiate at runtime between devices equipped with the new ARM processor (such as iPhone 3GS and some iPods 3G) and devices equipped with the old ARM processors. I know I can use uname() to determine the device model, but as only some of the iPod touches 3G received a boost in their ARM processor, thi...

What knowledge/expertize is required to port android to custom arm device ?

Hi Friends, I am working on a system on which currently linux kernel and microwindows windowing system is running. Code of current linux system drivers is available to me. I want to port android on it, just as a hobby project. can you please tell me what all understanding of linux-kernel is required to port it? Please give me referen...

Determine at runtime if Windows CE operating system is built against a particular processor type (eg. ARMV4/ARMV4I/ARMV4T)

Is there a way to determine if a Windows CE operating system is targeted against ARMV4 or ARMV4I or ARMV4T. I am aware of the IsProcessorFeaturePresent() API call on coredll however as far as I can tell, it only allows you to determine the presence of the thumb instruction set. What I really want to detect is if the O/S is built with ...

How to prevent GCC from passing in default flags?

I am trying to cross-compile linux for an ARM architecture. The host is an X86 machine running ubuntu-jaunty. I downloaded a cross-compile toolchain for ARM from http://ftp.arm.linux.org.uk/pub/armlinux/toolchain/. I downloaded the 2.95.3 version of the toolchain. The problem I am having is that GCC is passing in some default flags by ...

Fast 4x4 Matrix Multiplication in C

I am trying to find an optimized C or Assembler implementation of a function that multiplies two 4x4 matrices with each other. The platform is an ARM6 or ARM7 based iPhone or iPod. Currently, I am using a fairly standard approach - just a little loop-unrolled. #define O(y,x) (y + (x<<2)) static inline void Matrix4x4MultiplyBy4x4 (flo...

Debugging shared libraries remotely with gdb/gdbserver

My question is about remote debugging an application on an embedded arm processor using gdb/gdbserver. I can debug the application itself, but the application dynamically links to a shared library which implements an in house communications protocol. I want to be able to set breakpoints within the shared library functions so try to fig...

Floating-point for ARM in Visual C++

I'm using Visual C++ 2005 for building applications for ARM, Qualcomm Snapdragon chip. I know it supports VFPv3. Where can I get SDK or something like to use floating-point arithmetics hardware? Best of all if Visual C++ compiler would generate VFP instructions instread of emulating. ...