2016-11-19 01:27 PM
I wirk with the nucleo board stm32l053R8 and want to program it through the st-link utility
When i use the stm32 st-link utility to progam ( lobard connected and detected by the tool) , it detects the board ( flask size and core), but i have always this error''No elf loader found for this operation''so whan i want to download the . hex file, it doenst work.So do you have an idea of the problem, what can be worng ?Thanks #hardware #nucleo #st-link #swd #stm32l053r8-nucleo2016-11-19 02:19 PM
What address are you building your code at? 0x08000000 ?
Building it at zero probably isn't going to work. Make sure you have current ST-LINK Utilities, and firmware.2016-11-20 01:33 AM
thanks
I built at adress 0x08000000 , i have got the last version of the st-link utility and driver.I can upload binary file when i compile with mbed ( the board is recognized).i still have the problemThe steps :i launch he st-link utility, => oki do ( traget -> connect) => the board and stm32L053 recognizedand i have already the window with the error ''No elf loader found for this operation''Here is a copy of the screen i got10:29:18 : ST-LINK Firmware version : V2J28M1610:29:18 : Connected via SWD.10:29:18 : SWD Frequency = 4,0 MHz.10:29:18 : Connection mode : Normal.10:29:18 : Device ID:0x417 10:29:18 : Device flash Size : 64KBytes10:29:18 : Device family :STM32L0xx 64k10:29:18 : No elf loader found for this operation.10:31:21 : Can not read memory!I do not have change any thing on the board, do i have to re-install the st-link utility ?Thanks2016-11-24 12:34 PM
It is ok know, an error in st-link when we define the flash adress