Questions tagged [arm]

This tag is used for questions related to the ARM (Advanced RISC Machine) family of computers; that is machines or electronics running on ARM processor cores or systems using an ARM core. For Azure-related questions, use [azure-resource-manager].

Filter by
Sorted by
Tagged with
0 votes
0 answers
16 views

HowCaniSolvethiserrorinCANDriver?

I Make Can Driver on STM32F303RTE (Nucleo Board) when i put the CAN_Transmitter and The CAN_Receiver in The Normal Mode i get error in the Transmitter which is Acknowledgment Error and i get error in ...
Mohamed's user avatar
0 votes
1 answer
22 views

Which instruction encoding is supported by a ARM processor, particularly a Cortex M0, STM32F0 one for example

Confused about instruction encoding supported by my core (ie. T1, T2, etc) Having the STM32F0 series Cortex-M0 programming manual, I found that https://www.st.com/resource/en/programming_manual/pm0215-...
yo3hcv's user avatar
  • 1,549
3 votes
0 answers
42 views

What are the Steps after activating Position Independ Code (PIC) for A/B Swaping?

ECU: S32K146, GCC Compiler I'm trying to perform the A/B Firmware Update procedure described in Application Note AN12323. I successfully managed to perform the flashing from Firmware A to Firmware B ...
Ojav's user avatar
  • 758
0 votes
0 answers
17 views

TensorFlow Lite makefile for Texas Instruments CC1352P7 Board with ARM Cortex M4F multiprotocol

I am trying to use tensorflow lite to deploy a model on MCU Texas Instruments CC1352P7 having ARM Cortex M4F protocol. However, when trying to generate the makefile in my command line, I get the ...
RikkiS's user avatar
  • 89
0 votes
1 answer
17 views

Comparing enum / define in keil ARM compiler

I'm facing difficulties to make the following conditional compilation working: enum { MIDI_USB_DEV_MCU_IDX, MIDI_WC_BLE_IDX, MIDI_CONN_1_IDX, MIDI_CONN_2_IDX,MIDI_IN_OUT_UARTS_NB }; #define ...
Jerome's user avatar
  • 611
-1 votes
0 answers
13 views

how to solve make[1]: *** [libnode.target.mk:13: xxx/node-v20.10.0/out/Release/obj/gen/node_javascript.cc] Error 253

I am getting following error while trying to cross compile node-v20 source code in a ubuntu VM for a 32 bit ARM processor. touch XXX/node-v20.10.0/out/Release/obj.target/tools/icu/icuuc.stamp ...
Rushme's user avatar
  • 19
-2 votes
0 answers
16 views

Unity raspberry pi 4 build [closed]

How to build linux platform arm architecture on unity engine Please help me I try to compile C++ but lots of error how can solve these problems another method is setup the android operating system on ...
yıldıray sabancı's user avatar
0 votes
0 answers
25 views

ARM1176JZF-S not allowing banked register access [duplicate]

Today I've encountered a problem while trying to access the SPSR_abt status register from supervisor mode while in a data abort exception, on ARM1176JZF-S (RPi 1's and RPi Zero W's CPU architecture). ...
arongeo's user avatar
  • 35
0 votes
0 answers
35 views

Display works when U-Boot loads but not with Arch Linux ARM [closed]

I installed Arch Linux ARM on my old Allwinner A31s tablet. I can use it via UART/serial console but I can't get the display to work. The tablet turns on, U-Boot loads and shows your submarine logo on ...
fr2z93's user avatar
  • 1
-1 votes
0 answers
14 views

The emulator process has terminated.How do I need to handle it。 [closed]

The emulator process has been terminated in my ARM image, but the x86 emulator is good. Although I have defined my own emulator creation environment, I can't figure out why there is no problem with ...
xiaowei's user avatar
0 votes
0 answers
21 views

Exit branch and continue rest of code in ARM assembly (for home security system)

I am working on a home security system in ARM assembly, where the system is enabled by a switch. Upon activation, it's ready to detect motion and requires the user to input a specific sequence of keys....
Boo Man's user avatar
0 votes
0 answers
29 views

