• Concurrent Interrupts

    Michael
    Michael

    Hi All,

    Im new to the Arm Community and Arm processors (newbie), and my question is as follows: Atmel ATSAMD20e  implements ARM cortex M0+ processor based on ARMv6 architecture. It allows upto 32 external interrupts, with the interrupt signals connected…

    • Answered
    • over 4 years ago
    • Processors
    • Cortex-M / M-Profile forum
  • M4/M0 dual core application. M0 fails to start

    Bo Mellberg
    Bo Mellberg

    Hello everyone,

    I have an LPC4337 running uCLinux. I'm trying to get code to run in the M0 in parallell.

    I load the code to 0x10080000, set the M0APPMEMMAP to 0x10080000, release the M0APP Reset and nothing happens. I have to reset the M0-core using…

    • Answered
    • over 4 years ago
    • Processors
    • Cortex-M / M-Profile forum
  • Reduce ARM CM0+ scatter initialization during boot?

    G. Guraaf
    G. Guraaf

    We are using ARM CM0+ in our embedded SoC design and I noticed that boot takes a long time. Specifically, I saw that it took ~18K cycles after the unreset before we executed an instruction that I recognize (which is inside __rt_entry). We are of course…

    • Answered
    • over 4 years ago
    • Processors
    • Cortex-M / M-Profile forum
  • What will happen if Cortex-M0 fetches 0xFFFF_FFFF as an instruction ?

    stevens.wang
    stevens.wang

    Dear Guys,

        In typical SoC product, the FLASH memory is initially empty after being shipped from factory, in which the data are all "0xFFFF_FFFF".

        I am curious how Cortex-M0 deals with the undefined instruction data "0xFFFF_FFFF…

    • Answered
    • over 4 years ago
    • Processors
    • Cortex-M / M-Profile forum
  • Can I use EXEC_RETURN on M0 outside of an exeception for contect switches?

    David Smead
    David Smead

    I have initialized stacks for various tasks with content as expected on SVC interrupts.  I'm not able to dispatch an initial task via the "normal" dispatch function.  On this first dispatch, the processor is not in an exception handler, but the LR is…

    • Answered
    • over 4 years ago
    • Processors
    • Cortex-M / M-Profile forum
  • implementing a hardware on nexys 4 ( corterx-m0)

    mariam
    mariam

    hi, as i posted before I'm trying to integrate an adder to my architecture however no body replied

    so please if anyone succeeded in implementing a hardware design on his FPGA, and of course when i say a hardware design it doesn't include the predefined…

    • over 4 years ago
    • Processors
    • Cortex-M / M-Profile forum
  • about tail chaning of Cortex-M0

    下田敏郎
    下田敏郎

    Hello.

    I'm studying about the tail chaining of Cortex-M0.

    Is it same as Cortex-M3 or M4?

    Best regards.

    • Answered
    • over 4 years ago
    • Processors
    • Cortex-M / M-Profile forum
  • Read/Write from register

    emna
    emna

    hi

    I'm using the soft-core Cortex-M0,keil uvision 5,vivado 14.4

    I am trying to implement a filter on my Cortex m-0 based FPGA

    the main idea of this project is to create an accelerator from my C code to reduce the execution time ..and since my accelerator…

    • Answered
    • over 4 years ago
    • Processors
    • Cortex-M / M-Profile forum
  • cmsis NVIC question.

    Setianian
    Setianian

    Hello, Everybody. I have several questions.

    1. Please See the NVIC_Type structure. I don't understand about why ISER,ICER,ISPR and ICPR use size of array 1( I think It can use just __IO uint32_t ISER; ), and what does RESERVEDs do???

    2. I would like…

    • Answered
    • over 4 years ago
    • Processors
    • Cortex-M / M-Profile forum
  • Use of SV Call & NMI Exceptions in ARM

    Arun
    Arun

    What is the use or application of SV Call and NMI Exception in ARM Cortex M0 .

    Is it someway related to RTOS?, if so , how?

    • Answered
    • over 3 years ago
    • Processors
    • Cortex-M / M-Profile forum
  • Interruptible-restartable instructions and Others

    Kilian Timmler
    Kilian Timmler

    Hi,

    As I have found in:

    Cortex-M0+ Devices Generic User Guide: 2.1.3. Core registers

    There is information about instruction behaviour during interrupts:

    "Interruptible-restartable instructions

    The interruptible-restartable instructions are LDM, STM,…

    • over 3 years ago
    • Processors
    • Cortex-M / M-Profile forum
  • Alignment in ARM?

    Natesh Raina
    Natesh Raina

    I could not clearly understand the alignment issues present in ARM. Sometimes I get BUS ERROR while running an assembly file but don't know how to resolve it. Some of the doubts:

    1. Is it better to store registers pairwise or individually on the stack…

    • Answered
    • over 3 years ago
    • Processors
    • Cortex-M / M-Profile forum
  • How long bitfields on which ARM?

    Øyvind Teig
    Øyvind Teig

    I need to be able to handle long bitfields as effectively as possible. Right now I need up to 64 bits in length.

    Are there instructions to set, clear and test individual bits in one cycle available for some of the architectures? Which? Particularly, will…

    • Answered
    • over 5 years ago
    • Processors
    • Cortex-M / M-Profile forum
  • Receiving Data Using the UART CORTEX M0

    Alejandra
    Alejandra

    Hi, I wanted to write a simple program that doesn’t use interrupts or check any of the possible error flags, but that shows a simple UART application for receiving data. This is a part of the code I wrote.


    int uart0Getch(void)

    {

      if (LPC_UART->LSR…

    • over 5 years ago
    • Processors
    • Cortex-M / M-Profile forum
  • Cortex-M0: What's included in the binary?

    wshen
    wshen

    Hi,

    I have two M0 projects.  The first project has only one assembly file startup.s.  The second project has one assembly file and one C file.  When I checked the memory map file of the second project (shown below), there are some extra object codes included…

    • Answered
    • over 5 years ago
    • Processors
    • Cortex-M / M-Profile forum
  • Need help to decide on which ARM board to go for?

    Chua Wee Liang
    Chua Wee Liang

    How do I decide which ARM board to go for if I am aiming to use it as a micro-controller to run sensors, actuators, motors, and solar panels? And I wish to power up the board via Li-ion battery pack.

    • Answered
    • over 5 years ago
    • Processors
    • Cortex-M / M-Profile forum
  • Indication to begin a program

    amrani joutei
    amrani joutei

    I need some indications to begin writing a program.

    Write a compare routine to compare 64-bits values , using only two instructions.

    Thanks for your indications !

    • over 5 years ago
    • Processors
    • Cortex-M / M-Profile forum
  • [Cortex-M0] Thumb mode & code size

    wshen
    wshen

    Hi,

    I'm somewhat confused with the Thumb mode code size.  My understanding is compiling with ARM mode will generate 32-bit instructions and compiling with Thumb mode will generate 16-bit instructions.  When I compile my Cortex-M0+ project (which should…

    • Answered
    • over 5 years ago
    • Processors
    • Cortex-M / M-Profile forum
  • Compute the division via shift instruction

    gapry
    gapry

    I write the code as following to evaluate the expression n = n / 2

    asrs r0, r0, #1

    But, I found the GCC will translate the expression n = n / 2 into the following instruction

    lsrs r1, r0, #31                                                                             

    adds r0, r1, r0

    asrs r0, r0, #1

    Why does it need to add the…

    • Answered
    • over 5 years ago
    • Processors
    • Cortex-M / M-Profile forum
  • Why or how does SysTick interrupt wakeup the processor?

    Yasuhiko Koumoto
    Yasuhiko Koumoto

    Hello all,


    I am confusing by SysTick interrupt behavior.

    Even if SysTick clock was processor clock, the processor woke up from Sleep or DeepSleep mode by SysTick interrupt.

    My understanding is that the processor clock will stop during WFI execution (i.e…

    • Answered
    • over 5 years ago
    • Processors
    • Cortex-M / M-Profile forum
  • Priority of Systick timer M0+

    Frederico
    Frederico

    Hello everyone,

    I'm using a MKL05Z32 of Freescale that has a Cortex-M0+. I would like to know the priorit of the Systick timer available to use.

    Thanks.

    Frederico

    • Answered
    • over 4 years ago
    • Processors
    • Cortex-M / M-Profile forum
  • How to get Cortex m3 soft core

    Vivek Jayakrishnan
    Vivek Jayakrishnan

    Hi,

    I needed to know where i could get arm cortex m3 soft core. Its for my masters thesis for which i'll be also using Keil uvision 5.

    Thanks in advance

    • Answered
    • over 4 years ago
    • Processors
    • Cortex-M / M-Profile forum
  • 1-cycle multiply, 64-bit result,  reciprocal?

    Sean Dunlevy
    Sean Dunlevy

    Can someone tell me how many extra gates the 1-cycle multiply uses? If there was a 64-bit result, how many more gates would be used? Can these gates also be used to find the reciprocal of a number so instead of divides, the coder multiplies the reciprocal…

    • Answered
    • over 4 years ago
    • Processors
    • Cortex-M / M-Profile forum
  • Inline Assembly Parameter example in Definitive guide to Cortex M0/M0+

    Vijayenthirans
    Vijayenthirans

    I was reading The Definitive Guide to ARMCortexM0/M0+ by Joseph Yiu 

    In Chapter 21, under section 21.4.2 GNU Compiler Collection, there is a example function with inline assembly operation:

    int my_mul_10(int DataIn)
    {
    
      int DataOut;
        __asm("   movs …
    • Answered
    • over 2 years ago
    • Processors
    • Cortex-M / M-Profile forum
  • why does LDR takes two cycle to be executed

    Haohao
    Haohao

    Hello everyone,

    I am currently working on a cortex-M0 microprocessor(LPC1114). I have looked through all the possible instruction descriptions but I did not find anyone of them explaining why some instructions takes two cycle to execute.

    For example,…

    • Answered
    • over 1 year ago
    • Processors
    • Cortex-M / M-Profile forum
<>