Posts by satheesh

    Hi,

    I am working on ARM Cortex M4 development board and using keil IDE for generating .axf output file. Instead of using using keil for flashing the generated outpu file(axf), i would like to use j-link commander.

    But whenever i try to program the M4 with the j-link commander(SWD) using loadfile, i am getting error as "File is of unknown/supported format". I understood that using J-link commander with loadfile, we can only program .hex, .bin, .mot,.srec.

    Is there any tool available to program the Cortex M4 with .axf file?? Please let me know

    Thanks and Regards,
    Satheesh Konduru

    Hi,


    I am working on ARM Cortex M4 development board provided by Vorago technologies. I am using keil IDE and connecting the target via J-link OB.


    At some instances of flashing the program/Entering into debug mode, the keil is becoming unresponsive.


    Currently "Run application at startup" is unchecked. Also under 'connect & reset options', connect is "Normal" , Reset is "Normal". Reset after connect is checked


    Also I have tried other 'connect & Reset options'


    Thanks

    Hi,

    I am working on ARM Cortex M4 development board provided by Vorago technologies. I am using keil IDE with "debug Jlink/J-trace Cortex".

    In the driver setup setting, there is no IDCODE getting detected and when I try to flash there is an error popping up with "No Cortex-M SW Device found".

    I tried running RTT viewer, the error in RTT is viewer is "Could not connect to target"

    When I try to connect to using j-link commander, I can see that device is powered (VTref=3.3V) but still when the try to establish connection there is an error "Cannot connect to target"

    How to resolve it?

    Hi,

    I am working on ARM Cortex M4 development board provided by Vorago technologies. I am using keil IDE with Jlink/J-trace Cortex. When I enable the "Trace"(look in attachement for settings), the debugging session is getting terminated with an error "Trace HW not present" followed by "Error: Target DLL has been cancelled. Debugger Aborted!". Also, find the j-link log file in the attachment

    Hi Nino,
    Thanks for the suggestion. I made the changes in ''Run time environment'. After making the additional changes at 'Public const' and '_sys_exit' (can refer to attachments), still i am getting the follwing errors


    *** Using Compiler 'V5.06 update 6 (build 750)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin'
    Build target 'Hello'
    linking...
    .\Objects\Hello World.axf: Error: L6218E: Undefined symbol HAL_ADC_Init (referred from .\objects\main.o).
    .\Objects\Hello World.axf: Error: L6218E: Undefined symbol HAL_DAC_Init (referred from .\objects\main.o).
    .\Objects\Hello World.axf: Error: L6218E: Undefined symbol HAL_DAC_Reset (referred from .\objects\main.o).
    .\Objects\Hello World.axf: Error: L6218E: Undefined symbol HAL_Uart_Init (referred from .\objects\main.o).

    Not enough information to list image symbols.
    Not enough information to list load addresses in the image map.
    Finished: 2 information, 0 warning and 23 error messages.
    ".\Objects\Hello World.axf" - 23 Error(s), 0 Warning(s).
    Target not created.
    Build Time Elapsed: 00:00:00

    Hi,
    I am working on ARM Cortex M4 processor with Keil MDK. While compiling the project, I am getting the following error. From the Error I understood that there is a multiple definition and I need to get rid of one. Can someone please tell me what is the possible solution for the error and how to implement it.

    Build started: Project: Hello World
    *** Using Compiler 'V5.06 update 6 (build 750)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin'
    Build target 'Hello'
    linking...
    .\Objects\Hello World.axf: Error: L6200E: Symbol __stdout_name multiply defined (by C:\Keil_v5\ARM\ARMCC\Bin\..\lib\armlib\c_w.l(sys_io.o) and .\objects\segger_rtt_syscalls_keil.o).
    .\Objects\Hello World.axf: Error: L6200E: Symbol __stderr_name multiply defined (by C:\Keil_v5\ARM\ARMCC\Bin\..\lib\armlib\c_w.l(sys_io.o) and .\objects\segger_rtt_syscalls_keil.o).
    .\Objects\Hello World.axf: Error: L6200E: Symbol _sys_close multiply defined (by C:\Keil_v5\ARM\ARMCC\Bin\..\lib\armlib\c_w.l(sys_io.o) and .\objects\segger_rtt_syscalls_keil.o).
    .\Objects\Hello World.axf: Error: L6200E: Symbol _sys_ensure multiply defined (by C:\Keil_v5\ARM\ARMCC\Bin\..\lib\armlib\c_w.l(sys_io.o) and .\objects\segger_rtt_syscalls_keil.o).
    .\Objects\Hello World.axf: Error: L6200E: Symbol _sys_flen multiply defined (by C:\Keil_v5\ARM\ARMCC\Bin\..\lib\armlib\c_w.l(sys_io.o) and .\objects\segger_rtt_syscalls_keil.o).
    .\Objects\Hello World.axf: Error: L6200E: Symbol _sys_istty multiply defined (by C:\Keil_v5\ARM\ARMCC\Bin\..\lib\armlib\c_w.l(sys_io.o) and .\objects\segger_rtt_syscalls_keil.o).
    .\Objects\Hello World.axf: Error: L6200E: Symbol _sys_open multiply defined (by C:\Keil_v5\ARM\ARMCC\Bin\..\lib\armlib\c_w.l(sys_io.o) and .\objects\segger_rtt_syscalls_keil.o).
    .\Objects\Hello World.axf: Error: L6200E: Symbol _sys_read multiply defined (by C:\Keil_v5\ARM\ARMCC\Bin\..\lib\armlib\c_w.l(sys_io.o) and .\objects\segger_rtt_syscalls_keil.o).
    .\Objects\Hello World.axf: Error: L6200E: Symbol _sys_seek multiply defined (by C:\Keil_v5\ARM\ARMCC\Bin\..\lib\armlib\c_w.l(sys_io.o) and .\objects\segger_rtt_syscalls_keil.o).
    .\Objects\Hello World.axf: Error: L6200E: Symbol _sys_write multiply defined (by C:\Keil_v5\ARM\ARMCC\Bin\..\lib\armlib\c_w.l(sys_io.o) and .\objects\segger_rtt_syscalls_keil.o).
    Not enough information to list image symbols.
    Not enough information to list load addresses in the image map.
    Finished: 2 information, 0 warning and 10 error messages.
    ".\Objects\Hello World.axf" - 10 Error(s), 0 Warning(s).
    Target not created.