Skip to main content
MAmem.1
Associate III
Jun 15, 2022 5:00 PM UTC
Question

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

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 ?

This topic has been closed for replies.

2 replies

Tesla DeLorean
Guru
Jun 15, 2022 5:50 PM UTC

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 (See Profile) Up vote any posts that you find helpful, it shows what's working..
MAmem.1
MAmem.1Author
Associate III
Jun 16, 2022 9:17 AM UTC

It is placed in a declared buffer.

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

Thank you