arm

at91sam9rl arm hello world without os

Hi community, i want to run a simple hello world, written in c, app. on my at91sam9rl-ek. is it possible without an os? and (if it is) how do i have to compile it? -right now i try using g++ lite for creating arm code (In general which programms can the board start without OS, assembler, arm code?) ...

ARM Cortex-A8: How to measure cache utilization?

Hi Guys, I have a Freescale's i.MX515EVK, an ARM Cortex-A8/Ubuntu platform with me, unfortunately the Linux kernel on the board is not supporting some of the well known profilers such as Oprofiler or Zoom Profiler(Zoom supports ARM processors, but it internally, uses Oprofiler driver) which give very detailed reports about the cache uti...

Execute 32 bit object file on 64 bit environment

Hi, I made a cross compiling toolchain for arm-gcc, configuring binutils, newlib, gcc and gdb for the arm-elf target. The problem I am having is, when I compile a program with arm-elf-gcc on my Mac, it generates a 32 bit executable with cannot be executed in the 64 bit environment. What is the easiest way to circumvent this? I could p...

c# (mono, dotgnu) for arm embedded questions

Has anyone experience with c# or .net based languages for arm based boards? Are there compilers that make my code ready for the arm board? Is it recommed to develop with linux or windows? Are there advantages having a Linux, or Windows OS on the target board? any help appreciated. Thx ...

How to detect cold boot versus warm boot on an ARM processor?

I'm looking for a way to determine whether an ARM processor is booting from a cold boot (i.e. initial power-on) versus a warm boot (i.e. reset assertion without actual power loss). Specifically I'm using an ARM968 core, will be making the determination using C or assembly, and I will use the determination so certain operations only run ...

ARM Cortex M3 How do I determine the program counter value before a hard fault?

Hi all, I have an embedded project using a STM32F103 (ARM Cortex M3), it is getting a occasionally getting hard fault in release mode. As part of recovery, I would like to retrieve the PC value from before the hard fault and store it for later debugging in the battery backed region. How would I determine the value of the program counte...

compiling c , c# code under windows for arm9 (AT91SAM9RL64)

Hi fellas, i read much tutorials for cross-compiling c code for arm chips. When i try it with codesourcery lite´s: gcc-none-eabi under windows (no cygwin) arm-none-eabi-gcc -c -nostartfiles -nostdlib -o main main.c arm-none-eabi-ld -Ttext=0x8000 -o main.elf main arm-none-eabi-objcopy -O binary main.elf main.bin won´t start on the bo...

Android Porting on Telechips TCC89XX: Not able to start init process

Hello I have started to port Android on TCC89XX board, I download Android SDK. and applied the patch with kernel 2.6.29, the Processor is having armv6 instruction set. I am not able to see the network up ifconfig is not able to show the network devices. Also I do not get why there is no "on" binary in the system/bin, system/xbin, the...

commercial IDE for crossdevelopment arm chips

Hi fellas, for now i use eclipse on windows and codesourcery compiler to crosscompile c applications for my AT91SAM9RL-EK board. I am thinking of getting a commercial IDE for crossdevelopment for c / c# / .net on arm. Has anyone experience with commercial products for arm development? ...

How to use NEON comparison (greater than or equal to) instruction?

How to use the NEON comparison instructions in general? Here is a case, I want to use, Greater-than-or-equal-to instruction? Currently I have a, int x; ... ... ... if(x >= 0) { .... } In NEON, I would like to use x in the same way, just that x this time is a vector. int32x4_t x; ... ... ... if(vcgeq_s32(x, vdupq_n_s32(0))) // Wh...

Good method to pass messages between embedded RTOS tasks (but can handle message timeouts gracefully)

I'm working with an embedded RTOS (CMX), but I think this applies to any embedded RTOS. I want to pass messages between various tasks. The problem is that one task sometimes 'locks' every other task out for a long period of time (several seconds). Since I no longer wait for the message to be ACK'ed after ~100 ms or so, if I send a mai...

Does sdl support ARM lcd video display?

Hi, am new to SDL and I have used the spcaview code to get video stream from a camera to a FriendlyARM LCD but the video display is not good and moves very fast. It however works well on the computer screen. I was wondering if SDL supports LCD display; if yes what am I missing?. If no, what can I do because I need to stream video from a ...

Unknown GCC error, while compiling for ARM NEON (Critical)

Hi Guys, I have a ARM NEON Cortex-A8 based processor target. I was optimizing my code by making use of NEON. But when I compile my code I get this strange error. Don't know how to fix this. I'm trying to compile the following code (PART 1) using Code Sourcery (PART2) on my host. And I get this strange error (PART3). Am I doing somethi...

howto send data to (linux based) embedded system

Hi all, i got a Linux Kernel from http://www.at91.com/linux4sam/bin/view/Linux4SAM/LinuxKernel running on my ARM board. I have a connection through serial port to my host system windows, i also got a SAM-ICE JTAG debugger device. so how can i send some data from my windows to my embedded linux? ...

.net micro framework + arm howto

How do i install the .net micro framework on an arm board? ...

cross-compiled THTTPD server with PHP runs fine, but no PHP

Hello, We need some PHP on an ARM board. I've successfully cross-compiled both PHP 5 and THTTPD and they both seem to run fine on the ARM board, only the .php pages are shown unprocessed (if you do "View Source" in the web browser, you can see the PHP code). It has to be a silly configuration detail, I really feel that I am snatching d...

ARM NEON: What's the difference between vld4_f32 and vld4q_f32?

Hi Guys, I'm not in a position to make out the difference between vld4_f32 and vld4q_f32 in ARM NEON instructions. The confusion started when I raised my coding levels and started looking at the assembly instructions rather than the less informative intrinsics. The reason I need to use vld4 variant instruction here is because, I would...

ARM Assembly: How to pass and make use of a array of pointers inside an ARM Assembly function

Hi, I have a C function in which I have 4 pointers and each of them point to different locations of a large 2D array of floats. Because the ARM assembly functions can only be passed with 4 parameters (r0 - r3), I'm not able to understand how to pass the pointer to my return value, which will become the 5th parameter to my assembly func...

Advice needed for ARM Cortex M3 beginner

I will embark on the ARM Cortex M3 bandwagon soon with an official training (CPU side). Now, I did a bit of Arduino and AVR before and have some basics in electronics but I am mostly a software developer. I've read most topics in here and quite a bit elsewhere regarding the tools available and they have been really helpful. What I need ...

DTN in OpenEmbedded for BeagleBoard

Hi! I'm trying to build the DTN using OpenEmbedded. Unfortunately, DTN uses Tcl 8.3 or 8.4 and DB 4.2, 4.3, 4.4 or 4.5, but bitbake is using Tcl 8.5 and DB 5.0. In the OpenEmbedded recipes directory, among other other files there exists: db/ db/db_4.3.29.bb db/db4-native.inc db/db3-native_3.2.9.bb db/db_5.0.21.bb db/db3-3...