Questions tagged [arm]

32-bit microcontroller IP. The ARM company which designs the ARM cores doesn't make controllers itself, but licences the IP to other manufacturers. ARM is the leading 32-bit controller and is available from tens of suppliers.

Filter by
Sorted by
Tagged with
6
votes
3answers
10k views

Which ARM MCU family is better for beginners? [closed]

Which ARM MCU family is better for beginners? I mean which family: Is straightforward and easier to learn Has more/better learning and development resources available Has bigger and better ...
6
votes
1answer
550 views

Moving to ARM from 8 bit AVR - how to take the 1st step?

I've written code for AVRs for several years now and it seems like my needs are calling for a more powerful processor. Since Atmel Studio is the IDE I'm already using and my debugger also works with ...
6
votes
1answer
17k views

ARM STM32 simulator like proteous and some good book to start with?

I want to get my hand dirty with ARM programming. I have 8051/PIC16F/PIC18F programing experience. I searched about ARM and find STM32 series cheap. But before buying i want to get handy with it via ...
6
votes
1answer
20k views

STM32F103 SPI Master example?

I want to use SPI master configuration and send some data just to capture it with Logic Analyzer. It seems that I cannot trigger on clock and capture anything. Using code from standard peripheral ...
6
votes
1answer
8k views

USB interface with STM32

I'm experimenting with native USB in STM32. I've not found any "step by step", or a little more well structured tutorial, how to implement CDC or mass storage for example. I've found some examples, ...
6
votes
3answers
1k views

bootloader application on arm controller

I am using a micro-controller with ARM Cortex M4 processor and developing a bootloader application on it. Compiler : GCC- GNU ARM compiler Code flash size : 1MB Interface for application code ...
6
votes
1answer
2k views

Can ARM MBED be legally and robustly used in commercial products?

I'm looking for a simple but reliable microcontroller platform (chip plus API) for modules that will be integrated in a product that we are developing for a customer (in this case a 8 channels RS232 ...
6
votes
1answer
1k views

What is relation between ARM libraries

What is relation between CMSIS libs released by ARM.com, libraries provided by manufacture and GCC ARM libraries ? What is the exact purpose of each? Which of them Should I use?
6
votes
1answer
1k views

Gumstix with an e-ink screen

I really want to develop on a gumstix with an e-ink display, but $3000 for a development board is a bit steep for me right now, especially since I just want to get a prototype out so I can see what ...
6
votes
2answers
2k views

7mm, low-cost, Linux-capable ARM SoC with stacked RAM?

I'm designing an ultraminiature monocopter drone that will transmit 720p, 30 FPS, MJPEG aerial video over 802.11n (UDP) and a high-gain antenna, to a laptop. I've found camera modules that can ...
5
votes
6answers
569 views

Does my open source project need be Arduino based to be successful?

I am debating which micro-controller to use for a new open source hardware project. Spec wise, I would rather use an ARM Cortex M3, which is at a similar price-point to an Arduino(avr) based solution ...
5
votes
5answers
2k views

Why are smartphones and tablets ARM based?

Why don't these devices use Intel processors like laptops do? Why are they restricted to ARM? Also for Windows 8, do they want ARM just for tablets and smartphones or is it also for laptops/desktops ...
5
votes
4answers
331 views

What configuration should I use for a system that includes an ARM and an FPGA?

I have a design that uses an Altera Cyclone FPGA to implement a Physically Unclonable Function (PUF) and an ARM device to do cryptographic work and I/O with the PUF. The PUF is very large, and takes ...
5
votes
5answers
1k views

How does an ARM processor in thumb state execute 32-bit values?

What I understand is, the ARM mode can execute 32-bit of instructions and Thumb mode can execute 16-bit of instructions. For instance, Here is the ARM instructions set: And Thumb instructions set: ...
5
votes
5answers
770 views

Beginning arm cortex Ax hardware development

Where can one find information on how to put together a minimal linux bootable board based on the cortex A family (like the beagleboard)? Programming information is plentyfull, but hardware knowledge ...
5
votes
3answers
3k views

Is it possible to reset NXP LPC2100 microcontroller from code

I'm curious? A watchdog timer could do this, but I would like to do it manually.
5
votes
5answers
7k views

where are constant variables stored in microcontroller?

As per the memory layout of C program ,constant variables are stored in the Initialized data segment of the RAM. But as per some of the Microcontroller memory layout ,const variables are stored in ...
5
votes
3answers
3k views

