cancel
Showing results for 
Search instead for 
Did you mean: 

STM32CubeProgrammer Failure on STM32L4 with Error: Operation exceeds memory limits

rkaushal
Associate

Hi,

I am trying to flash MCU firmware on my STM32L4A6VGTx MCU in bootloader mode over UART using cube programmer v2.17.0. I tried through UI and command line but in both the cases it if failing with error- Operation exceeds memory limits.

Please refer output below and screen shot as well as logs attached.

=======================================================================

C:\Program Files\STMicroelectronics\STM32Cube\STM32CubeProgrammer\bin>STM32_Programmer_CLI.exe -c port=COM5 br=115200 -e all -w C:\Users\GUR11373\Downloads\LMU-LTE-416-86x-Rev11746.bin 0x08000000

      -------------------------------------------------------------------

                       STM32CubeProgrammer v2.17.0

      -------------------------------------------------------------------

 

Serial Port COM5 is successfully opened.

Port configuration: parity = even, baudrate = 115200, data-bit = 8,

                     stop-bit = 1.0, flow-control = off

Activating device: OK

Board       : --

Chip ID: 0x461

BootLoader protocol version: 3.1

Device name : STM32L496xx/STM32L4A6xx

Flash size  : 1 MBytes (default)

Device type : MCU

Revision ID : --

Device CPU  : Cortex-M4

 

Mass erase ...

 

Mass erase command correctly executed.

Note: if there's any flash protection, it will not be erased.

 

 

Memory Programming ...

Opening and parsing file: LMU-LTE-416-86x-Rev11746.bin

  File          : LMU-LTE-416-86x-Rev11746.bin

  Size          : 551.46 KB

  Address       : 0x08000000

 

 

Erasing memory corresponding to segment 0:

Error: Operation exceeds memory limits

 

 

Error: failed to erase memory

 

C:\Program Files\STMicroelectronics\STM32Cube\STM32CubeProgrammer\bin>

=======================================================================

 

I got to know there are some changes in address ranges in MCU database config files like the one provided on link- https://community.st.com/t5/stm32cubeprogrammer-mcus/stm32cubeprogrammer-failure/td-p/636609. However, this does not apply to out STM32L4A6 board.

 

Please provide a similar fix for my board referring to STM32_Prog_DB_0x461.xml.

Looking forward for the early resolution of same.

Thanks

Ramakant

2 REPLIES 2
Imen.D
ST Employee

Hello @rkaushal and welcome to the Community,

Your request is escalated internally (ticket number: 197790) to take a closer look at the problem.

I'll make sure to post any updates here as soon as possible.

(PS: Ticket number: 197790 is an internal tracking number and is not accessible or usable outside of ST)

 

 

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

Thank you so much Imen for prompt response.