Questions tagged [arm]
This tag is used for questions related to the ARM (Advanced RISC Machine) family of computers. Tagged questions specific to the ARM architectures are on topic. Generic programming questions that happen to be hosted on an ARM cpu are not. For Azure-related questions, use [azure-resource-manager].
12,556
questions
0
votes
0
answers
4
views
Building microchip-ung/mepa C library gives error related to timercmp call syntax
Cross-compiling the microchip-ung/mepa library to ARM, using xilinx 2016.4 SDK (trying C11 flag) is leading to the following error:
/home/mesa/mesa-v2024.06-1/mepa/common/include/mepa_os_linux.h:58:...
0
votes
0
answers
17
views
Can i boot from sram when i use arm cortex m3
normally,we boot from flash or ROM, but what if i want to boot from SRAM area(0x20000000_0x3fffffff) instead of Code area(0x00000000_0x1fffffff), should i use startup.s to copy the code to SRAM area?
...
0
votes
0
answers
13
views
How do I add DobbyHook in android studio
Couldn't find any information about how to install DobbyHook for android studio
The only thing i found was the original documentation, which didn't clarify anything. By the way my emulator has x86_64 ...
0
votes
0
answers
20
views
Different execution times for the same code
I'm working with the Texas Instruments (TI) RM57L843 microcontroller, where I'm observing the execution time of a for loop that performs matrix multiplication. I compiled the same code using TI's ...
0
votes
1
answer
46
views
How to use the U-Boot API from a bare-metal ARM program loaded by U-Boot?
Is there a way to call U-Boot API functions from within an ARM program loaded with the go command ?
I see that the U-Boot API is available after startup at an address defined in the environment ...
0
votes
0
answers
10
views
Gem5 Arm SimpleAtomic CPU checkpoint interpretation
I am new to Gem5 and want to manually construct gem5 checkpoint from the information gained by gdb.
To this end, I try to understand gem5's checkpoint. However, even the integer register does not make ...
0
votes
0
answers
33
views
Unwinding Stack on Cortex-M with FreeRTOS: Handling Interrupts and Stopping Conditions
I am writing an unwinder for a Cortex-M (an ARM processor) running FreeRTOS. It mostly works, and I can trace the stack in many cases, but I have encountered a few issues that I haven't been able to ...
0
votes
0
answers
23
views
Accessing DDR memory of Zynq card
I'm currently trying to generate an algorithmically calculated signal using a zybo zynq z010 board and Vitis. I fill a Look Up Table with this signal in a for loop and then send this Look Up Table to ...
1
vote
1
answer
44
views
How/When exactly does Cortex-M4 (STM32 F4) switch its R13 from MSP to PSP? Do i have to manually switch if using PSP in inline asm?
I'm writing my own RTOS and I'm implementing the context switch function, where I have to use PSP. The function is written in inline assembly
I was working on another project on STM32 F4 writing ...
0
votes
0
answers
15
views
how to count traffic bytes with nf_conntrack
an arm device, not has iptables, have a bussiness process, need to count all traffic bytes of this process.
my solution:
get socket id, ls -lh /proc/pid/fd
get port by socket id, /proc/net/tcp
get ...
-2
votes
0
answers
45
views
Address sanitizer CHECK failed [closed]
I am writing a program using the gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux toolchain. There is a task to check if there are any memory leaks in the program.
I saw in tutorials that adding ...
0
votes
0
answers
42
views
STM32 F446 Nucleo halts on Polymorphism
I'm wondering what the possible causes of an MCU halting on a polymorphic function call might be.
I have the following code. I can call the member function directly on the non-pointer variable. ...
0
votes
0
answers
26
views
How do exceptions work with the MMU in ARM Cortex A8 (ARMv7-A)?
Currently, I am studying the Cortex A8 kernel with MMU support. Previously, I only worked with Cortex M3, which did not have an MMU. According to the official documentation (ARM architecture reference ...
0
votes
1
answer
35
views
renaming .data to .rodata using objcopy fills output with zeros
Following this helpful guide, I am using objcopy to embed a large data file in my code, like so:
arm-none-eabi-objcopy -I binary -O elf32-littlearm "raw_data.bin" "raw_data.o"
...
0
votes
1
answer
7
views
How to make an automated build version in Keil IDE?
When I deploy embedded apps in Keil IDE, it's essential to update and know the current build version in my application, how can we make Keil IDE automatically generate the build version of the ...