• How to detect interrupt enabled flag in Cortex-M4 processor?

    Tilen
    Tilen

    Hello,

    I wanna know if global interrupts are enabled or not.

    In ARM compiler,__disable_irq() function returns 0 if interrupts were disabled or not, but on GCC based compiler, this function is declared as void.

    Which register should I take a look for bit…

    • Answered
    • over 5 years ago
    • Software Tools
    • Arm Compilers forum
  • regarding arm gcc compiler

    dhanpal singh
    dhanpal singh

    please help me resolving this issue during buil process

    arm-none-eabi-gcc -DUSE_STDPERIPH_DRIVER -I"H:/embedded systems/arm projects/template_project/inc" -I"H:/embedded systems/arm projects/template_project/../STM32F0xx_StdPeriph_Lib_V1.5.0/Libraries…

    • over 5 years ago
    • Software Tools
    • Arm Development Studio forum
  • Does anyone have any advice for learning how to program Cortex-M processors without an IDE?

    Jonathan Hill
    Jonathan Hill

    I'm interested in learning about what's under the hood, or what's hidden from you by an IDE, by which I mean, compiler, linker, makefiles - that type of thing. I have a few specific, if potentially misguided questions about what I think I should be doing…

    • over 5 years ago
    • Software Tools
    • Arm Development Studio forum
  • L6221E execution regions overlap error

    Vickey Khan
    Vickey Khan

    I am working on Keil uVision4 and just started learning ARM Cortex-M3 assembly. Executing a program but have this error during the build process:


    .\mycode1.axf: Error: L6221E: Execution region ER_RO with Execution range [0x00000000,0x00000038) overlaps…

    • my_code.txt.zip
    • over 5 years ago
    • Software Tools
    • Arm Development Studio forum
  • HELP with microcontroller MK10DN512ZVLL10

    niki
    niki

    Hello everyone, I'm an Italian student struggling with the first project on a microcontroller MK10DN512ZVLL10. Someone can support?

    • over 5 years ago
    • Software Tools
    • Arm Development Studio forum
  • What does No Cortex-M Device found in JTAG chain mean?

    Doug HIlton
    Doug HIlton

    When I try to execute the Blinky program

    On menu, select Debug -> Start/Stop Debug Session

    I get a dialog box:

    JLink - Cortex-M Error

    No Cortex-M Device found in JTAG chain.

    Please check the JTAG cable and the connected devices.

    The LPC-Link2 board is connected…

    • over 5 years ago
    • Software Tools
    • Arm Development Studio forum
  • Stack memory protection using MPU in CMSIS RTX RTOS

    techguyz
    techguyz

    Hi Experts,

    Does the stack memory protection or some other similar feature is deployed in the CMSIS RTX RTOS ?

    Regards,

    Teachguyz

    • Answered
    • over 5 years ago
    • Software Tools
    • Arm Development Studio forum
  • FVP_MPS: Write Byte Not Working for The 7-Segmenet Display?

    Meng-Yuan Huang
    Meng-Yuan Huang

    My simulation environment is: uVision 5.14 + Fast Models 9.2

    The fixed virtual platform is this one:

    C:\FastModelsPortfolio_9.2\examples\FVP_MPS\Build_Cortex-M4\FVP_MPS_Cortex-M4.sgproj

    I want to write a program to control the 7-segmenet displays. By Fast…

    • Answered
    • over 5 years ago
    • Software Tools
    • Arm Development Studio forum
  • ENTRY directive for assembly code

    Gopal Amlekar
    Gopal Amlekar

    Hi,

    I am trying to understand the startup code and assembly language (more for learning and not for a specific project) for ARM Cortex M4.

    I made a project in KEIL with just one assembly file and added a stack declaration and a vector table there. It was…

    • Answered
    • over 5 years ago
    • Software Tools
    • Arm Compilers forum
  • CMSIS DSP new functionality proposal

    Fran
    Fran

    CMSIS DSP is a great tool which allows Cortex-M4 devices to have a great app field range, even replacing some general purpose DSP sometimes. However I am missing some "simple" new functions that could enhance, even more, the use of it.

    For example…

    • over 5 years ago
    • Software Tools
    • Arm Development Studio forum
  • Flash programming by ram function - Cortex-M0

    lorenzo
    lorenzo

    Hi,

    I don't understand how to program the flash memory. While the program is running via a special sequence of buttons, a function that resides on RAM is called, so here I would to erase all flash and reprogram it through IAP.

    Now when I erase the Flash…

    • over 5 years ago
    • Software Tools
    • Arm Development Studio forum
  • Tools for RTX RTOS validation

    techguyz
    techguyz

    Hi Experts,

    I would like to remove and customize CMSIS RTX for the Cortex-M series micro-controllers to save some code space and may be possible optimization for hobby stuffs. For illustration, removing an RTX OS feature which I am not going to use. In…

    • Answered
    • over 5 years ago
    • Software Tools
    • Arm Development Studio forum
  • RTX MainThread def use case

    techguyz
    techguyz

    Hi Experts,

    I went through the CMSIS RTX code for Cortex-M and bit curious on the features & configurations.

    In that I could see osFeature_MainThread  macro is defined for the requirement of main thread feature.

    What is the practical use case (merits…

    • Answered
    • over 5 years ago
    • Software Tools
    • Arm Development Studio forum
  • Engineering inside RTX RTOS

    techguyz
    techguyz

    Hi Experts,

    I went through the code  flow of CMSIS RTX RTOS. I am excited to know the real engineering done on building the RTX RTOS towards Cortex Microcontroller series. It can be some parameters like task switch time, interrupts latency time, etc. Any…

    • over 5 years ago
    • Software Tools
    • Arm Development Studio forum
  • Speciality of CMSIS RTX RTOS

    techguyz
    techguyz

    Hi Experts,

    What is the special feature in the CMSIS ARM RTX RTOS compared to other commercial RTOS which makes the integration smoother and gives best performance ?

    • Answered
    • over 5 years ago
    • Software Tools
    • Arm Development Studio forum
  • Procedure for Init GPIO

    Nguyen Nhat Minh
    Nguyen Nhat Minh

    Hi guy,

    I'm using ARM STM32F103RC, Cortex M3.

    when I compiler the code with this order:

      //GPIO structure used to initialize port

      GPIO_InitTypeDef GPIO_InitStructure;

       

        //Enable clock on APB2 pripheral bus where button…

    • Answered
    • over 5 years ago
    • Software Tools
    • Arm Development Studio forum
  • How can I use SVC interrupts from C++?

    Anthony Wieser
    Anthony Wieser

    I'm using the gcc toolset, and had hoped to be able use this functionality, however all of the documentation seems to state superseded or suspended.

    ARM Information Center

    I'm trying to target an STM32F4 processor.

    Any pointers to how to do this…

    • over 6 years ago
    • Software Tools
    • Arm Development Studio forum
  • How to interface CMSIS library in eclipse based IDE ?

    Amit Kumar
    Amit Kumar

    Hi

    I am unable to find any documentation on how to add library in eclipse based IDE. Presently I am using Freescale's CodeWarrior and I want to add the CMSIS's DSP Library in that.  Thanks in advance

    Kind Regards

    Amit Kumar

    • Answered
    • over 6 years ago
    • Software Tools
    • Arm Development Studio forum
  • CFFT AND RFFT using CMSIS DSP library

    jineshwar
    jineshwar

    Hi,

    I am currently trying to use the CMSIS DSP library for finding the frequency bin. I have used both  CFFT and RFFT function to compute the frequency bin of input signal.

    My input data is of 128 samples which content only real part (complex part…

    • over 6 years ago
    • Software Tools
    • Arm Development Studio forum
  • Can PC debug CMx-based MCU without debugger ?

    stevens.wang
    stevens.wang

    On ARM official website, I saw some description about debug method by Freescale Vybrid.

    It sounds like below (No JTAG or SW connection):

      [PC Host]  <--- USB wire ---> [Freescale Vybrid]

    So it seems there is a bridge inside Vybrid, which…

    • Answered
    • over 6 years ago
    • Software Tools
    • Arm Development Studio forum
  • Free ARM Cortex-M3 Simulation Software?

    Alban Rampon
    Alban Rampon

    Hello,

    We have received a question on ARM Facebook I think this group could answer.

    Is there any ARM Cortex-M microcontroller simulator available for free?

    The poster seemed most interested about Proteus Virtual System Modelling I believe.

    • Answered
    • over 6 years ago
    • Software Tools
    • Arm Development Studio forum
  • Keil + Cortex-M0 - Training recommendations?

    Richard Rolston
    Richard Rolston

    I am a software engineer moving to an embedded firmware project using Keil and the Cortex-M0.  Southern California would be the ideal location to attend the training but I can travel if necessary.  Any online classes would work too.

    • Answered
    • over 6 years ago
    • Software Tools
    • Arm Development Studio forum
  • Getting Started ARM STM32F4 CMSIS project

    PA3040
    PA3040

    Dear All,

    Can I have the step by step, how to create a ( CMSIS library ) project using uVision 4 Keil IDE
    My Project board is STM32F407 vg discovery board

    Actually I need following  instructions acceptable project

    GPIO_InitTypeDef GPIO_InitStruct;

    Please…

    • over 6 years ago
    • Software Tools
    • Arm Development Studio forum
  • Compile error for core_cm3.c

    John Wellbelove
    John Wellbelove

    I'm currently trialing the Keil uVision compiler V5 with the ST demo board MCBSTM32 (uses an STM32F103R8).

    The Keil IDE indicates that a set of the inline assembler definitions are incorrect.

    __ASM uint32_t __get_PSP(void)

    __ASM void __set_PSP(uint32_t…

    • over 6 years ago
    • Software Tools
    • Arm Development Studio forum
  • ARM GCC 4.7 tool chain and lo power state

    Neo
    Neo

    Hi

    I am using a ARM GCC tool chain 4.7

    My platform is a Cortex M3 based platform and we use a low power state

    In this low power state

    voltage of CM3 is reduced to 1.08 and all peripherals except RTC is put in self retaintion.

    RTC and a GPIO pin are only 2…

    • over 6 years ago
    • Software Tools
    • Arm Development Studio forum
  • View related content from anywhere
  • More
  • Cancel
<>