STMicroelectronics / stm32-external-loader

Provides drivers, examples, loader files and testing routines for external loaders for STM32 series of microcontrollers.
Other
127 stars 71 forks source link

MX25LM51245G_STM32L562E-DK Project not working as expected #10

Open YadavPratik22 opened 2 years ago

YadavPratik22 commented 2 years ago

I have compiled the "MX25LM51245G_STM32L562E-DK" project and generated a .stldr file. If I used generated file and tried to download the sample file using the STM32Cube programer it fails, If I tried with the default stm32 provided .stldr file then it works fine.

Is "MX25LM51245G_STM32L562E-DK" has been tested? Any configuration extra required, before building it?

Note: I am using the 9.10 version of the IAR workbench, during project open it shows "Project is in old formate, would you like to convert it for used this version?"

FBOSTM commented 2 years ago

Hi YadavPratik22, Thank you for your feedback. I built the "MX25LM51245G_STM32L562E-DK" project using IAR workbench 9.10.2. I tested the ".stldr" under STM32Cubeprogrammer version 2.8. It worked fine. Could you send me more info: board revision, connection mode, Cubeprogrammer version boot on system or user flash?

YadavPratik22 commented 2 years ago

Thanks @FBOSTM for quick response, Please find details below: Board: STM32l562E-DK Kit Connection Mode: Normal (Also tried with HOTPlug) CubeProgramer Version : 2.9

After analysis error, If I tried to download 4 KB file it is downloading successfully, but if I only download "Hello World!", It fails. In the Default loader, both binaries are working. Any specific reason or configuration for it?