Neil Salmon

88 Articles

Hard Fault behavior – timing, randomness, root causes

A Hard Fault on an ARM Cortex chip refers to an unrecoverable exception that occurs when the processor detects an

Neil Salmon 8 Min Read

Common Causes of Hard Faults on Cortex-M0/M0+ MCUs

Hard faults on Cortex-M0/M0+ microcontrollers are often caused by software bugs, improperly configured hardware, or faulty external devices. While hard

Neil Salmon 5 Min Read

Cortex-M0 Stack Frames and Registers During HardFault

When a Cortex-M0 processor encounters a fault or exception, it pushes information onto the stack to create a stack frame.

Neil Salmon 10 Min Read

Using NVIC_SystemReset() to Trigger Soft Reset in Cortex-M0

The NVIC_SystemReset() function can be used to trigger a soft reset in Cortex-M0 based microcontrollers. This function is part of

Neil Salmon 8 Min Read

Inline assembly in C code for Cortex-M0/M0+

Inline assembly allows inserting assembly language code directly into C/C++ code. This can be useful for Cortex-M0/M0+ programming when you

Neil Salmon 7 Min Read

Cortex-M0+ core Hang up in FFFF FFFEh address when executing DSB instruction

The Cortex-M0+ core can hang up or freeze at the address FFFF FFFEh when executing the DSB (Data Synchronization Barrier)

Neil Salmon 7 Min Read

How to Switch Between Programs on the Cortex-M0?

The Cortex-M0 is an extremely low power and space efficient 32-bit microcontroller aimed at simple, low-cost embedded applications. One of

Neil Salmon 6 Min Read

Cortex M0 toggle pins not responding

If you are working with a Cortex M0 microcontroller and finding that toggling output pins programmatically has no effect, there

Neil Salmon 7 Min Read

Relocate the Vector Table in Cortex-M0

The vector table is a key component in Cortex-M0 microcontrollers that contains the reset and exception vectors needed for the

Neil Salmon 9 Min Read

Cortex M0 Based MCU DAC Error

The Cortex-M0 is one of ARM's smallest and most energy efficient 32-bit processor cores. It is designed for microcontroller applications

Neil Salmon 7 Min Read

Do I Need to Run a Separate Flash Programmer Software for Custom SOC with Cortex M0?

If you are working with a custom system-on-chip (SOC) that uses an ARM Cortex-M0 processor, you may be wondering if

Neil Salmon 10 Min Read

Will code debugging / breakpoint still work with a custom routine? Arm Cortex M0

Yes, code debugging and breakpoints will still work when using a custom routine on an ARM Cortex M0 processor. The

Neil Salmon 6 Min Read
- Sponsored-
Ad image