I posted a previous question "Seg Fault when using std::string on an embedded Linux platform" where I got some very useful advise. I have been away on other projects since then and have recently returned to looking at this issue.
To reiterate, I am restricted to using the arm-linux cross compiler (version 2.95.2) as this is what is supp...
This is related to an issue I have been discussing here and here, but as my investigations have led me away from the STL as the potential issue, and towards "new" as my nemisis, I thought it best to start a new thread.
To reiterate, I am using an arm-linux cross compiler (version 2.95.2) supplied by the embedded platform vendor.
When ...
I have to deal with a lot of multithreaded programming at work. Specifically, I want to know how the ARM memory model differs from IA64. Both are very weak models, but are there any specific differences that I should know about? I'm familiar with ia64, not with arm.
...
I'm trying to build a arm-elf-gcc cross compiler.
So firts I installed binutils 2.18 with the following configure options:
./configure --target=arm-elf --enable-interwork --enable-multilib
This seems to work fine.
next I installed gmp, mpfr and libmpc
so now to the gcc itself.
//edit - removed previous error and updated with the ...
I need to configure USB OTG on iMX31 for device mode. We need a raw channel between the host and target and usb seems to be the best suited. However I haven't been able to correctly configure the OTG controller. I dont know what I am missing. I have performed the steps mentioned in section 32.14.1 of iMX31 Reference Manual. I have also c...
Dear All,
I was looking at the assembler output of my code and need help with below instructions.
-- // --
0x00000fe8: e28fc000 .... ADR r12,{pc}+8 ; 0xff0
0x00000fec: e28cca08 .... ADD r12,r12,#8, 20 ; #0x8000
-- // --
From my understanding the 1st instruction causes r12 to be loaded with
"{p...
I have just joined a project which require working on ARM based micro-controllers.. i have been a web developer for sometime and i am in need of some materials and resources to startup with embedded systems on ARM Micro-controllers. I am absolute newbie in this field so please provide me some online resources / tutorials / ebooks to brus...
We are developing an application for android 2.2.We do not have a developer phone.Can we load android 2.2 image on Zoom 1 Arm platform?
Thanks,
Dheepak
...
Is there such a thing as an emulator for thumb-2 assembly? I would like to write simple ARM Thumb-2 assembly programs and test them out without needed to use an actual ARM device, so my only option is emulation.
My goal is to implement a sizable number of algorithms in thumb-2 assembly as a learning exercise. I don't even need emulati...
When I use JTAG to load my C code to evaluation board, it loads successfully. However, when I executed my code from main(), I immediately got "CPU is not halted" error, followed by "No APB-AP found" error.
I was able to load and executed the USB-related code before I got this error.
I googled for it and use JTAG command "rx 0" to rese...
Hi,
Is it possible to compile for ARM7 from visual studio (2008/2010) express or professional? If so, can I be directed as to how to do so? I've read from other posts about the Yagarto toolchain. How does it all fit into the picture?
I'm very green in this field (c# programmer) so any guidance will be very much appreciated. The last ID...
I'm trying to put the equivalent of asm{int 3} (or similar) into my iPhone program. My goal is to have Xcode stop exactly on the offending line, without having to fiddle with the call stack (so _Debugger doesn't sound like it would do, not that I could find which framework it's in anyway...), and leave me able to resume execution (which ...
Hi,
I have an image processing algorithm running on an ARM-Cortex-A8/Ubuntu 9.01 platform and I have to measure the power consumed by my algorithm, does anyone know how to do this? Any tools available for this?
Thanks
...
Hello everyone
I am trying to build a arm toolchain from scratch.
I am referring to this site.
http://www.nixit.co.uk/cortex-m3-mac-1
Followed all the instructions carefully. Everything went well till newlib compilation. I am getting strange error.
/bin/bash: arm-none-eabi-cc: command not found
So I checked the Makefile
there is a ...
Is there a site where Erlang/OTP binaries for ARM-Linux can be downloaded? www.erlang.org only has source release (and I haven't managed to cross-compile it on the initial attempts), while http://cean.process-one.net/downloads/ only has R12B.
...
Hi,
my image processing project works with grayscale images. I have ARM Cortex-A8 processor platform. I want to make use of the NEON.
I have a grayscale image( consider the example below) and in my alogorithm, I have to add only the columns.
How can I load four 8-bit pixel values in parallel, which are uint8_t, as four uint32_t into...
Guys,
I'm using ARM/Cortex-A8 processor platform.
I have a simple function where I have to pass two pointers to a function. These pointers are later used in that function which has only my inline assembly code This plan is only to achieve performance.
function(unsigned char *input, unsigned char *output)
{
// What are the assembl...
My baud rate should be 115200, but it is 892.9
void UART0_Init(int pclk, int baudrate)
{
unsigned long int DLest;
//unsigned long int pclk;
unsigned int temp;
// Turn on power to UART0
SC->PCONP |= PCUART0_POWERON;
// Set PINSEL0 so that P0.2 = TXD0, P0.3 = RXD0
PINCON->PINSEL0 = (PINCON->PINSEL0 & ~...
I am trying to cross-compile Erlang and running into a weird bug. The commands used are
make clean
./otp_build configure --host=arm-none-linux-gnueabi --build=i686-pc-linux-gnu
--prefix=/opt/erlang erl_xcomp_sysroot=~/sbctools/arm-2007q3 --disable-hipe
--disable-threads --disable-smp --disable-megaco-flex-scanner-lineno
--disable-m...
First off, I don't know if this question is relevant at SO but I'm not getting any responses (yet) from the mailing list.So here goes anyway.
I am trying to get mpg123 working on my arm target board.I cross compiled and installed it but when I try to play files, I get the following error :
[audio.c:596] error: Error in writing audio (I...