arm

.net micro framework deployment tool

Hi, i want to connect to my AT91SAM9RL board with the .net mfdeployment tool. It only has USB, JTAG and Serial Ports. Which normaly work fine when i use putty Segger GDB or Sam-ba. For some reason the micro frameworks deployment tool can´t find or connect to my board. Any advice ? ...

STM32 printf problem

* UPDATE * here is what I found. Whenever I had that function in there it wouldnt actually make the code lock up. what it would actually do is make the Read RTC I2C function very slow to execute but the code would still run properly, but I had to wait a really long time to get past everytime I read the RTC. so what ended up happening wa...

ARM inline assembly - specify individual register as constraint

Hi! in x86 inline assembly i can write something like this: asm ("cpuid" : "=a" (_eax), "=b" (_ebx), "=c" (_ecx), "=d" (_edx) : "a" (op)); so in the matchin constraints instead of just writing "=r" and let the compiler chose the register, I can say which particular reg...

gdb debugging arm app. under windows

Hi i want to debug my programms which are cross compiled on windows for arm architecture by using the codesourcery gcc. I have the following things debugging: sam-ice jtag/jlink debugger arm-none-eabi-gdb when i use the command line inteface arm-none-eabi-gdb programm.elf i cannot run the programm under windows. under eclipse i get so...

Smart answer needed for strange segmentation fault on embedded ARM with posix threads

Hi, The last couple of days I've been working on a strange segmentation fault. The following code works just fine on my PC running Linux. But using the ARM crosscompiler suppplied by the manufactor of our embedded device, it gives a segmentation fault in routine s(). The SIGSEGV occurs at the destruction of a std::string. This also happ...

Try...catch causes segmentation fault on embedded ARM with posix threads

Hi, Totday, I posted a problem about a segmentation fault after destruction of a std::string (see this post). I've stripped the code so that I don't use the STL and still have a segmentation fault sometimes. The following code works just fine on my PC running Linux. But using the ARM crosscompiler suppplied by the manufactor of our emb...

cross compile (arm-none-eabi-as) arm assembly error "junk at end of line /" or undefined symbol

Hi while i cross compile an startup.s file (arm-none-eabi-as file.s) (*-gcc) I am getting in each commentary line some errors - junk at end of line, first unrecognized character is / when i delete the // some comment lines i get errors about undefined symbols even i defined them at beginning of the file. anyone know whats wrong? ...

Compile GCC with Code Sourcery

Hi, Is it possible to compile native GCC for ARM (host == target == ARM) using Code Sourcery G++? If it is not possible, could I use crosstool-NG to build the cross-compile and then using this one for compiling the native ARM GCC? Thank you, Edit: as to why: I'm creating my own distro for beagleboard... ...

Rail performance on ARM

I was wondering if we could replace our Atom N270 based nettops that are running a Rails(ruby 1.8.6...) webapp with some equivalent ARM based device (we like the fanless setup, power consumption, etc.). The ARM device was XScale-PXA270 @ 520, 128MB (and probably some slower SDRAMs), running linux, there was always enough free memory wi...

How to decode a Windows CE call stack?

Desktop Windows OSs have a "StackWalk64" function, upon which Jochen Kalmbach made a library for decoding the call stack into something human-readable. I need a similar tool, but for Windows CE. WinCE has a function to get the call stack, GetThreadCallStack, but once I have the raw return addresses, how do I Determine the module (DLL ...