Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

All Questions

Tagged with
0
votes
1answer
68 views

ARM Debugging - Cortex M0 debugger gpio changing while halted in SysTick_Handler

I've been trying to figure out this one for hours and I can't see what I'm missing. I currently am debugging my program on hardware and I have set a break-point inside of one of the functions called ...
1
vote
1answer
536 views

Cortex-M0 vs. Cortex-M0+ for an IoT sensor using LoRA [closed]

Although I am an experienced software engineer, I am still quite a novice in electrical engineering. So please bare with me in explaining my requirements: I have a small garden in my backyard and I ...
0
votes
0answers
491 views

J-Link device selection error in Keil

I try to load a program into STM32L011K4 using J-Link. The mistakes I get and the steps I follow are as follows: PROBLEM-1. J-link could not find STM32L011K4 My Steps: Click options for Target → ...
2
votes
3answers
608 views

Unable to program ATSAML21 PCB via SWD - Problem with connection?

Well, I'm officially stumped (and so are several other engineers)... I have a custom PCB running an Atmel ATSAML21E18B microcontroller, which I'm trying to program through an Atmel ICE debugger / ...
0
votes
1answer
294 views

How can I save a floating point value to a Microcontroller data Flash

I'm trying to save some floating values to the Data flash of my Nuc220(ARM-M0 32 bit) Microcontroller using ISP procedure. ...
0
votes
2answers
586 views

Runs with debugger but not standalone, using ATSAMD10D13 and Atmel ICE

I made a custom board with 2 ATSAMD10D13AM parts. The are 8k flash/4k sram Cortex-M0 24QFN parts. When I power the board the IC's start but then freeze (I have LED's blinking that go solid). When I ...
-1
votes
2answers
103 views

Calculate voltage [closed]

I am using Bluetooth Low Energy Boards Based on Nordic nRF51822, which has ARM Cortex-M0 microcontroller. I have 7 switches. There is always only one of them ON. I need to know which switch is ON ...
1
vote
1answer
446 views

GPIO speed in LPC812 Cortex-M0 MCU from NXP

Based on datasheet page 17: GPIO registers are located on the ARM Cortex M0+ IO bus for fastest possible single-cycle I/O timing, allowing GPIO toggling with rates of up to 15 MHz. And I used a ...
1
vote
2answers
411 views

NXP QN9021 (ARM Cortex M0) programmer

I have made a small breakout board with the QN9021 SOC (BLE + ARM Cortex M0). I am having trouble flashing the code into this device. Assuming that this device is wired properly and working fine, how ...
21
votes
6answers
6k views

How to Transition from “Basic” Microcontrollers to ARM Cortex?

I have many years of experience with 8-bit cores from various manufacturers - namely 8051, PIC, and AVR - and I now have a Cortex M0 to figure out. Specifically this one, but I hope we can be more ...
0
votes
1answer
435 views

Are unaligned LDRH/STRH supported on Cortex M3/M0?

Can all Cortex M0/M3 cores do this? LDRH r0, [0x8001] This would suggest yes but I don't see anything specific about Cortex-M cores.
1
vote
2answers
3k views

ARM Cortex reset button and debug interface (SWD)

I am designing a circuit using the EFM32ZG222 MCU (an ARM Cortex M0+) and I need to use the SWD interface (with a 10-pin Cortex Debug Connector) along with a reset button. I found a schematic that ...
4
votes
1answer
4k views

Printf style debugging via SWD

Is it possible to send arbitrary messages (as with printf()) via SWD for debugging?
3
votes
2answers
898 views

ARM Instruction set

I am trying to enter into the world of ARM and one thing I come across very often is that ARM processors support ARM and Thumb instruction set. So it means compiler will use Thumb Instructions which ...
1
vote
2answers
190 views

SRAM vs MicroSD

I have very little SRAM in my datalogger (10 kb), so I have to flush my buffer to MicroSD every 0.5 seconds. Would it make any difference in power usage if I added more SRAM (which is very difficult ...
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
2answers
762 views

Moving code from an ARM M0+ to an ARM M4, what changes?

Say I have a very simple program that functions perfectly fine on a ARM Cortex M0+ processor. How much will I need to change in order for it to work on an ARM Cortex M4 processor, assuming they are ...
3
votes
3answers
2k views

How fast can ARM Cortex M0s/M3s bit bang?

I have not yet used ARM Cortex uCs, only AVRs Firstly, how fast can they: Stream 1024+ bits (serially, from bytes in RAM) out of a pin, with no pauses/jitter Stream 1024+ bytes (parallel, from RAM) ...
4
votes
2answers
3k views

Relationship between reset pins and SWD functions (ARM Cortex M0)

On many microcontrollers or other devices without JTAG/SWD functionality, there is a reset pin which when low unconditionally and asynchronously forces everything into a known state. On devices with ...