Skip to main content

Questions tagged [arm]

ARM is a RISC architecture designed for low-power and embedded use, e.g. smart phones and microcontrollers.

-1 votes
1 answer
128 views

What are ARM64 system registers

I see in arm reference manuals they give info about certain configurations such as HCR_EL2, Hypervisor Configuration Register (HCR_EL2), and what I read in books and reference manual is that ARM64 ...
mrigendra's user avatar
-3 votes
3 answers
272 views

why do we need instructions set for processor or controller?

Why is it necessary to have an instruction set for processors and controllers? Can't we simply convert high-level language programs, like those written in C, directly into binaries without the need ...
Harshith Gowda's user avatar
-2 votes
1 answer
175 views

What is the benefit of equipping a computer or smartphone with multiple CPU cores that differ in clock speed? [closed]

I've bought a samsung galaxy s21 ultra about a year ago. Today i was looking at the specs again and i noticed that the Samsung Exynos 2100 processor consists out of 1 single CPU core of 2.9 GHz, three ...
Maurice's user avatar
  • 133
-3 votes
1 answer
145 views

How to anticipate a software future where ARM (potentially) replaces x86 in server and PCs? [closed]

With the introduction of Apple M1 processor, ARM has stood up to be a capable competitor and an alternative to x86 processors. We can foresee a future where ARM captures considerable market share of ...
Shiva's user avatar
  • 113
-3 votes
2 answers
232 views

Why will it take approximately 2 years for Apple to transition Mac to ARM? [closed]

Why will it take that long to transition all Mac software to ARM according to Apple? I thought all they would need to do is to recompile the source code of their apps and rewrite SIMD code from intel ...
mbl's user avatar
  • 111
1 vote
2 answers
1k views

Executable VS. Software image

Need your help to clarify primitive concepts: In an embedded system, when a program runs on the processor (ARM as an example), in my understanding that it is because the "code to be executed" is ...
Lavender's user avatar
  • 119
1 vote
1 answer
754 views

Is memory allocation hardware handled or OS?

I am currently working on a bare metal project with an arm processor using GCC arm compiler. If I call malloc, is the allocated memory tracked in the MMU? For some reason I had assumed an OS typically ...
Matthew Huber's user avatar
5 votes
2 answers
894 views

Endianess ARM Assembly Confusion

I'm writing code using arm assembly language for college and the I'm really confused about endianess. The default should be little endian but I'm sure the test string has been stored big endian. The ...
richard davies's user avatar
9 votes
3 answers
542 views

Writing at the start of a file something you only know at the end

Background: I'm writing micro controller C code to write an EBML file. EBML is like a binary XML with nested elements, but instead of start and end tags, there is a start ID, length, and then the data....
pscheidler's user avatar
4 votes
2 answers
718 views

mutex implementation in arm based embedded system

I have implemented a mutex on an embedded system that have armv7 processor and a basic scheduler There are several instructions in armv7 instruction set that are used for power efficiency. Two of ...
omer12433's user avatar
1 vote
2 answers
791 views

What are microcontrollers programmed in most in industry? C or Assembly? [closed]

So recently in school we have started programming klm25z boards using ARM Assembly. I was wondering if in most industry jobs, microcontrollers are really programmed in assembly over C. It seems to ...
user3183586's user avatar
5 votes
1 answer
3k views

Cross-compiling Java app to run directly on ARM

Please note: although I am using ARM SAM3X8E in this example, I'm just using that as a concrete example, and the answer to this question could easily be given using any other MCU such as AVR, etc. I ...
smeeb's user avatar
  • 4,890
2 votes
2 answers
1k views

Compiling and deploying a C program to an MCU running an RTOS

Please note: Even though I'm specifically talking about an RTOS called Embox here, and even though I'm talking about AVR/ARm, I think this question can be answered by anybody whose ever done a fair ...
smeeb's user avatar
  • 4,890
2 votes
1 answer
206 views

Compiling and deploying RTOS to an MCU

Please note: Even though I'm specifically talking about an RTOS called Embox here, and even though I'm talking about AVR/ARm, I think this question can be answered by anybody whose ever done a fair ...
smeeb's user avatar
  • 4,890
12 votes
2 answers
14k views

Benefits of RTOS vs Bare Metal for MCU Programming?

Please note: This question specifically mentions two RTOSes but is more generic and can probably be answered by anybody who has written C code for embedded RTOSes before, and had their software run ...
smeeb's user avatar
  • 4,890

15 30 50 per page