• Migrating from armcc to armclang causes section type conflict

    embedded.kyle
    embedded.kyle

    I am trying to migrate an existing project from armcc to armclang using Keil. Most of the new errors generated by simply switching the compiler have been easily cleaned up with help from their migration guides. But I cannot seem to fix the following error…

    • over 1 year ago
    • Software Tools
    • Arm Compilers 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
  • how to use the 16MB SDRAM on keil MCB 1800?

    Shreyas007
    Shreyas007

    I wanted to use the 16MB SDRAM on the keil mcb 1800 board.

    I didn´t find any examples on how to do it?

    Do I have to make any physical connections to use it? 

    It would be great if someone can provide the steps for it.

    Thanks

    • over 1 year ago
    • Software Tools
    • Keil forum
  • Compiled object size

    Karolis
    Karolis

    I have a few source files in which some const variables are required (same for all of those source file).

    In the provided framework there is a .hpp header file that includes definitions (not only declarations) of those variables and this header is included…

    • over 4 years ago
    • Software Tools
    • Arm Compilers 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
  • Debug an INVPC exception

    safeg
    safeg

    Hi. I have an INVPC exception that I am trying to debug on a Cortex M4 STM32. The stack contains the following values:

    0x08003555 xPSR
    0x08006824 PC
    0x08006824 LR
    0x00000000 R12
    0x08003341 R3
    0x08006824 R2
    0xFFFFFFFD R2
    0x0000FFFF R0

    The PC and LR both point…

    • over 2 years ago
    • Software Tools
    • Keil forum
  • CANNOT ENTER INTO DEBUG MODE

    MAHESH CH
    MAHESH CH

    hi

      i am using STM32L432KCU6 controller .while trying to flash the code i am getting the error "Cannot enter into debug mode" and also cannot access memory.

    what can be the issue? i have mounted 10 K pull down resistor to BOOT0 pin of controller…

    • over 1 year ago
    • Software Tools
    • Keil forum
  • DS-5 bare metal wait error after run "debug"

    CKO
    CKO

    I tried to run the bare metal script ("Hello World ANSI C Project - ARM Compiler 5 DS-5 built-in") on DS-5 debug software. However, it hangs on somewhere on "wait" commands as below which is not yet reached the breakpoint on main function. Notes, it could…

    • over 1 year ago
    • Software Tools
    • Arm Development Studio forum
  • DS-5 Breakpoints not working on code loaded from QSPI

    bsnGuy
    bsnGuy

     have a project that I built/debugged just fine when I connect to my hardware (Intel Cyclone V FPGA on a custom board). Now, when I put my executable, the same one with debugging symbols and all, into a QSPI flash memory and boot it, I would expect I could…

    • over 1 year ago
    • Software Tools
    • Arm Development Studio forum
  • Problems with placing a variable in a named section with scatter-loading

    Manuel Malagon
    Manuel Malagon

    Hello

    I'm having problems placing a variable in a named section with scatter-loading. I'm following Placing functions and data at specific addresses and I can actually see the new section in the map file but then the code is not working:

    I have…

    • over 1 year ago
    • Software Tools
    • Arm Compilers forum
  • Memory used for CMSIS API's implementation?

    vasanthmp
    vasanthmp

    I would like to know where is the CMSIS SW stored with respect to Cortex-M3 Processor. Will it be stored inside the vendor specific on-chip flash present in MCU?

    • over 1 year ago
    • Software Tools
    • Keil forum
  • Keil 5 MDK ARM Scatter fil

    Angamuthu
    Angamuthu

    Hi, 

    I'm using keil5 MDK ARM for my project development. 

    I want to use custom scatter file for placing my constitution variable and function in pre defined memory section. 

    Please provide step by step procedure for this application and give some example…

    • over 2 years ago
    • Software Tools
    • Keil forum
  • DS-5 reports "ERROR(TAD11-NAL23)"

    amao
    amao

    After I have enabled MMU, I want to write a value to a specify address by DS-5. The DS-5 reports an error as following:

    memory set_typed EL3:0x0000000080006000 (unsigned int) (0x1)
    ERROR(TAD11-NAL23):
    ! Failed to write 4 bytes to address EL3:0x0000000…

    • Answered
    • over 2 years ago
    • Software Tools
    • Arm Development Studio forum
  • KEIL MDK external Flash templates (FLM)

    SpiderKenny
    SpiderKenny

    Hi everyone.

    i'm building some prototype devices based on a reference design from a client of mine. 

    The reference design uses an AP8064 Audio SoC which has a Cortex M3 core.

    The AP8064 does not have any on-board flash. The dev-kit and the reference…

    • over 2 years ago
    • Software Tools
    • Keil forum
  • DS-5 fails to view Device Memory View

    MUHAMMAD ATEEB AKBER
    MUHAMMAD ATEEB AKBER

    I am using DS-5 v5.27.1 and using ARM SGI-575 as development platform. platform have a range for RAM, serial and ethernet devices. At kernel/code level I have mapped all memories and able to read/write in these memory ranges but in command window/memory…

    • Answered
    • over 2 years ago
    • Software Tools
    • Arm Development Studio forum
  • How can I print memory usage information in ARM DS-5 Console?

    Rui
    Rui

    Hello, Does anyone know how I can print the memory usage information in ARM DS-5 Console?

    Like the image below, Many Thanks.

    • over 2 years ago
    • Software Tools
    • Arm Development Studio forum
  • ARM scatter file symbols not defined?

    liqiyang1908
    liqiyang1908

    In my scatter file, I have a memory region named TCM_COPY,

    In my C file, i am trying to extern the region_name like,

    extern unsigned int Image$$TCM_COPY$$Base.

    But when I compile that C file, the ARM compiler generates an error;

    L6218E: Undefined symbol…

    • over 3 years ago
    • Software Tools
    • Arm Compilers forum
  • Debugging memory issues ARM7, Keil µVision 4

    stephen13
    stephen13

    I am having some issues trying to debug what appear to be some very strange behaviors. For example, we have:

    static const char* LOG_FORMAT = "0x%02x,%.5f,";

    and the pointer changes for no obvious reason. Sometimes to garbage, sometimes to other…

    • over 3 years ago
    • Software Tools
    • Keil forum
  • What's mean that CMD440-COR182-TAD23-NAL29

    amaolei
    amaolei

    Hi All,

    When I was debugging arm926ej-s using DS-5, DS-5 stoped as soon as enable MMU and output CMD440-COR182-TAD23-NAL29.

    What mean is it?

    • over 3 years ago
    • Software Tools
    • Arm Development Studio forum
  • Global variable not initialized by __main() function

    Coulibaly
    Coulibaly

    Hi.

    I hope this is the right place to ask to open this question.

    I define an initialized variable in my C code, let's say:

    ...

    int MyVariable = 0xDEADABBA;

    ...

    Using a scatter file, I instruct the arm linker to locate my variable "MyVariable" at address…

    • Answered
    • over 4 years ago
    • Software Tools
    • Arm Compilers forum
  • How to specify both image address and load address on armlink

    xiaofan
    xiaofan

    Hello,

    I want copy my RO-data and vector table to RAM, and run in RAM complete.
    I have two question:

    1.  In my.sct file
        I specify vector table(RESET AREA) image address at 0x20000000,
        How to specify vector table load address at 0x08000000?

    2.  In boot.c f…

    • over 2 years ago
    • Software Tools
    • Arm Compilers forum
  • Memory management issue with Keil uVision4 and Arm cortex-M4 uC

    Midou
    Midou

    Hello, 

    so I was working on Tiva C launch pad and coding using this environment, I noticed that this compiler has major difference from others so I will list some of the problems I faced as questions hoping someone would answer : 

    1- In case I need to use…

    • over 3 years ago
    • Software Tools
    • Keil forum
  • ARM linker v5.02 error L6286E

    nicolas vassal
    nicolas vassal
    Note: This was originally posted on 6th March 2013 at http://forums.arm.com

    Hello,
    I'm trying to compile some software for a cortexA8 core and during link I get the following error:

    ARM Linker: Execution interrupted due to an illegal storage access.
    …
    • over 7 years ago
    • Software Tools
    • Arm Compilers forum
  • __scatterload function in ARM c library.

    Xinwei
    Xinwei

    Hi,

    According to ARM document pasted below, __main always calls __scatterload. But I got a .elf file whose dissambly code doesn't contain the __scatterload function.  Any idea in what situation the __scatterload will not be compiled and used ? …

    • Answered
    • over 4 years ago
    • Software Tools
    • Arm Compilers forum
  • View related content from anywhere
  • More
  • Cancel
>