ARM watchdog reset

I have an MP3 development board I picked up from sparkfun that runs off the LPC2148 ARM processor. In looking through the code, I see a function to force a watchdog reset. My question is, how do you ...
5
votes
2answers
664 views

Lightweight (subset) of standard C library (ANSI C library)

I'm porting standard C library for bare metal "OS" (ARM Cortex-M4, ARM GCC). I want to have functions like strlen, sprintf, (and memory allocator, maybe), etc. I've ported PDCLib and Newlib. Newlib ...
5
votes
2answers
2k views

“Backup SRAM” vs “backup registers”

Today I was looking at STM32F205 datasheet. this MCU has a feature. except 20 × 32 bit backup registers, it has 4 KB Backup SRAM. and due to datasheet: And look at this: Does "Backup SRAM" get erase ...
5
votes
4answers
16k views

Debugging an ARM (STM32) Microcontroller using Qt Creator

I have been working with STM32 series ARM microcontrollers on IAR Embedded Workbench for a while. For some reasons, now I need to move my works to Qt-Creator (both on Windows and Linux). In IAR EWARM, ...
5
votes
4answers
18k views

Delay function in ARM programming

I have just started programming on ARM, I had some experience on AVR but not that much. The question is probably too trivial but the material about ARM is too little on the net... sorry anyways. I ...
5
votes
3answers
1k views

STM32F4 - CMSIS & Board Specific Libraries

I recently purchased a STM32F4 board to learn the ARM architecture. I am fairly comfortable with embedded programming having worked with AVR series for about a year. I was going through this tutorial ...
5
votes
2answers
897 views

SWDAP vs CMSIS-DAP vs DAPLink

EDIT : I got the basic questions (for example, what is CMSIS-DAP?) answered by user @Nipo. Based on that, I restructured my post in a more logical way. Hopefully ...
5
votes
3answers
3k views

Calculating time spent by a function in Microcontroller Applications

I would like to write a simple profiler for my STM32F100VE microcontroller. I have seen that I can include time.h and based on the c standard functions I can use it, but I was confused about ...
5
votes
1answer
8k views

STM32 Sleep Mode: Interrupt gets executed but the CPU stays in WFI

I'm fairly new to the ARM architecture and I'm working with a board that contains STM32F0 microcontroller and an RF modem, which sends an interrupt every time it receives a message. I'm trying to ...
5
votes
1answer
15k views

STM32F103 low power mode (stop)

I've got a project where I'm trying to get the power consumption down as low as possible (on an STM32F103RCT6). I looked at ST's document on getting the STM32F2 power consumption down as low as ...
5
votes
1answer
1k views

Cortex-M4F FPU problems

I'm writing some code for a Texas Instruments Stellaris Launchpad board (a Cortex-M4F, the chip is a LM4F120H5QR). I'm using the IRMP library for infrared decoding, which works fine, as long as I don'...
5
votes
2answers
9k views

What is the difference between Atmel ICE, Atmel SAM-ICE and Atmel JTAGICE mkII?

What is the difference between Atmel ICE, Atmel SAM-ICE and Atmel JTAGICE mkII? From what I understand, Atmel ICE is cheaper and better in every way, support more families, thus why would one buy the ...
5
votes
1answer
1k views

Significance of ARM SysTick Timer vs. Other Timers?

I'm coming from 8 bit MCUs, and I've used a system timer to generate a periodic interrupt that seems to be the motivation behind the Cortex M SysTick timer? Is there some kind of architectural ...
5
votes
1answer
432 views

An overhead of running program on Linux vs embedded bare-metal

Let's say I have some multi-core ARM Cortex-A. Now I have there a Linux, with RT_PREEMPT patch (so called real-time Linux). I run a processes with affinity set to one core and high priority (above 50)...
5
votes
1answer
309 views

Is there a way to check if semihosting is enabled at runtime

The ARM Cortex cores has a built-in feature called semihosting which is a way to interact with the attached debugger, for example to do printf() debugging without using a peripheral unit. However, ...
5
votes
2answers
2k views

Embedded System for a image processing task

I initially posted this on SuperUser, but I suspect, this might be a better place to post this (sorry for the double post!): I'm quite a beginner to embedded systems, but am eager to learn more. I've ...
5
votes
1answer
785 views

