• 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
  • Modbus port is not getting responded when there is an http request with malformed URL.

    Navaneeth
    Navaneeth

    The remote web server does not respond after it receives a URL consisting of a long string of '%' characters (refer Nessus Plugin ID 11155).
    After system recieves the malformed URL with long string of '%' character, the callback function corresponding…

    • over 1 year ago
    • System
    • Embedded 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
  • bit addressable arrays in ARM9

    sgupta sgupta
    sgupta sgupta
    Note: This was originally posted on 5th January 2009 at http://forums.arm.com

    plz help me by telling hw we can use bit addressable arrays menas arrays that can be used bitwise..while programming through keil microvision , is there any option available…
    • Answered
    • over 7 years ago
    • Processors
    • Classic processors forum
  • does ARM Cortex-M0 DesignStart support SWD debugger?

    sieg70
    sieg70

    I am studying the ARM Cortex-M0 DesignStart. I found there are debug port SWDIOTMS and SWCLKTCK in the port list of cmsdk_mcu.v, and there are CPU options which defines the CPU's feature.

    I configured the parameter DBG = 1 in the cmsdk_mcu.v Line37…

    • Answered
    • 10402.zip
    • over 4 years ago
    • DesignStart
    • DesignStart 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 5 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
  • Modify SP register and PC register in Cortex-M1 using Keil

    Juanea7
    Juanea7

    Hi,

    I'm planning to do a bootloader for a Cortex-M1 processor but i'm having serious problems.

    First of all, the Keil says it expect a ")" when writing this type of inline assembly:

            __asm__ __volatile__("mov sp,%0\n\t"
                    "bx…
    • Answered
    • over 1 year ago
    • Processors
    • Cortex-M / M-Profile 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
<>