...sorry for the wrong order of posts
***************************
Hi,
Again: We don´t see your system. Please give usueful informations.
Does your system support any other way (to read/write the Flash) than: STM32 --> via SPI --> Flash?
****
i can read and write into spi flash. First i wanna write a bin file (output of a blinky project) into spi flash as a frimware.
If you already can read/write the flash...Where exactly is the problem then?
Klaus
- - - Updated - - - *****************************************************************
Hi,
Difficult to communicate....
I asked about:
Does your system support any other way (to read/write the Flash) than: STM32 --> via SPI --> Flash?
We don´t know whether your FLASH is removable an can be programmed with an external programmer, or whether your SPI bus has a connetor for another SPI MASTER to read/write the Flash ... or maybe there is any other way to read/write the FLASH.
*****
i can write an array to spi flash but i dont know how to write a file in to that.
Any "file"
is an array of bytes.
So if you can write an array of bytes ... where is the problem to write the binary file?
*****
But I have to assume you did not read deeply through the bootloader application notes.
Thus please tell us what exact bootloader you use.
And give links to the application notes regarding this bootloader.
To explain your problem, please draw a draft. A picture says more than a lot of words.
***
Without clear informations I see no way to go on.
Klaus