TFT display write noise

I am using a TFT display with ssd1963 controller built-in and stm32f4 discovery board, and everything is working well except when writing to the display. There is a significant increase in system ...
5
votes
1answer
1k views

TI LM3S ARM Cortex M3 with USB 3G Modem [duplicate]

I've got a TI LM3S Cortex-M3 Development board with USB host. I've done quite a bit of TCP/IP programming through the Ethernet and using SPI/UART GSM modems, but I was wondering the feasibility of ...
4
votes
3answers
1k views

Is there any difference between the assembly instructions of ARM MCUs from two different corporations?

I'm curious to know, are there any differences between the assembly instructions of ARM MCUs from two different corporation? For example between an Cortex-M3/4 of NXP and TI or ST or other ...
4
votes
2answers
1k views

Atmel SAM E70 (ATSAME70Q21, Cortex-M7) battery backup

I'm building a USB-powered demo board with the Atmel SAM E70 controller, and a single hurdle I'm facing is the battery-powered operation. I intend to use a simple 3V coin cell battery as a backup ...
4
votes
3answers
3k views

Trying to flash STM32f030f4 (ARM, Cortex M0) - what is proper wiring?

I've got STM32F030F4 chips from shop, made a small breadboard adapter for it and tried to connect to its built-in bootloader via USART1. I've failed and I'm somewhat bewildered about wiring. My ...
4
votes
4answers
1k views

minimal ARM (cortex m0) board

First: I'm not a professional. I just want to know what is possible and if i'm on the right track. Second: I want a little microcontroller which just measures (for example) the temperature and send ...
4
votes
1answer
2k views

Implement cryptography algorithms in an ARM microcontroller

Assume a situation in which you want do some encryption procedures in your ARM microcontroller. (Receive a file, encrypt with 3DES and some hash functions and returning it, for example.) As far as I ...
4
votes
2answers
1k views

Could an ARM (ARM7TDMI) Branch instruction take 6 cycles?

I have found an ARM Branch instruction appears to take 6 cycles to run on an ARM7TDMI processor. It seems it shouldn't be happening because in all references I've found, an ARM7TDMI branch instruction ...
4
votes
3answers
5k views

Understanding difference between Interrupt Address and interrupt vector address

In my undergrads, I was taught 8051 and in interrupts my professor had said that on interrupt SP points to the address that is hardcoded and Program goes to excute those instructions. But in between ...
4
votes
1answer
6k views

GNU ARM Eclipse - flash and run without debug

I have successfully installed and configured Eclipse for ARM development according to this excellent tutorial: http://gnuarmeclipse.github.io/ Almost all the tutorials (including the one above) I ...
4
votes
2answers
2k views

ARM microcontroller, where to begin [closed]

I had previously worked on Arduino but I think it was very simplified for the users. Now, I want to learn properly. I decided to begin learning ARM microcontroller. So, I bought LPC1114 DIP because I ...
4
votes
4answers
1k views

Boundary scan - High speed interfaces

I was given the task to evaluate existing boundary scan systems. At this moment, we are using a simple solution which allows us to define boundary scan vectors which we can check. This is fine for ...
4
votes
4answers
8k views

OpenOCD child process termination: Wrong device detected

Setup I have an STM32F103C8T6 minimal eval board (see STM32F103C8T6). And I'm using an ST link like the picture below. I installed System Workbench for Eclipse. I created my own project (C++, Empty ...
4
votes
1answer
506 views

Getting started with Qualcomm reference designs

I am looking to get started with Qualcomm Reference Designs. I am partly inspired by this article: "Start Your Own Smartphone Company for $1,000". I have an application that I would like to be able ...
4
votes
3answers
1k views

Difference between Micro-Operations in RISC and CISC processors

I've read that the modern Intel processors use the CISC instructions on the top, which are converted into RISC-like simpler instructions in the form of Micro-Operations at the back-end. So if Intel ...
4
votes
1answer
18k views

STM32 GPIO Configuration

I am trying to figure out some online resource to figure out how to configure the GPIO Registers on an STM32F4 Cortex M4 board. I only have examples for the Cortex M4 ...
4
votes
3answers
3k views

ARM Linux and UBoot - Can I make a read-only MTD writable?

I have several embedded Linux devices installed at customer sites. We have an updated Linux kernel we are prepared to deploy to these devices. The problem is that on these devices, the U-Boot ...