Skip to main content
MAmem.1
Associate III
June 15, 2022
Question

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

  • June 15, 2022
  • 2 replies
  • 865 views

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
June 15, 2022

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 VenmoUp vote any posts that you find helpful, it shows what's working..
MAmem.1
MAmem.1Author
Associate III
June 16, 2022

It is placed in a declared buffer.

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

Thank you