cancel
Showing results for 
Search instead for 
Did you mean: 

nucleo board with stm32l053R8 and st-link utility

fabienne
Associate II
Posted on November 19, 2016 at 22:27

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-nucleo
3 REPLIES 3
Posted on November 19, 2016 at 23:19

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.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
fabienne
Associate II
Posted on November 20, 2016 at 10:33

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 problem

The steps :

i launch he st-link utility,  => ok

i do ( traget -> connect) => the board and stm32L053 recognized

and i have already the window with the error 

''No elf loader found for this operation''

Here is a copy of the screen i got

10:29:18 : ST-LINK Firmware version : V2J28M16

10: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 : 64KBytes

10:29:18 : Device family :STM32L0xx 64k

10: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 ?

Thanks

fabienne
Associate II
Posted on November 24, 2016 at 21:34

It is ok know, an error in st-link when we define the flash adress