cancel
Showing results for 
Search instead for 
Did you mean: 

Use Flash Loader with  a STM32L471 512K

Javier Gutierrez
Associate II
Posted on September 13, 2017 at 13:25

Hi,

We are developed a proyect with teh MCU STM32L471. We have downloaded the appliacation Flash Loader V2.9  but don't have the file .STMap for this MCU.

We have a questions:

- Is there a newer version of the Flash Loader that includes the STM32L471?

- Is it possible for the ST community to provide us with the .stmap file for the STM32L471 or how to do it ourselves?

Thanks in advance

Best regards

#flash-loader #stm32l471
16 REPLIES 16
Michael Ray
Associate II
Posted on November 16, 2017 at 16:08

Hi Javier,

I have the same question. Did you find an answer or a work around?

Thank you

Posted on November 16, 2017 at 16:50

ST needs to refresh these tools... Up vote the parent.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Posted on November 16, 2017 at 16:55

I agree. It would also be useful to have a description on how to create the .STmap files.

Posted on November 16, 2017 at 17:39

The STM32L471 512K uses the same die, with DEV_ID 0x0415

Try this .STMap

________________

Attachments :

STM32L4x_6_512K.STmap.zip : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006HyI0&d=%2Fa%2F0X0000000b5d%2FNa4dWrkUfB_s0DxWQDr5z2k0jg5ULEsQvEM_vAk9Wec&asPdf=false
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Posted on November 17, 2017 at 00:31

Thank you Clive. I get the same result with this .STMap file.

I did some more digging and it seems that most of the time the STM32L471 responds with 0xC0 0x79 in response to the initialize byte (0x7F) sent via the UART. The UART protocol show that it should only respond with 0x79 to the initial byte of 0x7F. I have managed to get it to work more reliably at 9600 baud but at times the mystery 0xC0 byte shows up as the first response.

Posted on November 17, 2017 at 00:49

It could be bus noise. Make sure to use even parity, ie 9600 8E1

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Posted on November 17, 2017 at 15:33

I had the same result on a Nucleo board with a STM32L476...the mystery continues.

I should note, that I have this working on several other HW configurations with a STM32L432 or STM32L496.

Imen.D
ST Employee
Posted on December 21, 2017 at 16:05

Hello,

I recommend you to use the new STM32CubeProgrammer software

tool delivers device-programming and firmware upgrade for STM32

microcontrollers following the instruction in the User Manual and System requirements:

https://community.st.com/0D50X00009XkVu4SAF

Best Regards

Imen

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen
Javier Gutierrez
Associate II

Hello,

Sorry to respond so late.

Thanks for your answers.

Now I am using the STMCube programer and it works fine, but I would like to know if there is any way to configure the status of the peripherals and GPIOs in bootloader mode?