This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

.axf file not generated in keil 5.22

Hello all,

I am using STM32L053 Nucleo board. I have C code for LCD interfacing with STM board. When I am compiling my program it gives error in .axf file "Can not find argument Reset Handler". .axf file location is in objects/LCD_2.axf & that file is also not generated. So is there any help to solve this issue..

Parents
  • As the error points out, you would have to put "Reset Handler" in startup file.

    Genereally, it is written liek below:

    Reset_Handler PROC EXPORT Reset_Handler [WEAK] IMPORT __main LDR R0, =__main BX R0 ENDP

    I would recommend to play with couple of examples from Pack Installer to see the process

Reply
  • As the error points out, you would have to put "Reset Handler" in startup file.

    Genereally, it is written liek below:

    Reset_Handler PROC EXPORT Reset_Handler [WEAK] IMPORT __main LDR R0, =__main BX R0 ENDP

    I would recommend to play with couple of examples from Pack Installer to see the process

Children
No data