arm Questions
3
Solved
I'm working on mac OS 10.7.4. using Xcode 4.3.2 .
I had a *.a static library file from my partner. I want to know which architecture it is built for. Is it ARMv6, ARMv7, i386 or other architecture...
2
I'm trying to read CP15 coprocessor in the following System-on-chip
Cortex A7 - ARMv7-A
Below my snippet
void main (void)
{
unsigned int reg_value = 0;
asm volatile("mrc p15, 0, %0, c0, c0, 0"...
2
Solved
Do there exist intrinsics for ARM C compilers to do add-with-carry operations, or is it necessary to use assembly language?
On x86, there is _addcarry_u64 for add-with-carry. (There's also the new...
Nobel asked 9/5, 2016 at 23:21
3
Solved
I'm trying to generate Ninja makefiles to cross compile a C++ project with Clang for an ARM Cortex A5 CPU. I created a toolchain file for CMake but it seems like there is an error or something miss...
0
I have been experimenting with a simple true/false sharing benchmark, which does regular load+increment+write on a pointer. Basically this:
static void do_increments(volatile size_t *buffer, size_t...
Touraco asked 30/6 at 10:55
2
I'm trying to cross compile programs (currently avconv from libav) for a Nokia N9 phone using arm-linux-gnueabi-gcc from Linux Mint's 64-bit repository. The compiler's libc version is 2.15 and the ...
Skyros asked 11/7, 2013 at 20:47
9
I have an application that I am porting from the Keil IDE to build with the GNU toolchain due to license issues. I have successfully be able to set up, build, flash and run the application on the d...
8
Solved
I'm looking for a TCP/IP stack that can be used without an OS. Our customer has an "aversion" to interrupts and doesn't want a real OS on a embedded board we're building. It's desirable to move as ...
Amand asked 12/7, 2010 at 13:2
6
Solved
I have read about system calls in Linux, and everywhere description is given regarding x86 architecture (0x80 interrupt and SYSENTER). But I am not able to track down the files and process for a sy...
Erfurt asked 18/10, 2012 at 4:9
3
I am completely new to assembly and would like to learn arm assembly (simply because I own an m1 mac). I can't really find many ressources online, that's why I'm here. My code is as follows (file i...
5
RLS is giving the following error message when working on a project with an ARM target:
E0463: can't find crate for test can't find crate
Reproduction:
cargo new --bin app
cd app
mkdir .cargo
ech...
Hymenopterous asked 14/1, 2021 at 15:58
6
I am using the STM32F7-Discovery board and have been stuck at trying to enable the DWT cycle counter. From what I've seen online this should suffice for enabling it:
CoreDebug->DEMCR |= CoreDebu...
4
I'm using a STM32F107 cortex m3 microcontroller. I'm using the Keil uvision IDE for the project. I have an application which is running properly at the starting location i.e 0x0800 0000. If I chang...
6
Solved
I have been trying to create a neatly-organized makefile project template utilizing the ARM mbed library. I have already solved a few of the problems (see this post) related to header file paths. H...
2
Solved
Context is: STM32H753 bare-metal software compiled with arm-none-eabi-gcc.
The reset handler is implemented in C and located in Flash memory:
void reset_handler_c(void)
{
asm_func();
}
The asm fu...
7
Solved
The final images produced by compliers contain both bin file and extended loader format ELf file ,what is the difference between the two , especially the utility of ELF file.
4
Solved
I'm running an ubuntu server 21.10 on RasberryPi4.Docker version 20.10.7, build 20.10.7 0ubuntu5. I tried docker prune and to reinstall docker fully and even reinstall ubuntu, but nothing seems to ...
2
Solved
Intel supports RDRAND (also known as Intel secure key) instruction for returning random numbers. And it's available in Ivy Bridge processors.
I wonder, is there any ARM processor featuring instruct...
Macrophysics asked 8/9, 2016 at 11:45
4
I'm a real newbie to iOS development and wanna make a new GitHub blog.
I'm following How to install jekyll on Apple M1 Macbook as a reference.
And I've tried installing Jekyll on my M1 Pro Macbook ...
0
I know that in my ARM FEAT_FP16 is supported.
I expect seeing fp16 in the list of features reported by cat /proc/cpuinfo:
$ cat /proc/cpuinfo | grep fp | sort -u
Features : fp asimd evtstrm aes pmu...
Crawfish asked 5/3 at 11:40
6
I want to emulate Raspberry Pi 4 using QEMU, but I am not able to find any image for RPi4. I need a kernel with which QEMU can emulate a Cortex-A72.
Limicolous asked 11/4, 2021 at 13:18
3
For my project I must use inline assembly instructions such as rdtsc to calculate the execution time of some C/C++ instructions.
The following code seems to work on Intel but not on ARM processors...
Biography asked 6/11, 2016 at 20:26
2
Solved
Introduction
I am a student who wants to roughly measure the interrupt latency of ARM Cortex-M series chips without using an oscilloscope. However, I have encountered a very peculiar issue that has...
3
Solved
I'm trying to understand the start and end of functions in ARM assembly:
PUSH {R0-R2, LR}
POP {R0-R2, PC}
Looking at this piece of code in IDA here's what I understood (Lets assume SP is 0x100):...
2
In the ARM documentation, it mentions that
The Cortex-M4 processor supports ARMv7 unaligned accesses, and
performs all accesses as single, unaligned accesses. They are
converted into two or mo...
1 Next >
© 2022 - 2024 — McMap. All rights reserved.