cancel
Showing results for 
Search instead for 
Did you mean: 

Getting error on Write (download) while Read and Erase command work correctly in .stldr file.

MAmem.1
Associate III

Hi,

I'm trying to download a binary file into an external flash using the STM32CubeProgrammer with an .stldr file.

I can Read, Erase, but the download doesn't work.

The tool start by programming the first 0xFF addresses and stops.

the error is Error: failed to download Segment[0].

Can anyone help please ?

2 REPLIES 2

What Pseudo Address space does the data for your SPI FLASH live in?

You should debug your write code within an application.

The loader can output diagnostic/telemetry via a serial port if you need to debug it in operation.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
MAmem.1
Associate III

It is placed in a declared buffer.

I'm going to debut the write code within an application.

Thank you