Why does this code not work with Bubble sort

These variable has ALREADY been defined: int i, k, Done; int A[]; // Array to be sorted int N; // contains the length of the array Write the following Bubble Sort ...
hou Kevin's user avatar
0 votes
1 answer
28 views

What is the MSB of each seven segment in ARMv7 DE1-SoC in cpulator?

In the cpulator website, when i want to show a number on the seven segment displays, it tells me to change an specific memory location which i assume is connected to the displays. i can understand the ...
Emad Kheyroddin's user avatar
0 votes
1 answer
24 views

ARM GCC 10.3 & 13.x - invalid parameter for a function pointer with -Os

In Cortex-M7, I have a function, compiled with -Os, that is in the specific address, and I call it through the function pointer, like so (+1 is for thumb mode): //Some code above... memset(.......
unalignedmemoryaccess's user avatar
0 votes
1 answer
29 views

Multiple Projects(or images) on STM32 Board

I'm here to ask some questions about my project. Now I'm implementing a lite hypervisor. So I made three discrete projects(monitor.bin, OS1.bin, OS2.bin), and divided memory. MEMORY { CCMRAM (xrw)...
MarooNarae's user avatar
0 votes
0 answers
12 views

Emulator will not start when building ARM Android using MAUI with Visual Studio 2022

Trying to develop an Android app using MAUI .NET 8.0.  Android I’m building against has android with an arm64 v8a.  The Android emulator will not run when building against an ARM.  Works fine for ...
MikeH's user avatar
  • 11
0 votes
0 answers
17 views

ARM TI chip am335x, how to set up USB HOST endpoint 1

This question of for anyone who has done bare metal access on the TI ARM am335x CPI. I tried to create a new tag am335x, but I don't have a high enough reputation. I am trying to get the am3358/am3352 ...
SpacemanScott's user avatar
0 votes
0 answers
29 views

Effect of non-temporal loads on future temporal loads on ARM processor

I was having the following issue, on an ARMv8 Cortex-A53 processor. I have two functions, one that writes to an array with no cache re-use (streaming_work), which I can feed to another function with ...
Mihir Shah's user avatar
0 votes
0 answers
20 views

when loading the module ,i face a problem as it not being probe invoked succefully

when i loaded my module it is loaded and it is showing in lsmod but my probe function not invoking. I checked my dts file .compatible that matches correctly with my driver (.compatible) even though my ...
Mahendra Jammigumppula's user avatar
0 votes
0 answers
38 views

Running exe file on ubuntu arm64

I have a oracle cloud server with ubuntu 22.04 on arm64. I want to run an executable windows file on it. To be specific, I want to install TikTok Live Studio, which is currently only available for ...
Thomas Freund's user avatar
1 vote
1 answer
31 views

Why the Link register in FIQ mode will be instruction address plus 4 in thumb mode instead of instruction address plus 2?

I am going through the Cortex R5 technical reference manual (version: r1p2). And according to the manual the LR_SVC will have IA + 4 in ARM mode and IA+2 in Thumb mode, which I can understand since ...
OpOp_1's user avatar
  • 71
0 votes
0 answers
29 views

Unable to locate package libjasper and libqt

I've been reading the other posts regarding these but none of them have been able to solve my issue. I have a new Raspberry Pi 4 B and I'm trying to install a few packages and libraries. These are the ...
Soccerball123's user avatar
0 votes
0 answers
46 views

adr/adrp for arm architecture (J.R. Gibson book) [duplicate]

at page 155 of 2nd editon of "ARM Assembly Language - an Introduction" by J.R. Gibson we've got a sentence: Using the pseudo instruction ADR xyz the assembler determines the amount to add to ...
Yuri Frolov's user avatar
0 votes
0 answers
15 views

Moving from x64 to ARM missing libiomp5.dylib file

After fixing most of the dependency issues after moving over, I can't find a way to fix this issue Error: Library not loaded: u/loader_path /../../functorch/.dylibs/libiomp5.dylibtorch/lib/../../...
walterH's user avatar
0 votes
1 answer
40 views

Issue with Installing AlloyDB Omni CLI via Dockerfile Due to Architecture Mismatch

I'm attempting to set up AlloyDB Omni locally using a Dockerfile following the guidelines provided in the official Google documentation. Below is the Dockerfile configuration I'm using: FROM ubuntu:...
Luka Špoljarić's user avatar
-1 votes
0 answers
43 views

ARM Assmbly not displaying output [closed]

I'm a cs student and I need help in my assembly class. The code should senf back A W E S U or M depeding on what letter on the keyboard is typed, but doesn't output anything. It is in arm assembly ...
Kiro 's user avatar
3 votes
1 answer
76 views

Why does gcc -O1 optimization break this code modifying VRAM in a loop for a Gameboy Advance ROM?

I'm working on a simple Gameboy Advance ROM and trying to understand why the following code works with the gcc -O0 option, but crashes (white emulator screen) with -O1 or above: int main () { // ...
Auberon López's user avatar
-1 votes
0 answers
27 views

stm32f103C8T6 - Controlling a stepper motor via DM422C (Digital Stepping Drive) - Assembler ARM7

.syntax unified .text .global __main .global function .thumb_func .equ RCC_BASE, 0x40021000 .equ RCC_APB2_ENR, 0x40021018 // STM32f103C8T6 - Adresse von RCC_APB2ENR - 0x18 ....
TIMBO 2023's user avatar
0 votes
0 answers
19 views

Thread Management in Keil MCB1700 for a project [closed]

I am trying to work on a project where I am using the MCB1700's display. Here, I get the joystick input and enter one of the apps that I display in the main screen. So, I have a Photo Gallery and a ...
Inder Saini's user avatar
0 votes
0 answers
17 views

Using FLM file in MDK (Keil Uvision) to flash external SPI FLASH via JLink

Target and toolchain context So i use an exotic Cortex M4 device with NPU (2 core m4, 1 core NPU). This SoC has a small internal flash and SRAM, and an external 16MB SPI FLASH and 8 MB SDRAM. The ...
user301880's user avatar
0 votes
0 answers
16 views

Conditional watchpoint on NXP LPC55S28

I need to debug a program that sets a specific memory location to 0 unexpectedly while running, leading to a hardfault down the line. I want to catch that memory write with a conditional watchpoint. ...
DarkFranX's user avatar
  • 460
0 votes
1 answer
59 views

Beginner Question - Assembly (ARMv7): Small Code Analysis with questions

STM32F102C8T6 is programmed with Assembly-Code. The on-board LED should "blink", that is not the case. Please analyse my code-sample. I need explanations to some code-parts: (1) "MOVW&...
TIMBO 2023's user avatar
1 vote
1 answer
66 views

Global Offset Table .got and .got.plt must be zero-initialized for STM32 microcontroller

I am in the process of compiling a program for an ARM Cortex-M4 microcontroller without the STM32 IDE. I use the arm-none-eabi toolchain with newlib libc, a linker script I adapted for my specific ...
rlakoda's user avatar
  • 33
1 vote
0 answers
38 views

Arm Cortex-M4 Sub Routines Unexpected Behavior

.include "Equates.s" .syntax unified .text .global main .global Delay .global Top Delay: mov r1,r3 ldr r2,=#0x000AAE60 ...
Jessica Herlitz's user avatar
0 votes
0 answers
26 views

Cross compiling results in relocation error

I am attempting to cross-compile (gcc-linaro-9.2.1-2019.12-x86_64_arm-linux-gnueabihf) a code base, on Linux (Ubuntu 20.04) x86, targeting Linux (Armbian; 5.8.16 kernel) on ARM. Compilation succeeded, ...
Conrad's user avatar
  • 2,239
0 votes
0 answers
91 views

Giltab CI and images platform

I have a Rails app and the whole CI on Gitlab. I've built for the for time a GitlabCI image (stored on Gitlab Registry) and I'm facing an issue with Spring. When I use the image built from a Macbook ...
brcebn's user avatar
  • 1,603
-1 votes
1 answer
31 views

OpenSSL on µITRON

I'm thinking about using OpenSSL for my embedded products which implements an ARM processor and µITRON kernel. I couldn't find the use-case that uses OpenSSL with µITRON. Is there any useful document ...
yonaguni's user avatar
0 votes
1 answer
62 views

arm gcc: store-store ordering without volatile?

I am trying to use a shared index to indicate that data has been written to a shared circular buffer. Is there an efficient way to do this on ARM (arm gcc 9.3.1 for cortex M4 with -O3) without using ...
personal_cloud's user avatar
0 votes
0 answers
39 views

fatal error: proj.h: No such file or directory

I have such errors. I tried all variants, which Google can find out, but it didn`t help. go build cmd/main.go # github.com/omniscale/go-proj/v2 /root/go/pkg/mod/github.com/omniscale/go-proj/[email protected]...
Slava Pinchuk's user avatar
0 votes
0 answers
34 views

PyInstaller, generate binary file to ARM32

I have an image in virtualbox with "xubuntu-22.04.03-desktop-amd64.iso". In this machine I have installed python3.7, pyinstall and others libs, Arquitecture of my virtualbox image. Now, I ...
J.A's user avatar
  • 1
0 votes
1 answer
22 views

Need help to build kuksa databroker for aarch64 or for arm64

I m using ubuntu 22 version x86 I m try to build kuksa_databroker tools intsalled for this :- rust newest version cargo rustup then I m trying to run command cargo build --target x86_64-unknown-linux-...
Shubhám Røý's user avatar
0 votes
0 answers
49 views

How to enable pretty-printing in arm-none-eabi-gdb?

I use C++ to develop for STM32, when debugging, it's hard to monitor the values in stl containers. Environment: VSCode, with cortex-debug, Embedded IDE plug-ins arm-none-eabi-gdb 12.2 SEGGER JLink ...
qianchen's user avatar
0 votes
0 answers
32 views

Apple Silicon low level debugging

I am trying to write a debugger for macOS, for Apple Silicon CPUs. I have tried to put hardware breakpoints by setting bvr and bcr registers. It works, i was able to catch the breakpoint exception. ...
Bob5421's user avatar
  • 8,009
0 votes
1 answer
66 views

Context saving in ISR vs Context switching between threads [closed]

Let's take the Cortex M4 processor: Whenever an ISR is triggered, it saves the R0-R3, R12 and R14 (LR) registers in it's private stack as a part of context saving; further, in cases of RTOS ...
chaya kumar's user avatar
0 votes
0 answers
49 views

Function of __syscall_cp In Musl Libc

I am working with a fork of Musl libc to add to a toy operating system I am building for a project. One of the challenges is that my OS has a slightly different calling convention which has ...
Bneac's user avatar
  • 69
0 votes
0 answers
24 views

ARM M33 Undefined Instruction Fault

I am using an STM32L5 MCU on a project (ARM M33 core). The firmware consists of a bootloader and application. After performing a remote firmware upgrade (via the bootloader), some of my devices did ...
Patrick Wright's user avatar
-1 votes
1 answer
36 views

Return Address from Interrupt in STM32F

I want to know the return address from Interrupt in STM32F, especially arm processor. In normal function, return address is saved in Link Register, but in interrupt, I found that the value of Link ...
MarooNarae's user avatar
-1 votes
0 answers
14 views

How to enable 16G hugetlbpage in kernel for ARM64?

According to the kernel documentation, the ARM64 architecture can support 16GB hugepage sizes based on the CONT-PMD feature. How should I enable this feature to make applications to use 16GB of ...
Frontier_Setter's user avatar
-1 votes
1 answer
25 views

How do I copy an address from one register into another?

I'm working in an arm-like architecture which is vastly simplified for students called LEGv8. A problem asked "return the address in register X7" and the address is currently in X0. The ...
God_Zilla121's user avatar
0 votes
1 answer
50 views

Storing user input into a register ARM Assembly Language

new/still learning ARM Assembly Language for Linux. My assignment is to prompt the user for an integer(s) until -1 is entered. If -1 is entered, then the program will end. How do I store the users ...
Priscilla A's user avatar

1
2 3 4 5
247