Questions tagged [arm]
ARM is a RISC architecture designed for low-power and embedded use, e.g. smart phones and microcontrollers.
21
questions
-3
votes
3
answers
194
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 ...
-2
votes
1
answer
172
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 ...
-3
votes
1
answer
138
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 ...
-3
votes
2
answers
231
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 ...
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 ...
0
votes
1
answer
691
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 ...
5
votes
2
answers
866
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 ...
9
votes
3
answers
538
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....
4
votes
2
answers
681
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 ...
1
vote
2
answers
764
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 ...
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 ...
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 ...
2
votes
1
answer
198
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 ...
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 ...
2
votes
1
answer
2k
views
What is the difference between programming for microcontrollers and programming for embedded systems? [closed]
What is the difference precisely between an Embedded System (like Tegra, Raspberry or similar) and a Microcontroller? I understand there is a difference but I'm finding it difficult to understand.
...
1
vote
2
answers
601
views
Emulating communication between Android and microcontroller using threads or services or... other?
I am not sure what is the best way for the tasks below: threads, AsyncTasks, Loopers, services? Why? Are there other candidates?
I need threads/Tasks/Services/other for:
Plotting data, (refreshing ...
4
votes
1
answer
2k
views
unit testing on ARM
We are developing application level code that runs on an ARM processor. The BSP (low level code) is being delivered by a 3d party so our code sits just on top of this abstraction layer (code is ...
4
votes
1
answer
2k
views
Cross Compile Arm Program to Intel
I have searched around for a way to run a program meant for ARM processors on an Intel computer, but I can only find ways to do the reverse, to compile Intel programs for ARM. Are there any open-...
4
votes
3
answers
3k
views
What is a good way to learn about multicore programming at the kernel level in Linux? [closed]
I am interested in multicore programming at the kernel level. I expect this affects many areas and is probably different for each architecture. What are some must read sections of the kernel? If I ...
2
votes
1
answer
320
views
0.00006103515625 GB of RAM. Is .NET MicroFramework part of Windows CE?
The .NET MicroFramework claims to work on 64K RAM and has list of compatible targets vendors. At the same time, same vendors who ship hardware and create Board Support Packages (vendors like Adeneo) ...
2
votes
1
answer
506
views
Minimal linux distro for compiling arm binaries
I have this setup:
A windows/x86 development box and a PandaBoard ES for testing with a linux on it.
I would like to ask you for recommending a linux distribution that I would run in Hyper-V on my ...