• How to make Keil MDK listening an IP port and exchange information with other application

    zhyihui2100
    zhyihui2100

    Is there any way to make Keil MDK exchange information with other windows application through socket ?

    I want to develop a debug software. so I need the MDK to send some information (like variable value) to a debug tool (like eclipse) and receive debug…

    • Answered
    • over 1 year ago
    • Software Tools
    • Keil forum
  • WRPERR when set breakpoints

    rPulvi
    rPulvi

    The scenario is STM32L0 (ST Nucleo evaluation board) and custom firmware.

    When I execute the code in debug mode and it stops at main function, the value of FLASH->SR is 0x0000000C, and it looks good for me.
    Now, without running the code, if I simply…

    • over 1 year ago
    • Software Tools
    • Keil forum
  • led blinking problem in stm32f401re NUCLEO64(newbie)

    ykn
    ykn

    hi,

     earlier i was working on PIC controller, now i am shifting to ARM and i am having stm32f401re NUCLEO64 evaluation board.

    development tool chain i am using is Keil arm mdk , keil version 5. i found some notes for blinking the led on board and i followed…

    • over 1 year ago
    • Software Tools
    • Keil forum
  • Can I code STM32F103RBT6 into Assembly Langauage rather than C or C++?

    Zawar Malik
    Zawar Malik

    Hi Everyone!

    I have STM32F1xx family microcontroller. I've coded some projects into C language. Now, I want to code this microcontroller into Assembly laguage.

    If Yes, I can then please give an example code or any related information. 

    Thanks

    • Answered
    • over 1 year ago
    • Software Tools
    • Keil forum
  • Secondary UART bootloader example

    James Kent
    James Kent

    I'm looking for some example code to write a secondary UART based bootloader, my design has an external supervisor/watchdog IC on the board, this means that for the initial programming I need to disable this with a jumper.

    Currently the unit is programmed…

    • over 1 year ago
    • Software Tools
    • Keil forum
  • fwrite of "cnt < 4-byte" data results in ARM_Flash_ProgramData (cnt = 4-byte)

    ao.h
    ao.h

    Problem Code:

    /* main.c */
    uint8_t  testBuf[] = {1, 2, 3, 4, 5},
    
    FILE * fwr = fopen("tst1.txt", "w");
    fwrite(testBuf, sizeof(uint8_t), sizeof(testBuf), fwr);
    fflush(fwr);
    fclose(fwr);
    
    /* flash_cmsis_driver.c */
    int32_t ARM_Flash_ProgramData…

    • Answered
    • over 1 year ago
    • Software Tools
    • Keil forum
  • Is ARM Keil IDE case-sensitive for all ARM assembly instructions? Is it indentation-sensitive?

    Shyamal
    Shyamal

    Is ARM Keil IDE case-sensitive for all ARM assembly instructions? Is it indentation-sensitive?

    • over 1 year ago
    • Software Tools
    • Keil forum
  • PWM generation problem in STM32F446ZET

    NMJ
    NMJ

    Hello friends

    I am trying to generate PWM using TIM4 in STM32F446ZE, But There is no proper output from the controller

    Here i am sharing my code with you,   please help me out

    Counter register increments properly

    Specifications

    CLK_FREQ =16Mhz (internal…

    • Answered
    • over 1 year ago
    • Software Tools
    • Keil forum
  • Keil Download Program Error

    Furkan
    Furkan

    Hi,

    I got a discovery kit .(stm32l discovery kit) when i try to load some basic 

    blinky code to my processor -  after the compiling -  I got some error mesage ; 

    "No target connected " and "Error : Flash download failed target dll has been canceled "…

    • Answered
    • over 1 year ago
    • Software Tools
    • Keil forum
  • Problem with GCC and string.h and stdlib

    nehal nehal
    nehal nehal
    Note: This was originally posted on 8th October 2008 at http://forums.arm.com

    Hi everyone,

    i have following trouble with keil arm gnu compiler. i have recently moved to gnu and now i am having hard time to set it up.

    description of problem: i am using real…
    • over 7 years ago
    • Software Tools
    • Keil forum
  • where is the syntax for .sct (scatter file content) defined?  Did ARM originate this file type?

    Piero Generale
    Piero Generale

    Automatically generated when I create a new project with Keil:

    my.sct

    LR_IROM1 0x00400000 0x00020000  {    ; load region size_region

      ER_IROM1 0x00400000 0x00020000  {  ; load address = execution address

       *.o (RESET,…

    • Answered
    • over 4 years ago
    • Software Tools
    • Keil forum
  • how i can store/erase C variable in the internal non volatile memory of lpc2148?

    Durlabhsoni
    Durlabhsoni

    I m already read its datasheet but i unable to do this ......please help me to understand.

    • over 4 years ago
    • Software Tools
    • Keil forum
  • HI everyone, i'm trying to do an a SPI communication between the board STM32F746 and the MAX7219 to controller a matrix. i'm working in keil uvision 5 and programming without libraries, DMA, CMSIS or other. i programm through registers putting '

    stm32f746zgtx
    stm32f746zgtx

    HI everyone, i'm trying to do an a SPI communication between the board STM32F746 and the MAX7219 to controller a matrix. i'm working in keil uvision 5 and programming without libraries, DMA, CMSIS or other. i programm through registers putting '1'. i…

    • over 1 year ago
    • Software Tools
    • Keil forum
  • LPC2148 timer0 not working as expected

    kamalpancholi
    kamalpancholi

    I am new to ARM and I am trying to produce 1 second delay using timer 0 in LPC2148. But in debug session in Keil, it is giving delay of 4 seconds with 15MHz and 5 seconds with 12 MHz. What is the issue ?

    Here is my code.

    #include <lpc214x.h>
    int main…

    • over 1 year ago
    • Software Tools
    • Keil forum
  • FCARM doesn't create any output file

    hgl
    hgl

    I am using KEIL µVision 4.74.0.0 with ARM compiler 5.03.0.76 on Windows 10.

    When I put my web src files into fcarm.exe, I get absolutely no output, and also no error message. The tool calculates quite some time (maybe 10 s or so), and then outputs…

    • over 1 year ago
    • Software Tools
    • Keil forum
  • Flash Download failed - "Cortex-M0+"

    julienM
    julienM

    Hello,

    I am currently working on keil, with NUCLEO L053R8 from STMicroelectronics, and I face this issue

              (Error: Flash Download failed  -  "Cortex-M0+")

    since I have begun to use ST32CubeMX.

    I have already tried to :

       - change com port…

    • over 1 year ago
    • Software Tools
    • Keil forum
  • Use a GLCD on uKeil and STM32F7

    stm32f746zgtx
    stm32f746zgtx

    Hello everyone, I've a question about how to use the LCD 128x64?, i tried but i can not displayed something. I'm using the STM32F746zg and uVision Keil.i'm programming through regsiter, putting 1 in to the GPIO registers. I would like that someone please…

    • Answered
    • over 1 year ago
    • Software Tools
    • Keil forum
  • Could not stop ARM device!

    Alessandro
    Alessandro

    Hello.

    I am trying to load my code into a LPC2129 with ULINK2 and appears an error message saying: "Could not stop ARM device! Please check the JTAG cable". I tried to change the JTAG clock to 100 kHz and did not work. I tried with another ULINK2 but nothing…

    • over 1 year ago
    • Software Tools
    • Keil forum
  • Support for std::thread and other synchronization primitives, e.g. std::mutex...

    lt72
    lt72

    I would like to know if any of the compilers/libraries for Cortex-M support the std::thread type (from the <thread> header) or if there is any plan to support that in the near future. I am interested in both Keil MDK / DS-5 or GCC for ARM. Thank you!…

    • Answered
    • over 3 years ago
    • Software Tools
    • Keil forum
  • How to access local C variables in Inline-Assembly?

    Muzahir
    Muzahir

    How do I access local C variables in Keil using ARM inline Assembly?

    • over 3 years ago
    • Software Tools
    • Keil forum
  • Recovering from a hard fault cortex M3

    mike morgen
    mike morgen

    Hi,

    I'm new into  mixing C and ASM on Cortex M3 using keil, here is the question,

    Suppose that a function tries to access some memory that is not in the system, something like this, the system crashes with the hardfualt exception, so my question is…

    • Answered
    • over 2 years ago
    • Software Tools
    • Keil forum
  • Create standalone function to be loaded into Code memory

    RSB
    RSB

    I have an application, for an 8051 device, that accepts commands, acts on them, and provides a reply.  I want to implement a command that will load code (for an new function) into a reserved section of Code memory so that the code will run when a different…

    • Answered
    • over 1 year ago
    • Software Tools
    • Keil forum
  • List of configuration options in .uvprojx and .uvoptx files (Keil uVision 5)

    Bojan Potocnik
    Bojan Potocnik

    Hello!

    As an author of CMake <> uVision Synchronizer project, I am trying to find a list of all possible (or at least all mandatory) configuration options in uVision5 Project File (.uvprojx) and uVision5 project options (.uvoptx) XML files.

    Now the…

    • over 1 year ago
    • Software Tools
    • Keil forum
  • Getting Error " As not target connected" in STM32 controller

    Toolchain missing
    Toolchain missing

    Hi,

    I have generate led blinking project for MDK ARM Keil uvision5.25 using STM32CUbeX IDE. 
    Project is compiled successfully with 0 error. 
    Getting Error " As not target connected" when i try to load the firmware as per attached images. 
    Connecting…

    • over 1 year ago
    • Software Tools
    • Keil forum
  • Getting error L6050U in Keil for building project of STM32L151CB microcontroller

    Toolchain missing
    Toolchain missing

    Hi,

    I am using Keil uvision version 5.25  for development of project using STM32L151CB ARM cortex M3 microcontroller. As i am beginner for this. So i have download firmware of RAK5205 development board from git. But i am getting error "Error .\Objects…

    • over 1 year ago
    • Software Tools
    • Keil forum
  • View related content from anywhere
  • More
  • Cancel
<>